diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-03-08 06:02:58 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-03-08 06:02:58 +0100 |
commit | 372182234c5d7b81bb884969e7ed2d690d5efdb9 (patch) | |
tree | 5c5b392e03a21f01120613a0be7a298a73703b5c /net-analyzer | |
parent | sys-apps/dtc: Version bump. (diff) | |
download | gentoo-372182234c5d7b81bb884969e7ed2d690d5efdb9.tar.gz gentoo-372182234c5d7b81bb884969e7ed2d690d5efdb9.tar.bz2 gentoo-372182234c5d7b81bb884969e7ed2d690d5efdb9.zip |
net-analyzer/darkstat: Old.
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/darkstat/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/darkstat/darkstat-3.0.718.ebuild | 66 |
2 files changed, 0 insertions, 67 deletions
diff --git a/net-analyzer/darkstat/Manifest b/net-analyzer/darkstat/Manifest index 55050ea72d0e..a82e1a60ef9d 100644 --- a/net-analyzer/darkstat/Manifest +++ b/net-analyzer/darkstat/Manifest @@ -1,2 +1 @@ -DIST darkstat-3.0.718.tar.bz2 116044 SHA256 682f3e53f4e89ea6ad08236b4225a5e0859428299765d8d995374cd7fa22adff SHA512 73ed670a9c684b2f0b087da3f238c2828407c82201d1bff945a3d711bbaa231b9d87ddc9e21aa855abcd7d63c27f8f529f5a2c6fb48f52a3f0b6e88c49d33969 WHIRLPOOL 9e91c4508dc43ea5c59b10c51b1b345a4bcf31befa532a94ba435b10f8b63a2fd3e2e8775b67a40e48dcf0e91f71c7ccc191a78d337990990761671f8aa4377f DIST darkstat-3.0.719.tar.bz2 117695 SHA256 aeaf909585f7f43dc032a75328fdb62114e58405b06a92a13c0d3653236dedd7 SHA512 264f6c5f862745fbfb5d125aae5a319369f028fd7be96cfb12775147f528a36b7f5a42bcd6434f2d376933292364641f2ec9cd9bdb1fe105f5a905e331181f98 WHIRLPOOL 95fc7c383bd814bbf6ff022d97df839eeaeafffb75b2c9bdb5b833d9bc7abfabaded5a1c5d145f5f1c5a4f45566e442f060a91ee4366a20ac096ad6fb4e09520 diff --git a/net-analyzer/darkstat/darkstat-3.0.718.ebuild b/net-analyzer/darkstat/darkstat-3.0.718.ebuild deleted file mode 100644 index 7da5caa4b23f..000000000000 --- a/net-analyzer/darkstat/darkstat-3.0.718.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit autotools eutils user - -DESCRIPTION="Network traffic analyzer with cute web interface" -HOMEPAGE="http://unix4lyfe.org/darkstat/" -SRC_URI="http://unix4lyfe.org/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" - -DEPEND=" - net-libs/libpcap - sys-libs/zlib -" -RDEPEND=" - ${DEPEND} -" - -DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat} - -DOCS=( AUTHORS ChangeLog README NEWS ) - -src_prepare() { - sed -i -e 's|-flto||g' configure.ac || die - epatch_user - eautoreconf -} - -src_configure() { - econf --disable-debug --with-privdrop-user=darkstat -} - -src_install() { - default - - newinitd "${FILESDIR}"/darkstat-initd darkstat - newconfd "${FILESDIR}"/darkstat-confd darkstat - - sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/conf.d/darkstat || die - sed -i -e "s:__CHROOT__:${DARKSTAT_CHROOT_DIR}:g" "${D}"/etc/init.d/darkstat || die - - 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 "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}\"" -} |