CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
filesystem: added dhcpcd user
[ports/core-arm.git] / linux-pam / Pkgfile
1 # Description: Pluggable Authentication Modules (PAM) for Linux
2 # URL: http://www.linux-pam.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4
5 name=linux-pam
6 version=1.3.1
7 release=1
8 source=(https://github.com/$name/$name/releases/download/v${version}/Linux-PAM-$version.tar.xz \
9 common-account common-auth common-password common-session \
10 other)
11
12 build() {
13 cd Linux-PAM-$version
14 ./configure --prefix=/usr \
15 --libdir=/lib \
16 --disable-nis \
17 --disable-nls \
18 --disable-prelude \
19 --enable-db=no
20 make
21 make DESTDIR=$PKG install
22
23 # unix_chkpwd needs to be setuid root
24 chmod u+s $PKG/sbin/unix_chkpwd
25
26 mkdir -p $PKG/etc/pam.d
27 install -o root -g root -m 0644 \
28 $SRC/{common-*,other} \
29 $PKG/etc/pam.d/
30
31 rm -r $PKG/usr/share/doc
32 }