summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snort/snort-2.0.0.ebuild')
-rw-r--r--net-analyzer/snort/snort-2.0.0.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/snort/snort-2.0.0.ebuild b/net-analyzer/snort/snort-2.0.0.ebuild
index 2c288ad7635a..e876c9d91031 100644
--- a/net-analyzer/snort/snort-2.0.0.ebuild
+++ b/net-analyzer/snort/snort-2.0.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.0.ebuild,v 1.8 2003/12/17 00:31:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.0.ebuild,v 1.9 2004/03/16 01:51:07 mboman Exp $
inherit eutils
@@ -43,7 +43,7 @@ src_unpack() {
epatch ${FILESDIR}/${PV}-libnet-1.0.patch
- sed "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" < etc/snort.conf > etc/snort.conf.distrib
+ sed -i "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" etc/snort.conf
}
src_compile() {
@@ -87,7 +87,7 @@ src_install () {
insinto /etc/snort
doins etc/reference.config etc/classification.config rules/*.rules
- doins etc/snort.conf.distrib
+ newins etc/snort.conf snort.conf.distrib
exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort
insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort