summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-06-01 00:54:37 +0000
committerJeroen Roovers <jer@gentoo.org>2011-06-01 00:54:37 +0000
commit98a2992aa17afbb30ad0f3a4f3303173506e5d20 (patch)
tree3d7a339f59c130565ee5c1941ac657d1f1ad018d /net-analyzer/darkstat
parentAdd missing sys-libs/ncurses dependency. (diff)
downloadhistorical-98a2992aa17afbb30ad0f3a4f3303173506e5d20.tar.gz
historical-98a2992aa17afbb30ad0f3a4f3303173506e5d20.tar.bz2
historical-98a2992aa17afbb30ad0f3a4f3303173506e5d20.zip
Version bump.
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/darkstat')
-rw-r--r--net-analyzer/darkstat/ChangeLog10
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.714_rc2.ebuild (renamed from net-analyzer/darkstat/darkstat-3.0.712.ebuild)26
2 files changed, 20 insertions, 16 deletions
diff --git a/net-analyzer/darkstat/ChangeLog b/net-analyzer/darkstat/ChangeLog
index 7cdf933409eb..d9167e8355f2 100644
--- a/net-analyzer/darkstat/ChangeLog
+++ b/net-analyzer/darkstat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/darkstat
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.43 2010/06/26 16:15:42 nixnut Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/ChangeLog,v 1.44 2011/06/01 00:54:37 jer Exp $
+
+*darkstat-3.0.714_rc2 (01 Jun 2011)
+
+ 01 Jun 2011; Jeroen Roovers <jer@gentoo.org> -darkstat-3.0.712.ebuild,
+ +darkstat-3.0.714_rc2.ebuild:
+ Version bump.
26 Jun 2010; <nixnut@gentoo.org> darkstat-3.0.713.ebuild:
ppc stable #323569
diff --git a/net-analyzer/darkstat/darkstat-3.0.712.ebuild b/net-analyzer/darkstat/darkstat-3.0.714_rc2.ebuild
index 8386961fb524..4b8bb7c1e219 100644
--- a/net-analyzer/darkstat/darkstat-3.0.712.ebuild
+++ b/net-analyzer/darkstat/darkstat-3.0.714_rc2.ebuild
@@ -1,37 +1,36 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.712.ebuild,v 1.4 2009/05/30 18:18:49 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/darkstat/darkstat-3.0.714_rc2.ebuild,v 1.1 2011/06/01 00:54:37 jer Exp $
+EAPI="2"
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"
+SRC_URI="http://dmr.ath.cx/net/${PN}/${P/_/-}.tar.bz2"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
DEPEND="net-libs/libpcap"
+RDEPEND="${DEPEND}"
DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}/${P}-dlt_raw.patch"
-}
+S="${WORKDIR}/${P/_/-}"
-src_compile() {
- econf --with-privdrop-user=darkstat \
- --with-chroot-dir="${DARKSTAT_CHROOT_DIR}"
- emake || die "compilation failed."
+src_configure() {
+ econf \
+ --with-privdrop-user=darkstat \
+ --with-chroot-dir="${DARKSTAT_CHROOT_DIR}"
}
src_install() {
emake DESTDIR="${D}" install || die "installation failed."
- dodoc AUTHORS README THANKS NEWS || die
+ dodoc AUTHORS ChangeLog README NEWS || die
newinitd "${FILESDIR}"/darkstat-init.new darkstat || die
newconfd "${FILESDIR}"/darkstat-confd.new darkstat || die
@@ -52,7 +51,6 @@ pkg_postinst() {
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."