From d3506aaaefade2c3c4e4f1f6ee60e5a3b8f1dfb4 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Wed, 3 Aug 2005 03:42:22 +0000 Subject: install community rules (Portage version: 2.0.51.22-r2) --- net-analyzer/snort/ChangeLog | 5 ++++- net-analyzer/snort/Manifest | 4 ++-- net-analyzer/snort/files/digest-snort-2.4.0 | 1 + net-analyzer/snort/snort-2.4.0.ebuild | 15 +++++++++------ 4 files changed, 16 insertions(+), 9 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog index a28da3b314ab..1b8c6d2b0112 100644 --- a/net-analyzer/snort/ChangeLog +++ b/net-analyzer/snort/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/snort # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.76 2005/08/01 17:52:25 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.77 2005/08/03 03:42:22 vanquirius Exp $ + + 03 Aug 2005; Marcelo Goes snort-2.4.0.ebuild: + Install community rules. 01 Aug 2005; Marcelo Goes snort-2.4.0.ebuild: In Soviet Russia, prelude enables you. Using use_enable instead of use_with diff --git a/net-analyzer/snort/Manifest b/net-analyzer/snort/Manifest index 6367f9e4aa4e..29dda170d51a 100644 --- a/net-analyzer/snort/Manifest +++ b/net-analyzer/snort/Manifest @@ -2,7 +2,7 @@ MD5 d260806298835b9bfcc80b179e5b1eab snort-2.3.3.ebuild 4136 MD5 6729044349818112d48229f571e0df26 snort-2.3.0-r1.ebuild 4432 MD5 87eb5fabe8e71e96dfd07539dd506b7b snort-2.3.3-r1.ebuild 4039 MD5 ce3a775cfe7b086e8634cfbc7378e29e snort-2.3.2.ebuild 4438 -MD5 8ab0818ae412fd44e275fefe81e86a2b snort-2.4.0.ebuild 3873 +MD5 29192f37f833c9c0caf0629e32efacb6 snort-2.4.0.ebuild 4015 MD5 3815088a8d53a294ea0e5069219a5871 ChangeLog 14995 MD5 53edc4328d9adeaf087c65ea94b1594b metadata.xml 246 MD5 04f9ed946469f7954b6bd27f8f1aca39 files/digest-snort-2.3.3-r1 284 @@ -10,6 +10,6 @@ MD5 919058894f4983c35900bc8bb98a96d4 files/snort.rc6 764 MD5 564bfdf90fe29f5924c68885ccfcddb8 files/2.3.0-libnet-1.0.patch 5424 MD5 5d26c971694357c500d666e68622a120 files/digest-snort-2.3.2 287 MD5 24851ef65be2d80a70ba4bebe3e8c0ff files/digest-snort-2.3.3 287 -MD5 19b0308c62da87468000788dcc7f4ee2 files/digest-snort-2.4.0 205 +MD5 aa391777096e34289f4f134153224986 files/digest-snort-2.4.0 271 MD5 446f8d2b3435b8a6be738da978670605 files/snort.confd 423 MD5 a9fc70d50c4512c835aa428f4b198fae files/digest-snort-2.3.0-r1 287 diff --git a/net-analyzer/snort/files/digest-snort-2.4.0 b/net-analyzer/snort/files/digest-snort-2.4.0 index ee0e4b0dcc9a..c74a62a90d57 100644 --- a/net-analyzer/snort/files/digest-snort-2.4.0 +++ b/net-analyzer/snort/files/digest-snort-2.4.0 @@ -1,3 +1,4 @@ MD5 033e21190c5308fe69857908285feed1 snort-2.4.0.tar.gz 2126176 MD5 316f28cf52efeddfd899552f3b26cd8d snort-2.4.0-genpatches.tar.bz2 6475 +MD5 39d8250f47a33aaec4712e29c0dcd1d0 Community-Rules.tar.gz 11678 MD5 2eeef1a7a040d67c3afaf9d749905e47 snortsam-20050110.tar.gz 29395 diff --git a/net-analyzer/snort/snort-2.4.0.ebuild b/net-analyzer/snort/snort-2.4.0.ebuild index b5af064baecc..9cd159da4919 100644 --- a/net-analyzer/snort/snort-2.4.0.ebuild +++ b/net-analyzer/snort/snort-2.4.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.4.0.ebuild,v 1.4 2005/08/01 17:52:25 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.4.0.ebuild,v 1.5 2005/08/03 03:42:22 vanquirius Exp $ inherit eutils gnuconfig flag-o-matic @@ -8,6 +8,7 @@ DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" HOMEPAGE="http://www.snort.org/" SRC_URI="http://www.snort.org/dl/current/${P}.tar.gz mirror://gentoo/snort-2.4.0-genpatches.tar.bz2 + ${HOMEPAGE}/pub-bin/downloads.cgi/Download/comm_rules/Community-Rules.tar.gz snortsam? ( mirror://gentoo/snortsam-20050110.tar.gz )" LICENSE="GPL-2" @@ -115,8 +116,9 @@ src_install() { chown snort:snort ${D}/var/log/snort chmod 0770 ${D}/var/log/snort - # create directory to store rules in - dodir ${D}/etc/snort/rules + # install community rules + mkdir ${D}/etc/snort/rules + mv ${WORKDIR}/rules/* ${D}/etc/snort/rules/ } pkg_postinst() { @@ -134,7 +136,8 @@ pkg_postinst() { einfo "Also, read the following Gentoo forums article:" einfo ' http://forums.gentoo.org/viewtopic.php?t=78718' fi - ewarn "Rules are no longer included with snort." - ewarn "Please add your rules to /etc/snort/rules." - ewarn "For more information, visit ${HOMEPAGE}." + einfo + ewarn "Only a basic set of rules was installed." + ewarn "Please add your other sets of rules to /etc/snort/rules." + ewarn "For more information on rules, visit ${HOMEPAGE}." } -- cgit v1.2.3-65-gdbad