Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openssl: basic dbg package #30691

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions openssl.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: openssl
version: 3.3.2
epoch: 0
epoch: 1
description: "the OpenSSL cryptography suite"
copyright:
- license: Apache-2.0
Expand All @@ -25,7 +25,7 @@ environment:
- perl
environment:
# Using openssf-compiler-options instead
CFLAGS: ""
CFLAGS: "-g -ffile-prefix-map=/home/build=/usr/src/${{package.name}}"
CPPFLAGS: ""
CXXFLAGS: ""
LDFLAGS: ""
Expand All @@ -37,6 +37,13 @@ pipeline:
tag: openssl-${{package.version}}
expected-commit: fb7fab9fa6f4869eaa8fbb97e0d593159f03ffe4

- name: Create dbg sourcecode
runs: |
SRCDIR=$(mktemp -d)
cp -r . $SRCDIR/
smoser marked this conversation as resolved.
Show resolved Hide resolved
mkdir -p ${{targets.destdir}}-dbg/usr/src/
mv $SRCDIR ${{targets.destdir}}-dbg/usr/src/${{package.name}}

- name: Configure and build
runs: |
export CC=${{host.triplet.gnu}}-gcc
Expand Down Expand Up @@ -85,8 +92,6 @@ pipeline:
# This also removes the need to have things coupled with
# openssl-config-fipshardened going forward.

- uses: strip

data:
- name: engines
items:
Expand All @@ -95,6 +100,11 @@ data:
padlock: VIA Padlock engine

subpackages:
- name: "openssl-dbg"
description: "OpenSSL debug symbols"
pipeline:
- uses: split/debug

- name: "openssl-doc"
description: "OpenSSL documentation"
pipeline:
Expand Down
Loading