summaryrefslogtreecommitdiff
path: root/community/cutter/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/cutter/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 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
+}