core/shadow/Pkgfile
Juergen Daubert a457510ee0 shadow: update to 4.4
we have finally a new maintainer for shadow, he is responsible for
upstream and the debian stuff.

The main repo is on github [1] now but I hope that the original
home page for the project at [2] will get updates sometime.
Because there's no proper tarball on github I've repacked it and
we host it on crux.nu for now.

[1] https://github.com/shadow-maint/shadow
[2] https://github.com/shadow-maint/shadow
2016-10-15 07:56:33 +02:00

43 lines
1.3 KiB
Plaintext

# Description: Shadow password file utilities
# URL: https://github.com/shadow-maint/shadow
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: acl
name=shadow
version=4.4
release=1
source=(http://crux.nu/files/distfiles/$name-$version.tar.xz
pwck login.defs)
build() {
cd $name-upstream-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-shared \
--disable-shadowgrp \
--disable-nls \
--without-selinux \
--without-libpam \
--without-audit
make
make DESTDIR=$PKG install
install -d $PKG/etc/cron/daily $PKG/var/log
install -m 644 $SRC/login.defs $PKG/etc
install -m 755 $SRC/pwck $PKG/etc/cron/daily
mv $PKG/bin/{su,groups} $PKG/usr/bin
touch $PKG/var/log/{lastlog,faillog}
rm -r $PKG/usr/bin/gpasswd \
$PKG/usr/share/man/man1/gpasswd.1 \
$PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \
$PKG/usr/sbin/{newusers,pwconv,pwunconv} \
$PKG/usr/share/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \
$PKG/usr/share/man/man8/{newusers.8,pwconv.8,pwunconv.8} \
$PKG/usr/share/man/man5/gshadow.5 \
$PKG/usr/share/man/man3 \
$PKG/etc/{login.access,limits,default}
}