diff options
author | Cédric Krier <cedk@gentoo.org> | 2006-12-16 22:29:51 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2006-12-16 22:29:51 +0000 |
commit | 06acf58b35922db53cf7d712841b1293cd3e7f1b (patch) | |
tree | 250bbb27008c950a6390f01dbba2468393e7af2f /net-analyzer/sec | |
parent | Initial import. Using a snapshot since the 0.1 release is quite old and has (diff) | |
download | historical-06acf58b35922db53cf7d712841b1293cd3e7f1b.tar.gz historical-06acf58b35922db53cf7d712841b1293cd3e7f1b.tar.bz2 historical-06acf58b35922db53cf7d712841b1293cd3e7f1b.zip |
Version bump
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'net-analyzer/sec')
-rw-r--r-- | net-analyzer/sec/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/sec/Manifest | 42 | ||||
-rw-r--r-- | net-analyzer/sec/files/digest-sec-2.3.1 | 2 | ||||
-rw-r--r-- | net-analyzer/sec/files/digest-sec-2.3.2 | 2 | ||||
-rw-r--r-- | net-analyzer/sec/files/digest-sec-2.4.0 | 3 | ||||
-rw-r--r-- | net-analyzer/sec/files/sec.conf.d | 10 | ||||
-rw-r--r-- | net-analyzer/sec/files/sec.init.d | 36 | ||||
-rw-r--r-- | net-analyzer/sec/sec-2.4.0.ebuild | 28 |
8 files changed, 127 insertions, 6 deletions
diff --git a/net-analyzer/sec/ChangeLog b/net-analyzer/sec/ChangeLog index 0e55cb5175ab..17319e8b52a7 100644 --- a/net-analyzer/sec/ChangeLog +++ b/net-analyzer/sec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/sec -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sec/ChangeLog,v 1.7 2005/11/22 22:09:08 vanquirius Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sec/ChangeLog,v 1.8 2006/12/16 22:29:51 cedk Exp $ + +*sec-2.4.0 (16 Dec 2006) + + 16 Dec 2006; Cedric Krier <cedk@gentoo.org> +files/sec.conf.d, + +files/sec.init.d, +sec-2.4.0.ebuild: + Version bump and add init script for bug #137699 *sec-2.3.2 (22 Nov 2005) diff --git a/net-analyzer/sec/Manifest b/net-analyzer/sec/Manifest index 6d130d713bac..14a7615d0891 100644 --- a/net-analyzer/sec/Manifest +++ b/net-analyzer/sec/Manifest @@ -1,6 +1,40 @@ -MD5 294e8f28d644557c04bbdc5268bf757d ChangeLog 981 -MD5 29e4182e97332a4d3d564a7c097fcf8b files/digest-sec-2.3.1 60 -MD5 c9513d742b8f2d1acd69521b6f4c0e9f files/digest-sec-2.3.2 60 -MD5 71ee222dece91aa5705c45172523801e metadata.xml 218 +AUX sec.conf.d 309 RMD160 3955777d0772c88c3cd88a5957bfdd29f1b15b9e SHA1 571281aaf184513f638db2bb4805f39c208765cf SHA256 1eaeb2c7175c1e22b6cfc8b7cfaa7133033c67f9ba24be011ce734f381d5fdb4 +MD5 fab0868c738eefc8124aac1a4a4d1f12 files/sec.conf.d 309 +RMD160 3955777d0772c88c3cd88a5957bfdd29f1b15b9e files/sec.conf.d 309 +SHA256 1eaeb2c7175c1e22b6cfc8b7cfaa7133033c67f9ba24be011ce734f381d5fdb4 files/sec.conf.d 309 +AUX sec.init.d 795 RMD160 bbb851bc67a3f064373d872d7b27b97fda8bc20a SHA1 c8aa0ad59163c63f1eda976e9c27c8d03040b27c SHA256 e24d4768f64462a5b678cc7765d6c05042f06e68459b637b6376d7212ad15025 +MD5 2d6be149bba04ee5e56cf891a80e15b8 files/sec.init.d 795 +RMD160 bbb851bc67a3f064373d872d7b27b97fda8bc20a files/sec.init.d 795 +SHA256 e24d4768f64462a5b678cc7765d6c05042f06e68459b637b6376d7212ad15025 files/sec.init.d 795 +DIST sec-2.3.1.tar.gz 76446 RMD160 4e328d884f66bcefadca5bea6279dbd0003c0cca SHA1 7688a3592ea526cf636cf6e879a17324bc433f8e SHA256 d56970b0b2491f8a38c525d3d2aa2cacb5861efda1e6740fc3ad9ba69b610342 +DIST sec-2.3.2.tar.gz 77692 RMD160 28a4eafbc77c90451c214099a06aade9a268c2b4 SHA1 a45fccab7f6965ec1afbf5ffbb283c98ccc712f5 SHA256 77d4054d5c9cdb63a43128f7949ae892715de64bdeffc09992369dcb83c62e05 +DIST sec-2.4.0.tar.gz 80011 RMD160 c5f599dc4f9bfdae64b4393999fc056050d5b0a7 SHA1 1a05ace21a0796745fafb5755f45e40ce2b5f589 SHA256 f73462d5a003ae82e0e31c68d55898d1d3b039016ecd3707a48d5e07deef2a82 +EBUILD sec-2.3.1.ebuild 647 RMD160 b4cb7148ada671dd0bc562b30d7a450f889f2b84 SHA1 d202b545d2e6b5fc703f7de705455b85cc37c103 SHA256 dea1aa43c2b94b5c701e0e50063bd8dcb2682af4b6dd5ce89c85b6ab5cd003c2 MD5 5bf30a3bd2bfc44271e4c1f35205294e sec-2.3.1.ebuild 647 +RMD160 b4cb7148ada671dd0bc562b30d7a450f889f2b84 sec-2.3.1.ebuild 647 +SHA256 dea1aa43c2b94b5c701e0e50063bd8dcb2682af4b6dd5ce89c85b6ab5cd003c2 sec-2.3.1.ebuild 647 +EBUILD sec-2.3.2.ebuild 651 RMD160 291569cbe80418a6347cb9f100cd8f24afb2c39a SHA1 e25b785bfc615cc0bd3a2893971f69d021b1631f SHA256 8a420ef08750ddb40a9867505736b6d56dd60c907eb1432352d318bb25b56c22 MD5 69c89811cfbca9c3a624237129808b50 sec-2.3.2.ebuild 651 +RMD160 291569cbe80418a6347cb9f100cd8f24afb2c39a sec-2.3.2.ebuild 651 +SHA256 8a420ef08750ddb40a9867505736b6d56dd60c907eb1432352d318bb25b56c22 sec-2.3.2.ebuild 651 +EBUILD sec-2.4.0.ebuild 690 RMD160 cc0dec36af8e1e27d8580b644bf0494124054188 SHA1 d6811d2c7d0b2b2697ab65d80f474d8ef202aade SHA256 4e62948e5737970157e23a164dd0c62537ab14958fe46b630faea18a3b150e12 +MD5 6246e3a01d8667273e85e8c979ad2f41 sec-2.4.0.ebuild 690 +RMD160 cc0dec36af8e1e27d8580b644bf0494124054188 sec-2.4.0.ebuild 690 +SHA256 4e62948e5737970157e23a164dd0c62537ab14958fe46b630faea18a3b150e12 sec-2.4.0.ebuild 690 +MISC ChangeLog 1158 RMD160 12f9fd2bb8913694cfba4d821295db1bf5a9434a SHA1 5505cdd78ddf46bf43d1ceacdf6b1c0b7764b684 SHA256 762ecfc08c12a8eaa1d65eb9bfa55fc80e8da17b3e9d04560441edd798690c78 +MD5 25d06c70f2ce426572f6b1989151c2a4 ChangeLog 1158 +RMD160 12f9fd2bb8913694cfba4d821295db1bf5a9434a ChangeLog 1158 +SHA256 762ecfc08c12a8eaa1d65eb9bfa55fc80e8da17b3e9d04560441edd798690c78 ChangeLog 1158 +MISC metadata.xml 218 RMD160 967e19be7ed0e315ca0b2c4f11e0781906506825 SHA1 95a91cfb404141e0b34125f6a172052ab5cc4002 SHA256 40db92824d7aef437421bc487dcb4a433b929dfa7151f0810836f97111258408 +MD5 71ee222dece91aa5705c45172523801e metadata.xml 218 +RMD160 967e19be7ed0e315ca0b2c4f11e0781906506825 metadata.xml 218 +SHA256 40db92824d7aef437421bc487dcb4a433b929dfa7151f0810836f97111258408 metadata.xml 218 +MD5 1b4636174e24d052d8e5d3a79e9aeb70 files/digest-sec-2.3.1 226 +RMD160 3dbe5dcfa3991168b1124e4466daf1a44fb18b76 files/digest-sec-2.3.1 226 +SHA256 b0c0c1ee62e820dc0dff9a81c2eb366394ed0a3e7b9df287e310e8512d5599fe files/digest-sec-2.3.1 226 +MD5 5d3327b8bf515d5e48177e491ef12f4f files/digest-sec-2.3.2 226 +RMD160 49e50f5582b5a98d3fb0e0556d05893cdaa8acca files/digest-sec-2.3.2 226 +SHA256 22424ea3ea0164124e79aa7921e706d415e6be607b8d3be8497ab5e8c10df89b files/digest-sec-2.3.2 226 +MD5 d293cbc37a9e9bb039b52de6b6e767db files/digest-sec-2.4.0 226 +RMD160 9411950e7e4704d33381d7b03dc36f423b4bc4e5 files/digest-sec-2.4.0 226 +SHA256 0e0d9a5f29bd63a382d6e8e38d7ad02f31ca575047d72a96e2ddc3411d4ed4d7 files/digest-sec-2.4.0 226 diff --git a/net-analyzer/sec/files/digest-sec-2.3.1 b/net-analyzer/sec/files/digest-sec-2.3.1 index ada623e1722b..c265672080be 100644 --- a/net-analyzer/sec/files/digest-sec-2.3.1 +++ b/net-analyzer/sec/files/digest-sec-2.3.1 @@ -1 +1,3 @@ MD5 d0178f775ac0e976ea05924cdb62126a sec-2.3.1.tar.gz 76446 +RMD160 4e328d884f66bcefadca5bea6279dbd0003c0cca sec-2.3.1.tar.gz 76446 +SHA256 d56970b0b2491f8a38c525d3d2aa2cacb5861efda1e6740fc3ad9ba69b610342 sec-2.3.1.tar.gz 76446 diff --git a/net-analyzer/sec/files/digest-sec-2.3.2 b/net-analyzer/sec/files/digest-sec-2.3.2 index f7ee4920a5ef..3f5d1d03f715 100644 --- a/net-analyzer/sec/files/digest-sec-2.3.2 +++ b/net-analyzer/sec/files/digest-sec-2.3.2 @@ -1 +1,3 @@ MD5 f6dba0e1dd3af813a4af88a6ba1a972b sec-2.3.2.tar.gz 77692 +RMD160 28a4eafbc77c90451c214099a06aade9a268c2b4 sec-2.3.2.tar.gz 77692 +SHA256 77d4054d5c9cdb63a43128f7949ae892715de64bdeffc09992369dcb83c62e05 sec-2.3.2.tar.gz 77692 diff --git a/net-analyzer/sec/files/digest-sec-2.4.0 b/net-analyzer/sec/files/digest-sec-2.4.0 new file mode 100644 index 000000000000..f3b08a3677ca --- /dev/null +++ b/net-analyzer/sec/files/digest-sec-2.4.0 @@ -0,0 +1,3 @@ +MD5 3697bdab0664d5392c8e1e66edd3291c sec-2.4.0.tar.gz 80011 +RMD160 c5f599dc4f9bfdae64b4393999fc056050d5b0a7 sec-2.4.0.tar.gz 80011 +SHA256 f73462d5a003ae82e0e31c68d55898d1d3b039016ecd3707a48d5e07deef2a82 sec-2.4.0.tar.gz 80011 diff --git a/net-analyzer/sec/files/sec.conf.d b/net-analyzer/sec/files/sec.conf.d new file mode 100644 index 000000000000..2ac17e7f54f9 --- /dev/null +++ b/net-analyzer/sec/files/sec.conf.d @@ -0,0 +1,10 @@ +#flags to pass to sec (see 'sec --help') +SEC_FLAGS="" + +# Define a debug level (1..6) +DEBUG_LEVEL="4" + +# define where sec reads messages from for translating them +INPUT_FILES="-input=/var/log/messages" +#INPUT_FILES="${INPUT_FILES} -input=/var/log/some.log" +#INPUT_FILES="${INPUT_FILES} -input=/tmp/other.file" diff --git a/net-analyzer/sec/files/sec.init.d b/net-analyzer/sec/files/sec.init.d new file mode 100644 index 000000000000..9f7226981965 --- /dev/null +++ b/net-analyzer/sec/files/sec.init.d @@ -0,0 +1,36 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sec/files/sec.init.d,v 1.1 2006/12/16 22:29:51 cedk Exp $ + +depend() { + use logger +} + +checkconfig() { + if [ ! -e /etc/sec.conf ] ; then + eerror "You need an /etc/sec.conf config file to run sec" + return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Starting sec" + start-stop-daemon --start --quiet --exec /usr/bin/sec.pl \ + -- -pid=/var/run/sec.pid \ + -detach -log=/var/log/sec.log \ + -conf=/etc/sec.conf \ + ${INPUT_FILES} \ + -debug=${DEBUG_LEVEL} \ + ${SEC_FLAGS} > /dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping sec" + start-stop-daemon --stop --quiet --pidfile /var/run/sec.pid + eend $? +} + diff --git a/net-analyzer/sec/sec-2.4.0.ebuild b/net-analyzer/sec/sec-2.4.0.ebuild new file mode 100644 index 000000000000..a54d47261514 --- /dev/null +++ b/net-analyzer/sec/sec-2.4.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sec/sec-2.4.0.ebuild,v 1.1 2006/12/16 22:29:51 cedk Exp $ + +DESCRIPTION="Simple Event Correlator" +HOMEPAGE="http://simple-evcorr.sourceforge.net/" +SRC_URI="mirror://sourceforge/simple-evcorr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=">=dev-lang/perl-5.6.0" + +src_install() { + dobin sec.pl + + dodoc ChangeLog README + docinto contrib + dodoc contrib/{itostream.c,convert.pl,swatch2sec.pl} + + newman sec.pl.man sec.pl.1 + + newinitd "${FILESDIR}"/sec.init.d sec + newconfd "${FILESDIR}"/sec.conf.d sec +} + |