From a1b614260a1572bf4c413587bd96defb09d678e8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 21:36:02 +0100 Subject: Recette de shadow mise à jour. \o/ \o/ \o/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shadow/Pkgfile | 46 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 14 deletions(-) (limited to 'shadow/Pkgfile') diff --git a/shadow/Pkgfile b/shadow/Pkgfile index 635d5d0..28b671a 100644 --- a/shadow/Pkgfile +++ b/shadow/Pkgfile @@ -1,23 +1,41 @@ -description="Shadow password file utilities" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Shadow password file utilities." +packager="CRUX System Team " +maintainer="Lukc " url="http://pkg-shadow.alioth.debian.org/" depends=() name=shadow version=4.1.4.2 release=1 -source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-4.1.4.2.tar.bz2 pwck login.defs) +source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$name-$version.tar.bz2 pwck login.defs) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --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/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} + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir \ + --sysconfdir=$sysconfdir \ + --disable-shared \ + --disable-shadowgrp \ + $(use_enable 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$mandir/man1/gpasswd.1 \ + $PKG/usr/sbin/{chpasswd,grpconv,grpunconv,logoutd} \ + $PKG/usr/sbin/{newusers,pwconv,pwunconv} \ + $PKG$mandir/man8/{chpasswd.8,grpconv.8,grpunconv.8,logoutd.8} \ + $PKG$mandir/man8/{newusers.8,pwconv.8,pwunconv.8} \ + $PKG$mandir/man5/gshadow.5 \ + $PKG$mandir/man3 \ + $PKG/etc/{login.access,limits,default} } -- cgit v1.2.3-54-g00ecf