summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/sec')
-rw-r--r--net-analyzer/sec/Manifest1
-rw-r--r--net-analyzer/sec/files/sec.init.d6
-rw-r--r--net-analyzer/sec/sec-2.7.10.ebuild28
3 files changed, 32 insertions, 3 deletions
diff --git a/net-analyzer/sec/Manifest b/net-analyzer/sec/Manifest
index b0586623aa2e..c6ffec0d42b5 100644
--- a/net-analyzer/sec/Manifest
+++ b/net-analyzer/sec/Manifest
@@ -1,3 +1,4 @@
+DIST sec-2.7.10.tar.gz 129875 SHA256 8c1441db830d3689aa201c1b0a5e46a97a22e8187d3e0d1c2dbd8abbd47c3d21 SHA512 232b7cdc0f3a879bdf5d82eea31bc60d58237b6a416c316e607cbad1eea3fb89f14be751f095a0773c3040b9612b7045c70781f810127ae1799ae89eae0c5de9 WHIRLPOOL 91ab5cdcf5f643b0fb973e5e7ba1e573b55ae5b316412efb99ed6283120a95c618a6b4311aea3b8b25c3f5cfa9c8847c6ebf55dc6eb26ae150257b854647794e
DIST sec-2.7.6.tar.gz 121621 SHA256 3714ce9dc9c769cefc63811703905d62f45868618842d186ad6bdc522cd53ad3 SHA512 9c050b89970663784f5c149d46c6c6ab941590ef4300ca09ea35b347b2eaa3bad12083bd6e619f25d5024a35de69e020c354b507ac49e3faef1013336ea2d5f5 WHIRLPOOL 669519ee90eeefdcbf0052f83738db64c865e280d57ed4ce7a10c87ff79f71d0f2289b17ce3b014c2555937d701c893bd85e57a5450f67d43e1203c9e8220901
DIST sec-2.7.8.tar.gz 127716 SHA256 4771d0c7b45937cce263ca9728cf243f82e44b2ef153da0e1a478c6b1e46537f SHA512 12a00976289886e924d31fc4bd098e35201a00465fea3ff00d4d493f3dda946fd5b09edeaaf8f13c98c9b6c419736529000c1016c126bf70dd6f242fcc163392 WHIRLPOOL 84439e0e3565174d796e44eb1ee700650724d983add3364937621e85ffbc939a8d8756311359d79913a091bf8f5f07c3d9ccb7b2cac0d6ab1a8f783ea2cef911
DIST sec-2.7.9.tar.gz 129728 SHA256 5d539d9a8f5bc81c4cadbc4e40612b2f7287bcf53e2a52296a899f5da94223bd SHA512 30bd6e61682bc2dcac225f07797c3303c97f093a78335d68bcb0a9a045ed59cf55f67782c8f626d312b0f3dda77b3d4b93fc747cd7ce470f6d576b32daaf3be1 WHIRLPOOL 5feebe91cf8567478ea509540d2e8822635285a9a2bb29f6c1bf3bbf469356aae3e32ad698f950c8257a1377d56e8f5db7eeb53e75e95734fe828183bc954540
diff --git a/net-analyzer/sec/files/sec.init.d b/net-analyzer/sec/files/sec.init.d
index d46d8de64da9..307e52c70a78 100644
--- a/net-analyzer/sec/files/sec.init.d
+++ b/net-analyzer/sec/files/sec.init.d
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,8 +18,8 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting sec"
- start-stop-daemon --start --quiet --exec /usr/bin/sec \
- -- -pid=/run/sec.pid \
+ start-stop-daemon --start --quiet --interpreted --exec /usr/bin/sec -- \
+ -pid=/run/sec.pid \
-detach -log=/var/log/sec.log \
-conf=/etc/sec.conf \
${INPUT_FILES} \
diff --git a/net-analyzer/sec/sec-2.7.10.ebuild b/net-analyzer/sec/sec-2.7.10.ebuild
new file mode 100644
index 000000000000..dd9479ccbe63
--- /dev/null
+++ b/net-analyzer/sec/sec-2.7.10.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Simple Event Correlator"
+HOMEPAGE="https://github.com/simple-evcorr/sec"
+SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+
+RDEPEND=">=dev-lang/perl-5.8.0"
+
+src_install() {
+ dobin sec
+
+ dodoc ChangeLog README
+ docinto contrib
+ dodoc contrib/{itostream.c,convert.pl,swatch2sec.pl}
+
+ newman sec.man sec.1
+
+ newinitd "${FILESDIR}"/sec.init.d sec
+ newconfd "${FILESDIR}"/sec.conf.d sec
+}