summaryrefslogtreecommitdiff
path: root/pcr/fwsnort/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/fwsnort/PKGBUILD')
-rw-r--r--pcr/fwsnort/PKGBUILD44
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: