mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
71de422c7e
commit
00ba83e738
1 changed files with 8 additions and 4 deletions
|
@ -15,13 +15,20 @@ build:
|
||||||
gnu.org/gcc: '*'
|
gnu.org/gcc: '*'
|
||||||
gnu.org/make: '*'
|
gnu.org/make: '*'
|
||||||
script:
|
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
|
- ./configure $CONFIGURE_ARGS
|
||||||
- make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" pam_namespace_helper
|
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" pam_namespace_helper
|
||||||
rm *.bak
|
rm *.bak
|
||||||
working-directory: "{{prefix}}/sbin"
|
working-directory: '{{prefix}}/sbin'
|
||||||
env:
|
env:
|
||||||
CONFIGURE_ARGS:
|
CONFIGURE_ARGS:
|
||||||
- --disable-debug
|
- --disable-debug
|
||||||
|
@ -41,9 +48,7 @@ provides:
|
||||||
- sbin/mkhomedir_helper
|
- sbin/mkhomedir_helper
|
||||||
- sbin/pam_namespace_helper
|
- sbin/pam_namespace_helper
|
||||||
- sbin/pam_timestamp_check
|
- sbin/pam_timestamp_check
|
||||||
- sbin/pwhistory_helper
|
|
||||||
- sbin/unix_chkpwd
|
- sbin/unix_chkpwd
|
||||||
- sbin/unix_update
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
|
@ -53,4 +58,3 @@ test:
|
||||||
- pkg-config --modversion pam | grep {{version}}
|
- pkg-config --modversion pam | grep {{version}}
|
||||||
- cc test.c -o test
|
- cc test.c -o test
|
||||||
- ./test
|
- ./test
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue