summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snort/snort-2.1.1.ebuild')
-rw-r--r--net-analyzer/snort/snort-2.1.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-analyzer/snort/snort-2.1.1.ebuild b/net-analyzer/snort/snort-2.1.1.ebuild
index d1436f8de111..fd319bda0ac3 100644
--- a/net-analyzer/snort/snort-2.1.1.ebuild
+++ b/net-analyzer/snort/snort-2.1.1.ebuild
@@ -1,6 +1,6 @@
# 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.1.1.ebuild,v 1.1 2004/03/09 00:55:52 mboman Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.1.1.ebuild,v 1.2 2004/03/16 01:51:07 mboman Exp $
inherit eutils
@@ -53,7 +53,7 @@ src_unpack() {
epatch ${FILESDIR}/snort-drop-calculation.diff
- 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
# Prelude patch currently not compatible with 2.1.0
#use prelude && (
@@ -97,7 +97,7 @@ src_install() {
insinto /etc/snort
doins etc/reference.config etc/classification.config rules/*.rules etc/*.map etc/threshold.conf
#use prelude && doins etc/prelude-classification.config
- 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