diff options
Diffstat (limited to 'net-analyzer/darkstat')
-rw-r--r-- | net-analyzer/darkstat/darkstat-3.0.721-r1.ebuild (renamed from net-analyzer/darkstat/darkstat-3.0.721.ebuild) | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/net-analyzer/darkstat/darkstat-3.0.721.ebuild b/net-analyzer/darkstat/darkstat-3.0.721-r1.ebuild index dcd53be61eb1..3f38088b33e0 100644 --- a/net-analyzer/darkstat/darkstat-3.0.721.ebuild +++ b/net-analyzer/darkstat/darkstat-3.0.721-r1.ebuild @@ -61,20 +61,12 @@ src_install() { } pkg_postinst() { - # Workaround bug #141619 - DARKSTAT_CHROOT_DIR=$( - sed -n 's/^#CHROOT=\(.*\)/\1/p' "${EROOT}"/etc/conf.d/darkstat - ) - - if [[ -n "${DARKSTAT_CHROOT_DIR}" ]] && [[ "${DARKSTAT_CHROOT_DIR}" != "${EROOT:-/}" ]] ; then - chown darkstat:0 "${EROOT}/${DARKSTAT_CHROOT_DIR#/}/" - fi - elog "To start different darkstat instances which will listen on a different" elog "interface, create within the ${EROOT}/etc/init.d directory a 'darkstat.if' symlink to" elog "darkstat script where 'if' is the name of the interface." elog "Also in the ${EROOT}/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: ${EROOT}/${DARKSTAT_CHROOT_DIR#/}" + elog "darkstat's default chroot directory is: ${EROOT}/var/lib/darkstat." + elog "Please chown it to darkstat:0 (or a different directory if you change it)." } |