summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/freenet-9999.ebuild5
-rw-r--r--net-p2p/freenet/metadata.xml2
2 files changed, 5 insertions, 2 deletions
diff --git a/net-p2p/freenet/freenet-9999.ebuild b/net-p2p/freenet/freenet-9999.ebuild
index 93ba4591dd6a..e6c139ad3202 100644
--- a/net-p2p/freenet/freenet-9999.ebuild
+++ b/net-p2p/freenet/freenet-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-9999.ebuild,v 1.8 2010/02/16 17:52:11 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-9999.ebuild,v 1.9 2010/05/05 16:14:38 tommy Exp $
EAPI="1"
DATE=20091027
@@ -79,6 +79,9 @@ pkg_postinst() {
elog
elog "1. Start freenet with /etc/init.d/freenet start."
elog "2. Open localhost:8888 in your browser for the web interface."
+ #workaround for previously existing freenet user
+ [[ $(stat --format="%U" /var/freenet) == "freenet" ]] || chown \
+ freenet:freenet /var/freenet
}
pkg_postrm() {
diff --git a/net-p2p/freenet/metadata.xml b/net-p2p/freenet/metadata.xml
index 7e1dc8cae26c..70a98ca9305e 100644
--- a/net-p2p/freenet/metadata.xml
+++ b/net-p2p/freenet/metadata.xml
@@ -5,7 +5,7 @@
<email>tommy@gentoo.org</email>
<name>Thomas Sachau (Tommy[D])</name>
</maintainer>
- <herd>net-p2p</herd>
+ <herd>no-herd</herd>
<use>
<flag name='freemail'>Add Freemail support</flag>
</use>