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 libpam-pwquality and dependencies #344

Draft
wants to merge 1 commit into
base: ubuntu-24.04
Choose a base branch
from
Draft
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
22 changes: 22 additions & 0 deletions slices/libpam-pwquality.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package: libpam-pwquality

essential:
- libpam-pwquality_copyright

slices:
libs:
essential:
- libc6_libs
- libpam-runtime_pam-defaults
- libpam0g_libs
- libpwquality1_libs
contents:
/usr/lib/*-linux-*/security/pam_pwquality.so:

pam-config:
contents:
/usr/share/pam-configs/pwquality:

copyright:
contents:
/usr/share/doc/libpam-pwquality/copyright:
13 changes: 13 additions & 0 deletions slices/libpwquality-common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package: libpwquality-common

essential:
- libpwquality-common_copyright

slices:
config:
contents:
/etc/security/pwquality.conf:

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

essential:
- libpwquality1_copyright

slices:
libs:
essential:
- libc6_libs
- libcrack2_libs
- libpwquality-common_config
contents:
/usr/lib/*-linux-*/libpwquality.so.1*:

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

execute: |
rootfs="$(install-slices libpam-pwquality_libs)"

# simple test that just ensures slices install and
# that the primary library is valid file

apt install --update -y gcc
arch=$(gcc -dumpmachine)

test -f ${rootfs}/usr/lib/${arch}/security/pam_pwquality.so
Loading