summaryrefslogtreecommitdiff
path: root/community/cutter/PKGBUILD
blob: 5735de8e30dd2091220a5d6c5e2ee4b76816c5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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' 'mips64el')
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
}