summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snort/snort-2.0.5-r1.ebuild')
-rw-r--r--net-analyzer/snort/snort-2.0.5-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/snort/snort-2.0.5-r1.ebuild b/net-analyzer/snort/snort-2.0.5-r1.ebuild
index 3fe805bb7200..cd5a9599fea8 100644
--- a/net-analyzer/snort/snort-2.0.5-r1.ebuild
+++ b/net-analyzer/snort/snort-2.0.5-r1.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.5-r1.ebuild,v 1.1 2003/11/28 08:02:00 mboman Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.5-r1.ebuild,v 1.2 2004/03/16 01:51:07 mboman Exp $
inherit eutils
@@ -44,7 +44,7 @@ src_unpack() {
epatch ${FILESDIR}/${P}-gcc3.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
use prelude && epatch ../${P/.5/.2}-prelude.diff
}
@@ -83,7 +83,7 @@ src_install() {
insinto /etc/snort
doins etc/reference.config etc/classification.config rules/*.rules etc/*.map
- 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