summaryrefslogtreecommitdiffstats
path: root/recipe.d/0105-pam
diff options
context:
space:
mode:
Diffstat (limited to 'recipe.d/0105-pam')
-rw-r--r--recipe.d/0105-pam16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipe.d/0105-pam b/recipe.d/0105-pam
new file mode 100644
index 0000000..479b3c4
--- /dev/null
+++ b/recipe.d/0105-pam
@@ -0,0 +1,16 @@
+# FIXME: this possibly has a problem with pam_faillock.8
+# not sure if configure would re-generate that warning at this point
+mcd $BUILDDIR/pam
+rsync -av $SRC/Linux-PAM-*/ ./
+
+./configure \
+ --libdir=/lib \
+ --includedir=/usr/include/security \
+ --disable-prelude \
+ --disable-selinux \
+ --disable-audit
+make Makefile
+sed 's/= .*\.8.*/=/' modules/pam_faillock/Makefile > modules/pam_faillock/Makefile.stage2
+mv modules/pam_faillock/Makefile.stage2 modules/pam_faillock/Makefile
+make $J
+make $J install