summaryrefslogtreecommitdiff
path: root/pcr/fwsnort/#PKGBUILD#
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 13:36:49 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-05 13:36:49 +0200
commit28d92e376bd364a2dbf6bee8fd11ced653a837d0 (patch)
treea3d7674b72c3afe78a25097dde740c79d8855cbf /pcr/fwsnort/#PKGBUILD#
parent376b74ce491cb0004fc6976d025eb1e11f15d5e5 (diff)
downloadabslibre-28d92e376bd364a2dbf6bee8fd11ced653a837d0.tar.gz
abslibre-28d92e376bd364a2dbf6bee8fd11ced653a837d0.tar.bz2
abslibre-28d92e376bd364a2dbf6bee8fd11ced653a837d0.zip
fwsnort
Diffstat (limited to 'pcr/fwsnort/#PKGBUILD#')
-rw-r--r--pcr/fwsnort/#PKGBUILD#44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/fwsnort/#PKGBUILD# b/pcr/fwsnort/#PKGBUILD#
new file mode 100644
index 000000000..a4b666dfa
--- /dev/null
+++ b/pcr/fwsnort/#PKGBUILD#
@@ -0,0 +1,44 @@
+# Contributor (Arch) : Colin Shea <colin@evaryont.me>
+# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=fwsnort
+pkgver=1.6.4
+pkgrel=1
+pkgdesc="application layer IDS/IPS by translating snort rules into iptables"
+arch=('any')
+url="http://www.cipherdyne.org/fwsnort/"
+license=('GPL')
+# net-tools: sorry, but fwsnort needs ifconfig. Doesn't support iproute yet
+depends=('perl' 'perl-netaddr-ip' 'perl-iptables-parse' 'iptables' 'net-tools')
+makedepends=('wget')
+source=(http://www.cipherdyne.org/$pkgname/download/$pkgname-$pkgver.tar.bz2
+ )
+
+options=(emptydirs)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # fix up the installer for our purposes:
+ # - removes the root check
+ # - includes sbin as another place to check for binares
+ # - fixes various paths for utilities & the man page
+ #patch -p1 -i $srcdir/install_pl.patch
+
+ # -S skips installing the perl modules, which we did with packages
+ # and --install-test-dir sets the INSTALL_ROOT to src/../test/fwsnort-test. An
+ # easy way to collect all the files into 1
+ #./install.pl -S --install-test-dir
+}
+
+#package() {
+ #cp -r $srcdir/fwsnort-$pkgver/test/fwsnort-install/* -t $pkgdir
+ # delete references to $pkgdir from fwsnort; they were made by the installer
+ # as part of installing to the test dir
+ #cp -f $srcdir/fwsnort-$pkgver/fwsnort.conf $pkgdir/etc/fwsnort/fwsnort.conf
+
+ # avoid a 'warning: directory permissions differ on etc/' line from pacman
+ #chmod 755 $pkgdir/etc
+#}
+
+# vim:set ts=2 sw=2 et: