From 6ec2042343bb789c260aff406b50cb4edd94fafb Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Tue, 16 Sep 2008 07:57:28 +0000 Subject: Some cleanups, avoid calling autotols directly, bug #226415, thank Diego Pettenò for report. (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo i686) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net-analyzer/ndsad/ChangeLog | 8 ++++++-- net-analyzer/ndsad/ndsad-1.33.ebuild | 20 ++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/net-analyzer/ndsad/ChangeLog b/net-analyzer/ndsad/ChangeLog index e6464a7e9f69..bb84ec3a3b27 100644 --- a/net-analyzer/ndsad/ChangeLog +++ b/net-analyzer/ndsad/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/ndsad -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndsad/ChangeLog,v 1.7 2007/04/22 06:27:30 pva Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndsad/ChangeLog,v 1.8 2008/09/16 07:57:28 pva Exp $ + + 16 Sep 2008; Peter Volkov ndsad-1.33.ebuild: + Some cleanups, avoid calling autotols directly, bug #226415, thank Diego + Pettenò for report. 22 Apr 2007; ndsad-1.33.ebuild: Use do{conf,init}d, bug #174266. Some quotes cleanup. diff --git a/net-analyzer/ndsad/ndsad-1.33.ebuild b/net-analyzer/ndsad/ndsad-1.33.ebuild index c5c782d4b273..0175a35d7eca 100644 --- a/net-analyzer/ndsad/ndsad-1.33.ebuild +++ b/net-analyzer/ndsad/ndsad-1.33.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.6 2007/04/22 06:27:30 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ndsad/ndsad-1.33.ebuild,v 1.7 2008/09/16 07:57:28 pva Exp $ -WANT_AUTOCONF=2.5 -WANT_AUTOMAKE=1.9 inherit autotools DESCRIPTION="Cisco netflow probe from libpcap, ULOG, tee/divert sources." @@ -32,26 +30,24 @@ src_unpack() { sed -i "s:log /tmp/ndsad.log:log /var/log/ndsad.log:" ndsad.conf || \ die "Can not fix logging path in ndsad.conf... sed failed" - aclocal - eautomake - eautoconf + eautoreconf } src_compile() { - econf --with-ulog=yes || die "configure failed" + econf --with-ulog=yes emake || die "compilation failed" } src_install() { make DESTDIR="${D}" install || die "install failed" - doman ndsad.conf.5 + doman ndsad.conf.5 || die insinto /etc - newins ndsad.conf ndsad.conf + newins ndsad.conf ndsad.conf || die - newinitd "${FILESDIR}"/ndsad.init ndsad - newconfd "${FILESDIR}"/ndsad.conf.d ndsad + newinitd "${FILESDIR}"/ndsad.init ndsad || die + newconfd "${FILESDIR}"/ndsad.conf.d ndsad || die dodoc ChangeLog AUTHORS README } -- cgit v1.2.3-65-gdbad