core/shadow/Pkgfile

44 lines
1.3 KiB
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Shadow password file utilities
# URL: http://pkg-shadow.alioth.debian.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: acl
2006-02-23 16:26:10 +01:00
name=shadow
2012-05-26 10:12:10 +02:00
version=4.1.5.1
release=3
2013-12-22 14:30:29 +01:00
source=(http://crux.nu/~rehabdoll/distfiles/$name-$version.tar.bz2
2012-05-26 10:12:10 +02:00
pwck login.defs)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2006-05-24 12:11:39 +02:00
--mandir=/usr/man \
2006-06-07 16:21:16 +02:00
--sysconfdir=/etc \
2006-05-24 12:11:39 +02:00
--disable-shared \
--disable-shadowgrp \
--disable-nls \
--without-selinux \
--without-libpam \
--without-audit
2006-08-02 12:28:24 +02:00
2006-02-23 16:26:10 +01:00
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
2006-02-23 16:26:10 +01:00
mv $PKG/bin/{su,groups} $PKG/usr/bin
touch $PKG/var/log/{lastlog,faillog}
rm -r $PKG/usr/bin/gpasswd \
$PKG/usr/man/man1/gpasswd.1 \
$PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \
$PKG/usr/sbin/{newusers,pwconv,pwunconv} \
$PKG/usr/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \
$PKG/usr/man/man8/{newusers.8,pwconv.8,pwunconv.8} \
$PKG/usr/man/man5/gshadow.5 \
$PKG/usr/man/man3 \
$PKG/etc/{login.access,limits,default}
2006-02-23 16:26:10 +01:00
}