summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-05-05 16:14:38 +0000
committerThomas Sachau <tommy@gentoo.org>2010-05-05 16:14:38 +0000
commit00d7752b2bec0a871bac30eda3ba3a99dcbe1c1d (patch)
tree368a1496ee5b7fb0a6821969222a3eef85dee323 /net-p2p
parentAdded a patch to compile with gcc-4.5, thanks Xarthisius, bug #318045 (diff)
downloadgentoo-2-00d7752b2bec0a871bac30eda3ba3a99dcbe1c1d.tar.gz
gentoo-2-00d7752b2bec0a871bac30eda3ba3a99dcbe1c1d.tar.bz2
gentoo-2-00d7752b2bec0a871bac30eda3ba3a99dcbe1c1d.zip
Sync pkg_postinst phase of live ebuild with testing version
(Portage version: 2.2_rc67-r6/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p')
-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>