diff options
Diffstat (limited to 'abs/core/procps')
-rw-r--r-- | abs/core/procps/PKGBUILD | 33 | ||||
-rw-r--r-- | abs/core/procps/sysctl.conf | 2 |
2 files changed, 19 insertions, 16 deletions
diff --git a/abs/core/procps/PKGBUILD b/abs/core/procps/PKGBUILD index 84b063c..84c3a19 100644 --- a/abs/core/procps/PKGBUILD +++ b/abs/core/procps/PKGBUILD @@ -1,24 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 39239 2009-05-14 06:04:46Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=procps -pkgver=3.2.7 -pkgrel=13 +pkgver=3.2.8 +pkgrel=1 pkgdesc="Utilities for monitoring your system and processes on your system" -arch=(i686 x86_64) -url="http://procps.sf.net" -license=('LGPL') +arch=('i686' 'x86_64') +url="http://procps.sourceforge.net/" +license=('GPL' 'LGPL') groups=('base') depends=('ncurses') backup=('etc/sysctl.conf') -source=(http://procps.sourceforge.net/procps-$pkgver.tar.gz sysctl.conf) -md5sums=('f490bca772b16472962c7b9f23b1e97d' '03571b4a24037f8ac283f3d8af02423f') +source=(http://procps.sourceforge.net/procps-${pkgver}.tar.gz sysctl.conf) +md5sums=('9532714b6846013ca9898984ba4cd7e0' '9be3a131a7068aae11418e6dd99e2221') +sha1sums=('a0c86790569dec26b5d9037e8868ca907acc9829' '9b9a314010d042b5aa487893c06f361531525e6a') build() { - cd $startdir/src/$pkgname-$pkgver - /bin/sed -i "s:\$(lib64):lib:" Makefile + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i "s:\$(lib64):lib:" Makefile || return 1 make || return 1 - make DESTDIR=$startdir/pkg ldconfig=/bin/true install - install -D -m644 ../sysctl.conf $startdir/pkg/etc/sysctl.conf - install -d $startdir/pkg/usr/include/proc - install -m644 proc/*.h $startdir/pkg/usr/include/proc + make DESTDIR="${pkgdir}" ldconfig=/bin/true install || return 1 + install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/etc/sysctl.conf" || return 1 + install -d "${pkgdir}/usr/include/proc" || return 1 + install -m644 proc/*.h "${pkgdir}/usr/include/proc" || return 1 } diff --git a/abs/core/procps/sysctl.conf b/abs/core/procps/sysctl.conf index 8e725de..e3ebc7b 100644 --- a/abs/core/procps/sysctl.conf +++ b/abs/core/procps/sysctl.conf @@ -5,7 +5,7 @@ # Disable packet forwarding net.ipv4.ip_forward=0 -# Disable the magic-sysrq key +# Disable the magic-sysrq key (console security issues) kernel.sysrq = 0 # Enable TCP SYN Cookie Protection |