diff options
author | 2008-12-31 10:05:32 +0000 | |
---|---|---|
committer | 2008-12-31 10:05:32 +0000 | |
commit | 1fead2d83dc9114f4635ae4c330941e81c838080 (patch) | |
tree | d78206df47128206e3abf41335b40821bcdbaeb8 /net-analyzer | |
parent | Version bump. (diff) | |
download | historical-1fead2d83dc9114f4635ae4c330941e81c838080.tar.gz historical-1fead2d83dc9114f4635ae4c330941e81c838080.tar.bz2 historical-1fead2d83dc9114f4635ae4c330941e81c838080.zip |
Various QA fixes, as requested by Mr_Bones_. Also describe local use-flags (and switch pthreads to just threads), though those local use-flags do need some better descriptions. Hey, at least I do care ...
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/snort/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/snort/Manifest | 16 | ||||
-rw-r--r-- | net-analyzer/snort/metadata.xml | 10 | ||||
-rw-r--r-- | net-analyzer/snort/snort-2.8.3.1.ebuild | 117 |
4 files changed, 77 insertions, 74 deletions
diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog index a29c060da2e1..6b9ada18b15f 100644 --- a/net-analyzer/snort/ChangeLog +++ b/net-analyzer/snort/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/snort # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.135 2008/11/23 15:29:38 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.136 2008/12/31 10:05:32 dertobi123 Exp $ + + 31 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org> metadata.xml, + snort-2.8.3.1.ebuild: + Various QA fixes, as requested by Mr_Bones_. Also describe local use-flags + (and switch pthreads to just threads), though those local use-flags do need + some better descriptions. Hey, at least I do care ... *snort-2.8.3.1 (23 Nov 2008) diff --git a/net-analyzer/snort/Manifest b/net-analyzer/snort/Manifest index 1725f1498d18..f722a65af739 100644 --- a/net-analyzer/snort/Manifest +++ b/net-analyzer/snort/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX snort-2.6.1.1-libnet.patch 8062 RMD160 fb42546b2efce968160afb0a0e0e96c8f0ad1471 SHA1 bcac8005327e016d8ffc1cf4b74aeb80228a2839 SHA256 ff36205cdd4554ff23c845383a82c9fdef6682a399072f3306f6aa3b74378b86 AUX snort-2.6.1.2-libdir.patch 446 RMD160 7508ad071e9cc9746f3c501c2525d82df3fdd9d0 SHA1 04cc4ddbd4570175483a33ce0729eb156473a1a5 SHA256 252743e9e5ddf4867f64cfcf22ca6127d07e6c69285635c0b7025a606a5fedc8 AUX snort-2.6.1.2-react.patch 952 RMD160 f5856ba63d63c20386af53b1e95db3d3ce758843 SHA1 b2c87c82b4c32af573b30fc39441d3f393afd284 SHA256 15cfb26179883a962612cdf54f283fd195199118328586595f001a750ad68ab1 @@ -24,13 +21,6 @@ EBUILD snort-2.4.5.ebuild 4416 RMD160 bacac50a4b25f8058772efca252d6b5e55df383e S EBUILD snort-2.6.1.3-r1.ebuild 5890 RMD160 f81043cc4317907667817315dc425f79f49693fa SHA1 fd019204ead1468ad60d6c93cc58ecca87406ab4 SHA256 5eacf6083fc26e2ae2a1fc2b9238c146f5998851fe47f0ba650dd41e86617913 EBUILD snort-2.6.1.4.ebuild 5984 RMD160 57047f39db0979462684f75775c876b1f3e737d2 SHA1 cc4340770104cd6ffdab42165b27bd149d68103d SHA256 ada6aa994e747869846bf6bf41e8579b0a8bda56b945a1409d0af0d3c3e99eb8 EBUILD snort-2.7.0.1.ebuild 5408 RMD160 e9d46031bc510e0eb052e4d86906d549bd2265b9 SHA1 ef571fd63b0068b8aa86d5ca04360b6b66c1ec01 SHA256 194ec0bb0b17fa4bdd48451f1f7c940bed4454c88450833aa213207dc16a104e -EBUILD snort-2.8.3.1.ebuild 9632 RMD160 7ababc187c321e3ba27cf52b9b4e57ff68ff8c82 SHA1 0188b46c3a754c084e75cca5d658fa19e77f2a4e SHA256 83fa764e1963d1c0c2a6cae6e4fc328ae767ae1635705e4de4536bffe64d362c -MISC ChangeLog 24202 RMD160 de30e4b16a5d0a283989602882dfd5905b68fa26 SHA1 a2f17148ff4dbf938d6f1a814433d82c69c4ddc1 SHA256 a568a31451c9a30f9653d47e4cc736a3f8d950039574959af0002031d4e0537a -MISC metadata.xml 1261 RMD160 12ca0f36e1240c80f2d6d736ffa0fa065e321446 SHA1 947c4ee84c235cdfffc54deb181f827281c8b909 SHA256 f07a876e5b8e0bd12c7b7a8a8c582608ee94566bfd56689d2b6b38559b3492eb ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkpdtQACgkQrV3T0ZYD7E6BlACfStjGynBRcNJXKUDH6DMcWe26 -LvwAn1Il/AG5/TLSfxprWI68zMZHaJqF -=p3tZ ------END PGP SIGNATURE----- +EBUILD snort-2.8.3.1.ebuild 9019 RMD160 6c5b9d1ae2b512e9f389613869d6a3dd93209486 SHA1 b01003beba3965476243971f61da6e2a54c79ae2 SHA256 01cadb657d9a18a92c04f0fa009ea2bde6c7efb635960df6199f301c21ac3211 +MISC ChangeLog 24508 RMD160 ed06bcb0db759544c47d880f77be1960a44d7cda SHA1 d2e5e84d33b5381d15217702ff0055cc9b40a803 SHA256 8b1e1da429955ebf56f8559f482a6bbbee9b048feeb90d0fb5dace1081cf5fda +MISC metadata.xml 1828 RMD160 939d3c643196173d5641e61f8fb12e264fa8c893 SHA1 5b2e23c4e4e83586ae45308a10f472c1c9d61a08 SHA256 e66e252ca16a7c44077b1f60772e55a2e3ae93eb85c6addd1f8997326a6bd16c diff --git a/net-analyzer/snort/metadata.xml b/net-analyzer/snort/metadata.xml index 5a5277a06bb0..d76e098fcf6a 100644 --- a/net-analyzer/snort/metadata.xml +++ b/net-analyzer/snort/metadata.xml @@ -4,16 +4,26 @@ <herd>netmon</herd> <longdescription>Libpcap-based packet sniffer/logger/lightweight IDS</longdescription> <use> +<flag name='aruba'>Enable Aruba support</flag> +<flag name='community-rules'>Include Community rules</flag> +<flag name='decoder-preprocessor-rules'></flag> <flag name='dynamicplugin'>Enable ability to dynamically load preprocessors, detection engine, and rules library</flag> <flag name='flexresp'>Enable new connection tearing (not recommended)</flag> <flag name='flexresp2'>Enable new connection tearing</flag> <flag name='gre'>Enable GRE support</flag> <flag name='inline'>Enable snort-inline for accepting packets from <pkg>net-firewall/iptables</pkg>, via libipq, rather than <pkg>net-libs/libpcap</pkg>.</flag> +<flag name='inline-init-failopen'>Enable inline-init-failopen support</flag> <flag name='linux-smp-stats'>Enable statistics reporting through proc on smp systems</flag> +<flag name='memory-cleanup'>Enable memory-cleanup support</flag> +<flag name='mpls'>Enable support for mpls networks</flag> <flag name='perfprofiling'>Enable preprocessor and rule performance profiling</flag> +<flag name='ppm'>Enable ppm support</flag> <flag name='react'>Enable interception and termination of offending HTTP accesses</flag> +<flag name='ruleperf'>Enable ruleperf support</flag> <flag name='sguil'>Enable sguil (The Analyst Console for Network Security Monitoring) support</flag> <flag name='snortsam'>patches <pkg>net-analyzer/snort</pkg> for use with <pkg>net-analyzer/snortsam</pkg></flag> +<flag name='stream4udp'>Enable stream4udp support</flag> +<flag name='targetbased'>Enable targetbased support</flag> <flag name='timestats'>Enable TimeStats functionality</flag> </use> </pkgmetadata> diff --git a/net-analyzer/snort/snort-2.8.3.1.ebuild b/net-analyzer/snort/snort-2.8.3.1.ebuild index 16ac79b3903d..db3360719c1c 100644 --- a/net-analyzer/snort/snort-2.8.3.1.ebuild +++ b/net-analyzer/snort/snort-2.8.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.8.3.1.ebuild,v 1.1 2008/11/23 15:29:38 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.8.3.1.ebuild,v 1.2 2008/12/31 10:05:32 dertobi123 Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -15,22 +15,21 @@ SRC_URI="http://www.snort.org/dl/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 -sparc ~x86" -IUSE="static debug pthreads prelude stream4udp memory-cleanup decoder-preprocessor-rules ipv6 targetbased dynamicplugin timestats ruleperf ppm perfprofiling linux-smp-stats inline inline-init-failopen flexresp flexresp2 react aruba gre mpls pic postgres mysql odbc selinux community-rules" +IUSE="static debug threads prelude stream4udp memory-cleanup decoder-preprocessor-rules ipv6 targetbased dynamicplugin timestats ruleperf ppm perfprofiling linux-smp-stats inline inline-init-failopen flexresp flexresp2 react aruba gre mpls pic postgres mysql odbc selinux community-rules" #flexresp, react, and inline _ONLY_ work with net-libs/libnet-1.0.2a DEPEND="virtual/libc virtual/libpcap >=sys-devel/libtool-1.4 >=dev-libs/libpcre-6.0 - flexresp2? ( dev-libs/libdnet ) + flexresp2? ( dev-libs/libdnet ) flexresp? ( ~net-libs/libnet-1.0.2a ) react? ( ~net-libs/libnet-1.0.2a ) - postgres? ( || ( dev-db/postgresql dev-db/libpq ) ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) + postgres? ( || ( dev-db/postgresql dev-db/libpq ) ) + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) prelude? ( >=dev-libs/libprelude-0.9.0 ) - inline? ( ~net-libs/libnet-1.0.2a - net-firewall/iptables )" + inline? ( ~net-libs/libnet-1.0.2a net-firewall/iptables )" RDEPEND="${DEPEND} dev-lang/perl @@ -65,30 +64,29 @@ pkg_setup() { epause fi - if use ruleperf && ! use dynamicplugin; then - ewarn + if use ruleperf && ! use dynamicplugin; then ewarn - ewarn "You have enabled 'ruleperf' but not 'dynamicplugin'." - ewarn "'ruleperf' requires 'dynamicplugin' to compile." - ewarn - ewarn "Enabling dynamicplugin..." + ewarn + ewarn "You have enabled 'ruleperf' but not 'dynamicplugin'." + ewarn "'ruleperf' requires 'dynamicplugin' to compile." + ewarn + ewarn "Enabling dynamicplugin..." ewarn ewarn epause - fi + fi - if use inline-init-failopen && ! use inline; then - ewarn + if use inline-init-failopen && ! use inline; then ewarn - ewarn "You have enabled 'inline-init-failopen' but not 'inline'." - ewarn "'inline-init-failopen' is an 'inline' only function." - ewarn - ewarn "Enabling inline mode..." + ewarn + ewarn "You have enabled 'inline-init-failopen' but not 'inline'." + ewarn "'inline-init-failopen' is an 'inline' only function." + ewarn + ewarn "Enabling inline mode..." ewarn ewarn epause - fi - + fi } @@ -110,8 +108,7 @@ src_unpack() { } src_compile() { - - local myconf + local myconf #Both shared and static are enable by defaut so we need to be specific if use static; then @@ -144,57 +141,57 @@ src_compile() { myconf="${myconf} --disable-dynamicplugin" fi - # USE flages 'targetbased' and 'inline-init-failopen' require pthreads - #Only 'pthreads' is set here. 'targetbased' and 'inline-init-failopen' are set below via econf. - if use targetbased || use inline-init-failopen || use pthreads; then - myconf="${myconf} --enable-pthread" - else - myconf="${myconf} --disable-pthread" - fi + # USE flages 'targetbased' and 'inline-init-failopen' require threads + #Only 'threads' is set here. 'targetbased' and 'inline-init-failopen' are set below via econf. + if use targetbased || use inline-init-failopen || use threads; then + myconf="${myconf} --enable-pthread" + else + myconf="${myconf} --disable-pthread" + fi #Only needed if... - if use flexresp || use react || use inline; then + if use flexresp || use react || use inline; then myconf="${myconf} --with-libipq-includes=/usr/include/libipq" fi - #'inline-init-failopen' requires 'inline' - if use inline-init-failopen || use inline; then - myconf="${myconf} --enable-inline" + #'inline-init-failopen' requires 'inline' + if use inline-init-failopen || use inline; then + myconf="${myconf} --enable-inline" else myconf="${myconf} --disable-inline" - fi + fi -#The --enable-<feature> options... 'static' 'dynamicplugin' 'pthreads' 'flexresp' 'flexresp2' 'inline' +#The --enable-<feature> options... 'static' 'dynamicplugin' 'threads' 'flexresp' 'flexresp2' 'inline' # are configured above due to dependancy/conflict issues. #All others are handled the standard ebuild way via econf econf \ --without-oracle \ - $(use_with postgres postgresql) \ - $(use_with mysql) \ - $(use_with odbc) \ - $(use_with pic) \ + $(use_with postgres postgresql) \ + $(use_with mysql) \ + $(use_with odbc) \ + $(use_with pic) \ --disable-ipfw \ --disable-profile \ --disable-ppm-test \ $(use_enable debug) \ - $(use_enable prelude) \ - $(use_enable stream4udp) \ - $(use_enable memory-cleanup) \ - $(use_enable decoder-preprocessor-rules) \ + $(use_enable prelude) \ + $(use_enable stream4udp) \ + $(use_enable memory-cleanup) \ + $(use_enable decoder-preprocessor-rules) \ $(use_enable ipv6) \ $(use_enable targetbased) \ - $(use_enable timestats) \ - $(use_enable ruleperf) \ - $(use_enable ppm) \ - $(use_enable perfprofiling) \ - $(use_enable linux-smp-stats) \ - $(use_enable inline-init-failopen) \ - $(use_enable react) \ - $(use_enable aruba) \ - $(use_enable gre) \ - $(use_enable mpls) \ + $(use_enable timestats) \ + $(use_enable ruleperf) \ + $(use_enable ppm) \ + $(use_enable perfprofiling) \ + $(use_enable linux-smp-stats) \ + $(use_enable inline-init-failopen) \ + $(use_enable react) \ + $(use_enable aruba) \ + $(use_enable gre) \ + $(use_enable mpls) \ ${myconf} || die "econf failed" # limit to single as reported by jforman on irc @@ -227,7 +224,7 @@ src_install() { etc/snort.conf > "${D}"/etc/snort/snort.conf.distrib fi - sed -i -e "s:RULE_PATH ../rules:RULE_PATH /etc/snort/rules:g" \ + sed -i -e "s:RULE_PATH ../rules:RULE_PATH /etc/snort/rules:g" \ "${D}"/etc/snort/snort.conf.distrib sed -i -e "s:PREPROC_RULE_PATH ../preproc_rules:PREPROC_RULE_PATH /etc/snort/preproc_rules:g" \ @@ -283,9 +280,9 @@ pkg_postinst() { elog "The COMMUNITY ruleset has been installed." elog else - elog - elog "The COMMUNITY ruleset has NOT been installed." - elog + elog + elog "The COMMUNITY ruleset has NOT been installed." + elog fi elog "To learn how to manage updates to your rulesets please visit..." elog |