summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-04-28 17:26:19 +0000
committerThomas Sachau <tommy@gentoo.org>2009-04-28 17:26:19 +0000
commiteb6832edabf22813f62f038cfe1f0039e475e58a (patch)
treec997a416b98ce5efe4d6c0fc17375afe51e9e69f /net-mail
parentAdd ~amd64 (diff)
downloadhistorical-eb6832edabf22813f62f038cfe1f0039e475e58a.tar.gz
historical-eb6832edabf22813f62f038cfe1f0039e475e58a.tar.bz2
historical-eb6832edabf22813f62f038cfe1f0039e475e58a.zip
Change the ownership of the pluginsdir to freenet user
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/Freemail/ChangeLog5
-rw-r--r--net-mail/Freemail/Freemail-9999.ebuild6
-rw-r--r--net-mail/Freemail/Manifest16
3 files changed, 23 insertions, 4 deletions
diff --git a/net-mail/Freemail/ChangeLog b/net-mail/Freemail/ChangeLog
index 1a3fa7a9a826..73ec8a98ad93 100644
--- a/net-mail/Freemail/ChangeLog
+++ b/net-mail/Freemail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/Freemail
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/ChangeLog,v 1.2 2009/02/03 18:20:17 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/ChangeLog,v 1.3 2009/04/28 17:26:19 tommy Exp $
+
+ 28 Apr 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> Freemail-9999:
+ Change the ownership of the pluginsdir to freenet user
03 Feb 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
Freemail-9999.ebuild:
diff --git a/net-mail/Freemail/Freemail-9999.ebuild b/net-mail/Freemail/Freemail-9999.ebuild
index 0396ab9411c7..66cbeba3ed16 100644
--- a/net-mail/Freemail/Freemail-9999.ebuild
+++ b/net-mail/Freemail/Freemail-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/Freemail-9999.ebuild,v 1.2 2009/02/03 18:20:17 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/Freemail/Freemail-9999.ebuild,v 1.3 2009/04/28 17:26:19 tommy Exp $
EAPI="2"
@@ -34,6 +34,7 @@ src_prepare() {
src_install() {
java-pkg_dojar lib/Freemail.jar
dodir /var/freenet/plugins
+ fperms freenet:freenet /var/freenet/plugins
dosym ../../../usr/share/Freemail/lib/Freemail.jar /var/freenet/plugins/Freemail.jar
dodoc README || die "installation of documentation failed"
}
@@ -44,6 +45,9 @@ pkg_preinst() {
}
pkg_postinst () {
+ #force chmod for previously existing plugins dir owned by root
+ [[ $(stat --format="%U" /var/freenet/plugins) == "freenet" ]] || chown \
+ freenet:freenet /var/freenet/plugins
elog "To load Freemail, go to the plugin page of freenet and enter at"
elog "Plugin-URL: plugins/Freemail.jar. This should load the Freemail plugin."
elog "Set your email client to IMAP port 3143 and SMTP port 3025 on localhost."
diff --git a/net-mail/Freemail/Manifest b/net-mail/Freemail/Manifest
index 0d40bd12e99d..c9dfdedec73e 100644
--- a/net-mail/Freemail/Manifest
+++ b/net-mail/Freemail/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX build.patch 3340 RMD160 a65f64238057bf7c8cd837d540b3a351927ce225 SHA1 7b0991a7804aa363bd460efbf9e82aad2bdb061d SHA256 5e5741c5c030c4b75690877635014f1a087614d44213e776f5a93d99f2fc98b1
-EBUILD Freemail-9999.ebuild 1498 RMD160 cd6cd170d9ebcfb3073239ff721e220bb6d76660 SHA1 4e67934ab8cc9addfc5eb288636bb36df64a17da SHA256 040c88fa19a09af464a6291a1acfb0b67f31a37cdc5aef3d32b31fc1b80911b4
-MISC ChangeLog 526 RMD160 ec39677b43464cb85fa0bbb140d8c2a6f69ac739 SHA1 ca52b3252e42670ea3e2c5e42106c55b69fecb9a SHA256 f51482ca286627a6a99cd26f05f4242cb72c7e8a3e9b1f5a2a65239d22bcb7d1
+EBUILD Freemail-9999.ebuild 1720 RMD160 98b95eae1455e7fb75d51311629cc66543cba61a SHA1 645dd2fd624531cf2c66259e22bf638f01f262f8 SHA256 b915dc44342adc8b6dcf72b5e127d1e7fbbc68f10b6143a3f0aa0694c38bf69d
+MISC ChangeLog 658 RMD160 54ce4b97b163dcff17c3fbb5781c4a67080d06d7 SHA1 cb8316ec730af081651c555eae6620a60a189a5f SHA256 c464bd41ca544f9b70cdb993cb5eae7888910f7e2ab09596622082abc9563743
MISC metadata.xml 243 RMD160 7be756104e00991666e4eca8aeec67344ecd58b3 SHA1 ac8db07adeb283df0ee6b8dc8f833c491e756199 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iJwEAQECAAYFAkn3PEAACgkQG7kqcTWJkGcQTgP/ZcCA2n40OX0JIk/mXPlSne/y
+azo6ZfKKzUzNMKw5UtojWQRTGCGgvdLW/hdlQd/IhnsxVIiuXxTs4OpeIQ606nEm
+w2dWNTJdtr2728cljHJzZW7NrUzAt173Llh20utqVZsWOm8IuZluVseMjGxd6UGI
+cObYKzbKw4043Z0IfL4=
+=pYea
+-----END PGP SIGNATURE-----