diff --git a/templates/procps-fix-install.diff b/templates/procps-fix-install.diff new file mode 100644 index 00000000000..a3ab1eed790 --- /dev/null +++ b/templates/procps-fix-install.diff @@ -0,0 +1,31 @@ +Do not install kill and uptime, use /lib for all archs. + +--- Makefile.orig 2006-06-24 11:02:25.000000000 +0200 ++++ Makefile 2008-10-24 08:40:57.000000000 +0200 +@@ -39,20 +39,20 @@ usr/proc/bin := $(DESTDIR)/u + man1 := $(DESTDIR)/usr/share/man/man1/ + man5 := $(DESTDIR)/usr/share/man/man5/ + man8 := $(DESTDIR)/usr/share/man/man8/ +-lib := $(DESTDIR)/$(lib64)/ +-usr/lib := $(DESTDIR)/usr/$(lib64)/ ++lib := $(DESTDIR)/lib/ ++usr/lib := $(DESTDIR)/usr/lib/ + usr/include := $(DESTDIR)/usr/include/ + + #SKIP := $(bin)kill $(man1)kill.1 + +-BINFILES := $(usr/bin)uptime $(usr/bin)tload $(usr/bin)free $(usr/bin)w \ ++BINFILES := $(usr/bin)tload $(usr/bin)free $(usr/bin)w \ + $(usr/bin)top $(usr/bin)vmstat $(usr/bin)watch $(usr/bin)skill \ +- $(usr/bin)snice $(bin)kill $(sbin)sysctl $(usr/bin)pmap \ ++ $(usr/bin)snice $(sbin)sysctl $(usr/bin)pmap \ + $(usr/proc/bin)pgrep $(usr/proc/bin)pkill $(usr/bin)slabtop \ + $(usr/proc/bin)pwdx + +-MANFILES := $(man1)uptime.1 $(man1)tload.1 $(man1)free.1 $(man1)w.1 \ +- $(man1)top.1 $(man1)watch.1 $(man1)skill.1 $(man1)kill.1 \ ++MANFILES := $(man1)tload.1 $(man1)free.1 $(man1)w.1 \ ++ $(man1)top.1 $(man1)watch.1 $(man1)skill.1 \ + $(man1)snice.1 $(man1)pgrep.1 $(man1)pkill.1 $(man1)pmap.1 \ + $(man5)sysctl.conf.5 $(man8)vmstat.8 $(man8)sysctl.8 \ + $(man1)slabtop.1 $(man1)pwdx.1 diff --git a/templates/procps.tmpl b/templates/procps.tmpl new file mode 100644 index 00000000000..6817e97cef8 --- /dev/null +++ b/templates/procps.tmpl @@ -0,0 +1,20 @@ +# Template file for 'procps' +pkgname=procps +version=3.2.7 +patch_files="$pkgname-fix-install.diff" +distfiles="http://procps.sourceforge.net/$pkgname-$version@.tar.gz" +build_style=gnu_makefile +make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version" +short_desc="The /proc file system utilities" +maintainer="Juan RP " +checksum=b439e04adab9b1e66e11f59c4331680da48f1722f2123123f7c16dfbed2c38dc +long_desc=" + procps is the package that has a bunch of small useful utilities that give + information about processes using the /proc filesystem. The package includes + the programs ps, top, vmstat, w, kill, free, slabtop, and skill. + + Version 3 includes NPTL thread support, a rewritten top, many bug fixes, + performance improvements, and new features." + +build_depends="ncurses-5.6" +run_depends="glibc-2.8 ncurses-5.6"