summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-06-01 09:49:26 +0000
committerPeter Volkov <pva@gentoo.org>2009-06-01 09:49:26 +0000
commitad231fa262af30ed3b96506de909f1922c19fdcf (patch)
treeb8802b061f5bcecb800dca6a971cbe92c18a75ef /net-analyzer/darkstat
parentRemove old. Renamed pmacctd-init.d.1 into pmacctd-init.d (diff)
downloadgentoo-2-ad231fa262af30ed3b96506de909f1922c19fdcf.tar.gz
gentoo-2-ad231fa262af30ed3b96506de909f1922c19fdcf.tar.bz2
gentoo-2-ad231fa262af30ed3b96506de909f1922c19fdcf.zip
Remove old.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/darkstat')
-rw-r--r--net-analyzer/darkstat/ChangeLog5
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.707-r1.ebuild58
2 files changed, 4 insertions, 59 deletions
diff --git a/net-analyzer/darkstat/ChangeLog b/net-analyzer/darkstat/ChangeLog
index 74143617aa63..8fd657589e19 100644
--- a/net-analyzer/darkstat/ChangeLog
+++ b/net-analyzer/darkstat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/darkstat
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.38 2009/05/30 18:18:49 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.39 2009/06/01 09:49:26 pva Exp $
+
+ 01 Jun 2009; Peter Volkov <pva@gentoo.org> -darkstat-3.0.707-r1.ebuild:
+ Remove old.
30 May 2009; nixnut <nixnut@gentoo.org> darkstat-3.0.712.ebuild:
ppc stable #271111
diff --git a/net-analyzer/darkstat/darkstat-3.0.707-r1.ebuild b/net-analyzer/darkstat/darkstat-3.0.707-r1.ebuild
deleted file mode 100644
index 8b4f541f7ddd..000000000000
--- a/net-analyzer/darkstat/darkstat-3.0.707-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.707-r1.ebuild,v 1.8 2008/09/10 10:41:52 pva Exp $
-
-inherit eutils
-
-DESCRIPTION="darkstat is a network traffic analyzer"
-HOMEPAGE="http://dmr.ath.cx/net/darkstat/"
-SRC_URI="http://dmr.ath.cx/net/darkstat/${P}.tar.bz2"
-
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND="net-libs/libpcap"
-
-DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
-
-src_compile() {
- econf --with-privdrop-user=darkstat \
- --with-chroot-dir="${DARKSTAT_CHROOT_DIR}" || die "./configure failed"
- emake || die "compilation failed."
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "installation failed."
-
- dodoc AUTHORS README THANKS NEWS
-
- newinitd "${FILESDIR}"/darkstat-init.new darkstat
- newconfd "${FILESDIR}"/darkstat-confd.new darkstat
-
- sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/conf.d/darkstat
- sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/init.d/darkstat
-
- keepdir "${DARKSTAT_CHROOT_DIR}"
- chown darkstat:0 "${D}${DARKSTAT_CHROOT_DIR}"
-}
-
-pkg_preinst() {
- enewuser darkstat
-}
-
-pkg_postinst() {
- # Workaround bug #141619
- DARKSTAT_CHROOT_DIR=`sed -n 's/^#CHROOT=\(.*\)/\1/p' "${ROOT}"etc/conf.d/darkstat`
- chown darkstat:0 "${ROOT}${DARKSTAT_CHROOT_DIR}"
-
- elog "WARNING: the darkstat init script has changed"
- elog "To start different darkstat instances which will listen on a different"
- elog "interfaces create in /etc/init.d directory the 'darkstat.if' symlink to"
- elog "darkstat script where 'if' is the name of the interface."
- elog "Also in /etc/conf.d directory copy darkstat to darkstat.if"
- elog "and edit it to change default values."
- elog
- elog "darkstat's default chroot directory is: \"${ROOT}${DARKSTAT_CHROOT_DIR}\""
-}