From fcda95ec15d92d9f1c11d877c6b9aa9d895f395a Mon Sep 17 00:00:00 2001 From: Michael Boman Date: Tue, 16 Mar 2004 01:51:07 +0000 Subject: Changed ebuilds to use 'sed -i ...' instead of 'sed ... < file > file.new' syntax. --- net-analyzer/snort/ChangeLog | 8 +++++++- net-analyzer/snort/snort-2.0.0.ebuild | 8 ++++---- net-analyzer/snort/snort-2.0.1-r1.ebuild | 8 ++++---- net-analyzer/snort/snort-2.0.2.ebuild | 8 ++++---- net-analyzer/snort/snort-2.0.5-r1.ebuild | 8 ++++---- net-analyzer/snort/snort-2.0.5.ebuild | 8 ++++---- net-analyzer/snort/snort-2.1.0.ebuild | 6 +++--- net-analyzer/snort/snort-2.1.1.ebuild | 6 +++--- 8 files changed, 33 insertions(+), 27 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/snort/ChangeLog b/net-analyzer/snort/ChangeLog index 100f549b8679..6da9a690347d 100644 --- a/net-analyzer/snort/ChangeLog +++ b/net-analyzer/snort/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/snort # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.34 2004/03/09 00:55:52 mboman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/ChangeLog,v 1.35 2004/03/16 01:51:07 mboman Exp $ + + 16 Mar 2004; Michael Boman snort-2.0.0.ebuild, + snort-2.0.1-r1.ebuild, snort-2.0.2.ebuild, snort-2.0.5-r1.ebuild, + snort-2.0.5.ebuild, snort-2.1.0.ebuild, snort-2.1.1.ebuild: + Changed ebuilds to use 'sed -i ...' instead of 'sed ... < file > file.new' + syntax. *snort-2.1.1 (09 Mar 2004) 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 diff --git a/net-analyzer/snort/snort-2.0.1-r1.ebuild b/net-analyzer/snort/snort-2.0.1-r1.ebuild index f36b26fe0bb9..3a03dcefee43 100644 --- a/net-analyzer/snort/snort-2.0.1-r1.ebuild +++ b/net-analyzer/snort/snort-2.0.1-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.1-r1.ebuild,v 1.4 2003/11/24 15:40:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.1-r1.ebuild,v 1.5 2004/03/16 01:51:07 mboman Exp $ inherit eutils @@ -45,7 +45,7 @@ src_unpack() { #is this needed in 2.0? -Method #use alpha && epatch ${FILESDIR}/${P}-alpha.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}+prelude.patch } @@ -81,7 +81,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 diff --git a/net-analyzer/snort/snort-2.0.2.ebuild b/net-analyzer/snort/snort-2.0.2.ebuild index 78c5f9a1f2dd..4535f7a95c7a 100644 --- a/net-analyzer/snort/snort-2.0.2.ebuild +++ b/net-analyzer/snort/snort-2.0.2.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.2.ebuild,v 1.5 2003/11/24 15:40:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.2.ebuild,v 1.6 2004/03/16 01:51:07 mboman Exp $ inherit eutils @@ -43,7 +43,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/.2/.1}+prelude.patch } @@ -79,7 +79,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 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 diff --git a/net-analyzer/snort/snort-2.0.5.ebuild b/net-analyzer/snort/snort-2.0.5.ebuild index 0848c410d120..f31ffd3be1ea 100644 --- a/net-analyzer/snort/snort-2.0.5.ebuild +++ b/net-analyzer/snort/snort-2.0.5.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.ebuild,v 1.2 2003/11/24 15:40:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.0.5.ebuild,v 1.3 2004/03/16 01:51:07 mboman Exp $ inherit eutils @@ -43,7 +43,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/.1}+prelude.patch } @@ -79,7 +79,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 diff --git a/net-analyzer/snort/snort-2.1.0.ebuild b/net-analyzer/snort/snort-2.1.0.ebuild index efe7b2ec2799..8a016a4946b5 100644 --- a/net-analyzer/snort/snort-2.1.0.ebuild +++ b/net-analyzer/snort/snort-2.1.0.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.0.ebuild,v 1.2 2004/01/07 08:23:54 mboman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.1.0.ebuild,v 1.3 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 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 -- cgit v1.2.3-65-gdbad