Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/snortsam: ChangeLog snortsam-2.70.ebuild
Date: Sun, 31 Jul 2011 13:02:13
Message-Id: 20110731125646.B6FDE2004B@flycatcher.gentoo.org
1 patrick 11/07/31 12:56:46
2
3 Modified: ChangeLog
4 Added: snortsam-2.70.ebuild
5 Log:
6 Bump for #238812
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.31 net-analyzer/snortsam/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortsam/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortsam/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortsam/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 16 Sep 2008 10:42:34 -0000 1.30
24 +++ ChangeLog 31 Jul 2011 12:56:46 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/snortsam
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.30 2008/09/16 10:42:34 pva Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.31 2011/07/31 12:56:46 patrick Exp $
31 +
32 +*snortsam-2.70 (31 Jul 2011)
33 +
34 + 31 Jul 2011; Patrick Lauer <patrick@g.o> +snortsam-2.70.ebuild:
35 + Bump for #238812
36
37 16 Sep 2008; Peter Volkov <pva@g.o> -snortsam-2.30.ebuild,
38 -snortsam-2.44.ebuild, snortsam-2.50-r1.ebuild:
39
40
41
42 1.1 net-analyzer/snortsam/snortsam-2.70.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild?rev=1.1&content-type=text/plain
46
47 Index: snortsam-2.70.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/snortsam-2.70.ebuild,v 1.1 2011/07/31 12:56:46 patrick Exp $
52
53 EAPI="2"
54
55 inherit eutils toolchain-funcs
56
57 MY_P="${PN}-src-${PV}"
58 DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls"
59 HOMEPAGE="http://www.snortsam.net/"
60 SRC_URI="http://www.snortsam.net/files/snortsam/${MY_P}.tar.gz
61 mirror://gentoo/${PN}-2.50-ciscoacl.diff.bz2"
62
63 LICENSE="as-is"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
66 IUSE=""
67
68 S=${WORKDIR}/${PN}
69
70 src_prepare() {
71 sed -i -e "s:sbin/functions.sh:etc/init.d/functions.sh:" \
72 -e "s: -O2 : ${CFLAGS} :" \
73 -e "s:gcc :$(tc-getCC) :" \
74 -e "s:\( -o ../snortsam\): ${LDFLAGS}\1:" makesnortsam.sh || die "sed failed"
75 find "${S}" -depth -type d -name CVS -exec rm -rf \{\} \;
76 }
77
78 src_compile() {
79 sh makesnortsam.sh || die "makesnortsam.sh failed"
80 }
81
82 src_install() {
83 dobin snortsam || die "dobin failed"
84 find "${S}" -depth -type f -name "*.asc" -exec rm -f {} \;
85 dodoc docs/* conf/*
86 }
87
88 pkg_postinst() {
89 elog
90 elog "To use snortsam with snort, you'll have to compile snort with USE=snortsam."
91 elog "Read the INSTALL file to configure snort for snortsam, and configure"
92 elog "snortsam for your particular firewall."
93 elog
94 }