summaryrefslogtreecommitdiffstats
path: root/recipe.d/0105-pam
blob: dab92c26e9ae2425001e93f9643ed3b9ec3a124e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#requires flex
#requires bison
#requires libtool
#requires db4
#requires perl
#requires gettext
#requires pkgconfig
#requires cracklib

# 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