summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-07-31 12:56:46 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-07-31 12:56:46 +0000
commitd131d274fc5aa2c7b024fe683c56e5b9e90f081f (patch)
tree5139476b385e4909e35772f2231074c8263a6878 /net-analyzer/snortsam
parentBump, remove old (diff)
downloadhistorical-d131d274fc5aa2c7b024fe683c56e5b9e90f081f.tar.gz
historical-d131d274fc5aa2c7b024fe683c56e5b9e90f081f.tar.bz2
historical-d131d274fc5aa2c7b024fe683c56e5b9e90f081f.zip
Bump for #238812
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/snortsam')
-rw-r--r--net-analyzer/snortsam/ChangeLog9
-rw-r--r--net-analyzer/snortsam/Manifest4
-rw-r--r--net-analyzer/snortsam/snortsam-2.70.ebuild46
3 files changed, 56 insertions, 3 deletions
diff --git a/net-analyzer/snortsam/ChangeLog b/net-analyzer/snortsam/ChangeLog
index c744ef298143..d17b4dc3716e 100644
--- a/net-analyzer/snortsam/ChangeLog
+++ b/net-analyzer/snortsam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/snortsam
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.30 2008/09/16 10:42:34 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.31 2011/07/31 12:56:46 patrick Exp $
+
+*snortsam-2.70 (31 Jul 2011)
+
+ 31 Jul 2011; Patrick Lauer <patrick@gentoo.org> +snortsam-2.70.ebuild:
+ Bump for #238812
16 Sep 2008; Peter Volkov <pva@gentoo.org> -snortsam-2.30.ebuild,
-snortsam-2.44.ebuild, snortsam-2.50-r1.ebuild:
diff --git a/net-analyzer/snortsam/Manifest b/net-analyzer/snortsam/Manifest
index da67f4fe0682..3545fbdd6e90 100644
--- a/net-analyzer/snortsam/Manifest
+++ b/net-analyzer/snortsam/Manifest
@@ -1,6 +1,8 @@
AUX snortsam-2.29-no-ugly----lines.diff 1665 RMD160 96e1ed518c462991430c3413f810dd9cc7af9845 SHA1 4f487b38f871497d3ba3230b97d13fc15a01a906 SHA256 9fd58962944045d660b6ca703e520dbccfae9b596e09e2dde0fd2ba838c0f51a
DIST snortsam-2.50-ciscoacl.diff.bz2 7295 RMD160 91d36fecc3fcf14de5ed964928d69ef3cc167bae SHA1 c887162193df59bff2f3fb2fe0ae0aec253314ce SHA256 a4f39789e9f10b95e6db1bbce5f9d26f7393161311f5c955a4b8380186a2cb6b
DIST snortsam-src-2.50.tar.gz 1073391 RMD160 d4cc56f2f5d87254784f4b03b639bce943b8530d SHA1 59dd84b53c7af0c7c487160d2016395883c2a58f SHA256 3c77967f9ef581310de02443512fc7cd3f145249c9be765b1bcf679d408dc441
+DIST snortsam-src-2.70.tar.gz 1971624 RMD160 336b0c701754d0688e2ebc967cfdbb3f9bc2fe32 SHA1 9cc7f9aad927217fbda75de038d0489b8e5f3a9e SHA256 442040a7281a641008f6410b7f6528d709f17d5041fd3752011075f8a38d19bc
EBUILD snortsam-2.50-r1.ebuild 1527 RMD160 063d7af8b76c38cbab1d6869439da52141ca4c8c SHA1 749aa618eebc32cbc67477f6870f25f38dc0a848 SHA256 61348139d0bf53c38c735cc705ceb23dacf3c55cba4bb5ccb2427f55854b5f49
-MISC ChangeLog 3887 RMD160 cbd8ba339321998923e983abfadeb2e6ea32837b SHA1 30705b39f30e6c9bc18e5946fa5918312b7cf5db SHA256 9ec6be187754ae6452698323748bfcb1c19f316c20db74b312eac36696d1546f
+EBUILD snortsam-2.70.ebuild 1365 RMD160 147db85c7249e6f3fe04997e003f52ca7c2d1382 SHA1 6417c3d0ed92f16201bf94c4f159f3b33bdd002b SHA256 3eeaffb2c3354f87166279d45e33f2c63f0f0a5719df7ee259d018966ac30447
+MISC ChangeLog 4014 RMD160 35b85080758f74e449d250bb925fd4cf20212641 SHA1 19642803a3df21266fd0ff444bfd9f1e0471282e SHA256 d12fae5f9a9fc4e119141d921b8dbecbbe9bf35949349d82c36b2c8fbc7baa2d
MISC metadata.xml 275 RMD160 5c13a5b966876b91c33b523878247da0676786be SHA1 ab1cdfc2553ebfb64e7b62bee4f627d58ce8ed0f SHA256 b67561a55b3667bc0e6ca54a4c459227ce10c6720951cf89cdd001753cabb09d
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/net-analyzer/snortsam/snortsam-2.70.ebuild
new file mode 100644
index 000000000000..e49884844df6
--- /dev/null
+++ b/net-analyzer/snortsam/snortsam-2.70.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild,v 1.1 2011/07/31 12:56:46 patrick Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}-src-${PV}"
+DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls"
+HOMEPAGE="http://www.snortsam.net/"
+SRC_URI="http://www.snortsam.net/files/snortsam/${MY_P}.tar.gz
+ mirror://gentoo/${PN}-2.50-ciscoacl.diff.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i -e "s:sbin/functions.sh:etc/init.d/functions.sh:" \
+ -e "s: -O2 : ${CFLAGS} :" \
+ -e "s:gcc :$(tc-getCC) :" \
+ -e "s:\( -o ../snortsam\): ${LDFLAGS}\1:" makesnortsam.sh || die "sed failed"
+ find "${S}" -depth -type d -name CVS -exec rm -rf \{\} \;
+}
+
+src_compile() {
+ sh makesnortsam.sh || die "makesnortsam.sh failed"
+}
+
+src_install() {
+ dobin snortsam || die "dobin failed"
+ find "${S}" -depth -type f -name "*.asc" -exec rm -f {} \;
+ dodoc docs/* conf/*
+}
+
+pkg_postinst() {
+ elog
+ elog "To use snortsam with snort, you'll have to compile snort with USE=snortsam."
+ elog "Read the INSTALL file to configure snort for snortsam, and configure"
+ elog "snortsam for your particular firewall."
+ elog
+}