diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
commit | d0f33415f254cb2fee06fd89f9cfed4535322f37 (patch) | |
tree | 66c13d72eac4f0110772b4675231c891334137bc /pcr/fwsnort/PKGBUILD | |
parent | 7e108c74958ec076a3734822f61f145d0d69547f (diff) |
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/fwsnort/PKGBUILD')
-rw-r--r-- | pcr/fwsnort/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/pcr/fwsnort/PKGBUILD b/pcr/fwsnort/PKGBUILD deleted file mode 100644 index 37a863822..000000000 --- a/pcr/fwsnort/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Colin Shea <colin@evaryont.me> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> - -pkgname=fwsnort -pkgver=1.6.2 -pkgrel=1 -pkgdesc="application layer IDS/IPS by translating snort rules into iptables" -arch=('any') -url="http://www.cipherdyne.org/fwsnort/" -license=('GPL') -depends=('perl' 'perl-net-ipv4addr' 'perl-iptables-parse' 'iptables' 'net-tools') -makedepends=('wget') -source=(http://www.cipherdyne.org/$pkgname/download/$pkgname-$pkgver.tar.bz2 - 'install_pl.patch') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - mkdir -p $pkgdir/var/log/fwsnort \ - $pkgdir/usr/lib/fwsnort \ - $pkgdir/usr/share/man/man8 \ - $pkgdir/usr/sbin \ - $pkgdir/etc/fwsnort/snort_rules \ - $pkgdir/etc/fwsnort/archive \ - $pkgdir/etc/fwsnort/snort_rules_queue - - patch -p0 -i $srcdir/install_pl.patch - sed -e "/mpath.*man8/s|/usr|$pkgdir&|" \ - -e "/^my\\ \\\$sbin/s|/usr|$pkgdir&|" \ - -i install.pl - - cp fwsnort.conf fwsnort.conf.bak - - sed -e "s|/var/log/fwsnort|$pkgdir&|" \ - -e "s|/usr/lib/fwsnort|$pkgdir&|" \ - -e "s|/etc/fwsnort|$pkgdir&|" \ - ./fwsnort.conf -i - # -S skips installing the perl modules, which we did with packages - echo y | ./install.pl -S - mv -f fwsnort.conf.bak $pkgdir/etc/fwsnort/fwsnort.conf - chmod 755 $pkgdir/usr/sbin/fwsnort -} - -# vim:set ts=2 sw=2 et: |