summaryrefslogtreecommitdiffstats
path: root/abs/core/procps
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/procps')
-rw-r--r--abs/core/procps/PKGBUILD24
-rw-r--r--abs/core/procps/sysctl.conf13
2 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/procps/PKGBUILD b/abs/core/procps/PKGBUILD
new file mode 100644
index 0000000..84b063c
--- /dev/null
+++ b/abs/core/procps/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=procps
+pkgver=3.2.7
+pkgrel=13
+pkgdesc="Utilities for monitoring your system and processes on your system"
+arch=(i686 x86_64)
+url="http://procps.sf.net"
+license=('LGPL')
+groups=('base')
+depends=('ncurses')
+backup=('etc/sysctl.conf')
+source=(http://procps.sourceforge.net/procps-$pkgver.tar.gz sysctl.conf)
+md5sums=('f490bca772b16472962c7b9f23b1e97d' '03571b4a24037f8ac283f3d8af02423f')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ /bin/sed -i "s:\$(lib64):lib:" Makefile
+ 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
+}
diff --git a/abs/core/procps/sysctl.conf b/abs/core/procps/sysctl.conf
new file mode 100644
index 0000000..8e725de
--- /dev/null
+++ b/abs/core/procps/sysctl.conf
@@ -0,0 +1,13 @@
+#
+# Kernel sysctl configuration
+#
+
+# Disable packet forwarding
+net.ipv4.ip_forward=0
+
+# Disable the magic-sysrq key
+kernel.sysrq = 0
+
+# Enable TCP SYN Cookie Protection
+net.ipv4.tcp_syncookies = 1
+