X-Git-Url: http://gitweb/?a=blobdiff_plain;f=sysvinit%2FPkgfile;h=297ca22ed4baaf67254d2a2335fd05c85c5a9e0a;hb=f35ca2ebecd6d5d8a2a5774f6c0e667a5ddffcfe;hp=4f6cca54fc73d3a7f06471dfb8528767bcdc9acf;hpb=cd4c02434f736fd2a42d5e988c2be314432a263d;p=crossrootfs.git diff --git a/sysvinit/Pkgfile b/sysvinit/Pkgfile index 4f6cca5..297ca22 100644 --- a/sysvinit/Pkgfile +++ b/sysvinit/Pkgfile @@ -5,20 +5,26 @@ # Depends on: name=sysvinit -version=2.88 +version=2.89 release=1 -source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2) +source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2) build() { - cd $name-${version}dsf - make -C src CC="$CC" - make -C src ROOT=$PKG MANDIR=/usr/man install - # Provided by util-linux - rm $PKG/{bin/mountpoint,usr/bin/utmpdump} - rm $PKG/usr/man/man1/{mountpoint,utmpdump}.1 + cd $name-$version + make CC="$CC" + make ROOT=$PKG install + + # Provided by util-linux + rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall} + rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1 + rmdir $PKG/usr/bin + + # Provided by procps + rm $PKG/bin/pidof + rm $PKG/usr/share/man/man8/pidof.8 install -d $PKG/var/log touch $PKG/var/log/wtmp touch $PKG/var/log/btmp - chmod 0600 $PKG/var/log/btmp + chmod 0600 $PKG/var/log/btmp }