1 # Description: Shadow password file utilities
2 # URL: http://pkg-shadow.alioth.debian.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://pkg-shadow.alioth.debian.org/releases/$name-$version.tar.bz2 \
16 echo "ac_cv_func_setpgrp_void=yes" >> config.cache
18 ./configure --build=$CHOST \
29 --cache-file=config.cache
32 make DESTDIR=$PKG install
34 install -d $PKG/etc/cron/daily $PKG/var/log
35 install -m 644 $SRC/login.defs $PKG/etc
36 install -m 755 $SRC/pwck $PKG/etc/cron/daily
37 mv $PKG/bin/{su,groups} $PKG/usr/bin
38 touch $PKG/var/log/{lastlog,faillog}
40 rm -r $PKG/usr/bin/gpasswd \
41 $PKG/usr/man/man1/gpasswd.1 \
42 $PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \
43 $PKG/usr/sbin/{newusers,pwconv,pwunconv} \
44 $PKG/usr/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \
45 $PKG/usr/man/man8/{newusers.8,pwconv.8,pwunconv.8} \
46 $PKG/usr/man/man5/gshadow.5 \
48 $PKG/etc/{login.access,limits,default}