core/shadow/Pkgfile

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Shadow password file utilities
# URL: http://shadow.pld.org.pl/
# Packager: CRUX System Team, core-ports at crux dot nu
# Maintainer: Johannes Winkelmann, jw at crux dot nu
2006-02-23 16:26:10 +01:00
name=shadow
2006-08-03 15:00:38 +02:00
version=4.0.18.1
2006-09-08 17:15:18 +02:00
release=4
source=(ftp://ftp.pld.org.pl/software/shadow/$name-$version.tar.bz2
pwck login.defs
2006-09-08 17:15:18 +02:00
shadow-4.0.16-fix-useradd-usergroups.patch
2006-08-04 09:44:42 +02:00
shadow-4.0.18.1-useradd-usermod.diff)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2006-09-08 17:15:18 +02:00
patch -p0 < $SRC/shadow-4.0.16-fix-useradd-usergroups.patch
2006-08-04 09:44:42 +02:00
patch -p1 < $SRC/shadow-4.0.18.1-useradd-usermod.diff
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
2006-08-02 12:28:24 +02:00
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/cron/daily $PKG/var/log
install -m 644 ../login.defs $PKG/etc
install -m 755 ../pwck $PKG/etc/cron/daily
mv $PKG/bin/{su,groups} $PKG/usr/bin
touch $PKG/var/log/lastlog
rm -rf $PKG/usr/bin/gpasswd \
$PKG/usr/man/man1/gpasswd.1 \
$PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \
$PKG/usr/sbin/{mkpasswd,newusers,pwconv,pwunconv} \
$PKG/usr/man/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \
$PKG/usr/man/man8/{mkpasswd.8,newusers.8,pwconv.8,pwunconv.8} \
2006-02-23 19:15:03 +01:00
$PKG/usr/man/{man3,cs,de,es,fi,tr,fr,hu,id,it,ja,ko,pl,pt_BR,ru,zh_CN,zh_TW} \
2006-06-07 16:21:16 +02:00
$PKG/lib \
$PKG/etc/{login.access,limits,default}
2006-08-02 12:28:24 +02:00
2006-02-23 16:26:10 +01:00
}