summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-04-22 06:27:30 +0000
committerPeter Volkov <pva@gentoo.org>2007-04-22 06:27:30 +0000
commitddba130a9869c74d2c561b40da1faf9b353e3c02 (patch)
tree7aee7d5a0c2db4bbf973417844617bcd27da9c21 /net-analyzer/ndsad/ndsad-1.33.ebuild
parent64bit library paths in default config files which is now the right location (diff)
downloadhistorical-ddba130a9869c74d2c561b40da1faf9b353e3c02.tar.gz
historical-ddba130a9869c74d2c561b40da1faf9b353e3c02.tar.bz2
historical-ddba130a9869c74d2c561b40da1faf9b353e3c02.zip
Use do{conf,init}d, bug #174266. Some quotes cleanup.
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'net-analyzer/ndsad/ndsad-1.33.ebuild')
-rw-r--r--net-analyzer/ndsad/ndsad-1.33.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/net-analyzer/ndsad/ndsad-1.33.ebuild b/net-analyzer/ndsad/ndsad-1.33.ebuild
index c2548500e10f..c5c782d4b273 100644
--- a/net-analyzer/ndsad/ndsad-1.33.ebuild
+++ b/net-analyzer/ndsad/ndsad-1.33.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndsad/ndsad-1.33.ebuild,v 1.5 2006/10/29 17:02:11 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndsad/ndsad-1.33.ebuild,v 1.6 2007/04/22 06:27:30 pva Exp $
WANT_AUTOCONF=2.5
WANT_AUTOMAKE=1.9
@@ -19,7 +19,7 @@ DEPEND=">=net-libs/libpcap-0.8"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Put ndsad binary in sbin.
sed -i "s/bin_PROGRAMS = ndsad/sbin_PROGRAMS = ndsad/" Makefile.am || \
@@ -50,11 +50,8 @@ src_install() {
insinto /etc
newins ndsad.conf ndsad.conf
- exeinto /etc/init.d
- newexe ${FILESDIR}/ndsad.init ndsad
-
- insinto /etc/conf.d
- newins ${FILESDIR}/ndsad.conf.d ndsad
+ newinitd "${FILESDIR}"/ndsad.init ndsad
+ newconfd "${FILESDIR}"/ndsad.conf.d ndsad
dodoc ChangeLog AUTHORS README
}