summaryrefslogtreecommitdiffstats
path: root/shadow/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /shadow/Pkgfile
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'shadow/Pkgfile')
-rw-r--r--shadow/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/shadow/Pkgfile b/shadow/Pkgfile
new file mode 100644
index 0000000..635d5d0
--- /dev/null
+++ b/shadow/Pkgfile
@@ -0,0 +1,23 @@
+description="Shadow password file utilities"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+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)
+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}
+}