summaryrefslogtreecommitdiff
path: root/community/cutter/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/cutter/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/cutter/PKGBUILD')
-rw-r--r--community/cutter/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/cutter/PKGBUILD b/community/cutter/PKGBUILD
new file mode 100644
index 000000000..80c13857f
--- /dev/null
+++ b/community/cutter/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 71088 2012-05-23 18:06:28Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=cutter
+pkgver=1.03
+pkgrel=5
+pkgdesc="TCP/IP Connection cutting on Linux Firewalls and Routers"
+arch=('i686' 'x86_64')
+url="http://www.lowth.com/cutter/"
+license=('GPL')
+depends=(glibc)
+source=(http://www.lowth.com/cutter/software/cutter-$pkgver.tgz)
+md5sums=('50093db9b64277643969ee75b83ebbd1')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|/proc/net/ip_conntrack|/proc/net/nf_conntrack|g' cutter.c
+ make
+ install -D -m 0755 ./cutter $pkgdir/usr/bin/tcp-cutter
+}