Skip to content

Commit

Permalink
fix(pam)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Jan 17, 2024
1 parent 71de422 commit 00ba83e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions projects/linux-pam.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@ build:
gnu.org/gcc: '*'
gnu.org/make: '*'
script:
# 1.6.0 is missing an include
- run: |
sed -i -e '/argv_parse\.h/a\
#include <stdint.h>\
' pam_namespace.c
working-directory: modules/pam_namespace
if: =1.6.0
- ./configure $CONFIGURE_ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
- run: |
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" pam_namespace_helper
rm *.bak
working-directory: "{{prefix}}/sbin"
working-directory: '{{prefix}}/sbin'
env:
CONFIGURE_ARGS:
- --disable-debug
Expand All @@ -41,9 +48,7 @@ provides:
- sbin/mkhomedir_helper
- sbin/pam_namespace_helper
- sbin/pam_timestamp_check
- sbin/pwhistory_helper
- sbin/unix_chkpwd
- sbin/unix_update
test:
dependencies:
freedesktop.org/pkg-config: '*'
Expand All @@ -53,4 +58,3 @@ test:
- pkg-config --modversion pam | grep {{version}}
- cc test.c -o test
- ./test

0 comments on commit 00ba83e

Please sign in to comment.