summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/procps
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/procps
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/procps')
-rw-r--r--abs/core-testing/procps/PKGBUILD24
-rw-r--r--abs/core-testing/procps/sysctl.conf13
2 files changed, 37 insertions, 0 deletions
diff --git a/abs/core-testing/procps/PKGBUILD b/abs/core-testing/procps/PKGBUILD
new file mode 100644
index 0000000..84b063c
--- /dev/null
+++ b/abs/core-testing/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-testing/procps/sysctl.conf b/abs/core-testing/procps/sysctl.conf
new file mode 100644
index 0000000..8e725de
--- /dev/null
+++ b/abs/core-testing/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
+