summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-15 21:57:55 +0000
committerSam James <sam@gentoo.org>2021-03-15 22:01:25 +0000
commit77ac9273f6ba60cf38df347977ddd61a61149d1e (patch)
tree24012bd09914a74036d9a988a2d993f6cb2802b6 /net-analyzer/darkstat
parentnet-analyzer/cutter: drop 1.03-r1 (diff)
downloadgentoo-77ac9273f6ba60cf38df347977ddd61a61149d1e.tar.gz
gentoo-77ac9273f6ba60cf38df347977ddd61a61149d1e.tar.bz2
gentoo-77ac9273f6ba60cf38df347977ddd61a61149d1e.zip
net-analyzer/darkstat: drop 3.0.719-r2
Bug: https://bugs.gentoo.org/776520 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/darkstat')
-rw-r--r--net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild67
1 files changed, 0 insertions, 67 deletions
diff --git a/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild b/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild
deleted file mode 100644
index 041df6e159de..000000000000
--- a/net-analyzer/darkstat/darkstat-3.0.719-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Network traffic analyzer with cute web interface"
-HOMEPAGE="https://unix4lyfe.org/darkstat/"
-SRC_URI="https://unix4lyfe.org/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-
-DEPEND="
- acct-user/darkstat
- dev-libs/libbsd
- net-libs/libpcap
- sys-libs/zlib
-"
-RDEPEND="
- ${DEPEND}
-"
-
-DARKSTAT_CHROOT_DIR=${DARKSTAT_CHROOT_DIR:-/var/lib/darkstat}
-
-DOCS=( AUTHORS ChangeLog README NEWS )
-
-src_prepare() {
- default
-
- sed -i -e 's|-flto||g' configure.ac || die
-
- 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_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}\""
-}