summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/fwanalog/fwanalog-0.6.4.ebuild')
-rw-r--r--net-firewall/fwanalog/fwanalog-0.6.4.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-firewall/fwanalog/fwanalog-0.6.4.ebuild b/net-firewall/fwanalog/fwanalog-0.6.4.ebuild
new file mode 100644
index 000000000000..8434ec8babe4
--- /dev/null
+++ b/net-firewall/fwanalog/fwanalog-0.6.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Script to parse firewall logs and analyze them with Analog"
+HOMEPAGE="http://tud.at/programm/fwanalog/"
+SRC_URI="http://tud.at/programm/fwanalog/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86 ppc sparc"
+IUSE=""
+
+DEPEND="" # this is just a bash script
+RDEPEND="app-shells/bash
+ sys-apps/grep
+ virtual/awk
+ sys-apps/sed
+ app-arch/gzip
+ sys-apps/diffutils
+ dev-lang/perl
+ >=app-admin/analog-5.31"
+
+src_install() {
+ insinto /etc/fwanalog
+
+ insopts -m0700 ; doins fwanalog.sh
+
+ insopts -m0600
+ doins fwanalog-dom.tab fwanalog.lng services.conf
+ doins fwanalog.analog.conf fwanalog.analog.conf.local
+ newins fwanalog.opts.linux24 fwanalog.opts
+
+ dosed "s/\"zegrep\"/\"egrep\"/" /etc/fwanalog/fwanalog.opts
+
+ dodoc CONTRIBUTORS ChangeLog README
+ docinto support ; dodoc support/*
+ docinto langfiles ; dodoc langfiles/*
+}