X-Git-Url: http://gitweb/?a=blobdiff_plain;f=procps%2FPkgfile;h=16088ff053dacd071a3095e4850a62d96e9f3e98;hb=1dda3c1bca1d343f0447dfb4f60c6a96f1a7f787;hp=d5ae606297f93aa80ce14939b5c92ca541e97521;hpb=640cf0c2c946e78a2a0e2e05f9f379631b6f80ee;p=crossrootfs.git

diff --git a/procps/Pkgfile b/procps/Pkgfile
index d5ae606..16088ff 100644
--- a/procps/Pkgfile
+++ b/procps/Pkgfile
@@ -1,18 +1,22 @@
 # Description: The /proc file system utilities
 # URL: http://procps.sourceforge.net/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: ncurses
 
 name=procps
 version=3.2.8
-release=1
+release=3
 source=(http://procps.sourceforge.net/$name-$version.tar.gz \
-	sysctl.conf)
+  sysctl.conf \
+  $name-$version.patch \
+  $name-$version-linux-ver-init.patch)
 
 build() {
   cd $name-$version
-  
+  patch -p1 -i $SRC/$name-$version.patch
+  patch -p0 -i $SRC/$name-$version-linux-ver-init.patch
+
   make
   make DESTDIR=$PKG \
        ldconfig=true \
@@ -20,10 +24,6 @@ build() {
        man5=$PKG/usr/man/man5/ \
        man8=$PKG/usr/man/man8/ \
        install
-  install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
 
-  rm -f $PKG/bin/kill $PKG/usr/man/man1/kill.1
-  ln -sf pgrep $PKG/usr/bin/pkill
-  ln -sf skill $PKG/usr/bin/snice
-  chmod +w -R $PKG
+  install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
 }