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

feat(24.04): add gnutls-bin and dependencies #333

Open
wants to merge 3 commits into
base: ubuntu-24.04
Choose a base branch
from
Open
Show file tree
Hide file tree
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
25 changes: 25 additions & 0 deletions slices/gnutls-bin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package: gnutls-bin

essential:
- gnutls-bin_copyright

slices:
bins:
essential:
- libc6_libs
- libgnutls-dane0t64_libs
- libgnutls30t64_libs
- libtasn1-6_libs
contents:
/usr/bin/certtool:
/usr/bin/danetool:
/usr/bin/gnutls-cli:
/usr/bin/gnutls-cli-debug:
/usr/bin/gnutls-serv:
/usr/bin/ocsptool:
/usr/bin/p11tool:
/usr/bin/psktool:
Comment on lines +14 to +21
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're only testing a couple of these, but could you please test them all? We need to guarantee that they are minimally functional


copyright:
contents:
/usr/share/doc/gnutls-bin/copyright:
15 changes: 15 additions & 0 deletions slices/libevent-2.1-7t64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package: libevent-2.1-7t64

essential:
- libevent-2.1-7t64_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libevent-2.1.so.7*:

copyright:
contents:
/usr/share/doc/libevent-2.1-7t64/copyright:
17 changes: 17 additions & 0 deletions slices/libgnutls-dane0t64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package: libgnutls-dane0t64

essential:
- libgnutls-dane0t64_copyright

slices:
libs:
essential:
- libc6_libs
- libgnutls30t64_libs
- libunbound8_libs
contents:
/usr/lib/*-linux-*/libgnutls-dane.so.0*:

copyright:
contents:
/usr/share/doc/libgnutls-dane0t64/copyright:
17 changes: 17 additions & 0 deletions slices/libunbound8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package: libunbound8

essential:
- libunbound8_copyright

slices:
libs:
essential:
- libc6_libs
- libevent-2.1-7t64_libs
- libssl3t64_libs
contents:
/usr/lib/*-linux-*/libunbound.so.8*:

copyright:
contents:
/usr/share/doc/libunbound8/copyright:
15 changes: 15 additions & 0 deletions tests/spread/integration/gnutls-bin/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
summary: Integration tests for gnutls-bin

systems:
- -ubuntu-24.04-ppc64le
- -ubuntu-24.04-s390x
Comment on lines +3 to +5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: a comment would be nice here why you would want to skip these systems.


execute: |
rootfs="$(install-slices gnutls-bin_bins)"

# smoke-test the certificate tools
chroot "${rootfs}" /usr/bin/certtool --generate-privkey --outfile key.pem --rsa
chroot "${rootfs}" /usr/bin/certtool --get-dh-params --outfile dh.pem --sec-param medium

# smoke-test psk
chroot "${rootfs}" /usr/bin/psktool -u psk_identity -p keys.psk
Loading