summaryrefslogtreecommitdiffstats
path: root/recipe.d/0105-pam
blob: 34e0dab066f041a12661379b3a90a1852a3a7e02 (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
26
#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${SUFFIX} \
	--includedir=/usr/include/security \
	--disable-prelude \
	--disable-selinux \
	--disable-audit \
	--disable-nis
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