summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/ChangeLog8
-rw-r--r--net-p2p/freenet/Manifest14
-rw-r--r--net-p2p/freenet/freenet-0.7_p1223.ebuild94
3 files changed, 109 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 9ad7186823e2..f6d70ca76d62 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/freenet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.62 2009/06/12 19:24:38 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.63 2009/07/08 20:22:21 tommy Exp $
+
+*freenet-0.7_p1223 (08 Jul 2009)
+
+ 08 Jul 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +freenet-0.7_p1223.ebuild:
+ Version bump
*freenet-0.7_p1222 (12 Jun 2009)
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index 271ffd768ea0..7b7028193525 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -8,16 +8,18 @@ AUX run.sh-20090501 16218 RMD160 4805178fcff6e4414515c11709d8339c333f2fd0 SHA1 9
AUX wrapper1.conf 2367 RMD160 9bd2b0337e63b671c7bc4f03ad32b377953ec412 SHA1 1736bfee8a762c8083900e4c9eb7e0b0a3ece961 SHA256 eef1d68b0361444f50573dc2056793bb10aed7b218309cadb25007e8254745f2
DIST seednodes-20090413.fref 22342 RMD160 e9342614255f0e15c37eb830631ef4e62cf672e1 SHA1 2c966b82b42a72ecfbef717f9f5c30b6e5f2e52b SHA256 adfcda384f3b239a763d7a0bc4bd0cb7623febb534798d5f384ebd11efad7a92
DIST seednodes-20090612.fref 30293 RMD160 a4c870b08392a8d805be103be33e13746f749830 SHA1 d2896fdc768caa5bd372520f88936d9ddf137273 SHA256 38b6a5cbbcd7087dd6ad6855fec5ac184c4e3c8d5455064909bece95518413bb
+DIST seednodes-20090708.fref 25500 RMD160 43fc960ea4f54ce82f996f7174d7673b05ba52fb SHA1 941ff6852512cadfc095f69dcf35407545aaead5 SHA256 84f4692c2ac8ea5624d48e09a1a93f3832114c5e9a4598dbadc4a3a90f83c328
EBUILD freenet-0.7_p1222.ebuild 2753 RMD160 0e052372563e669a68c3c8b1dad44b6ebbf71c8b SHA1 3011a49d7601debcc2da5d04e90cbb12f1a8562e SHA256 3e462200b08056ace52fe0bfb38860b3e3f37e1f3f172d5defc8d84ceb15c3e0
+EBUILD freenet-0.7_p1223.ebuild 2751 RMD160 b4a75567e9750f751505a5fbf4f0e19de2a25368 SHA1 bc319fbcf5287e2d5d5f34776bc3b4d0eb9647b3 SHA256 f6d126bb5543ebd0c2f7ae98409abc5dc04e70a0d806a1fdcb718cacc30a8c2e
EBUILD freenet-9999.ebuild 2551 RMD160 f2eff29f748334cbb32a7999e5d605f82ebd6545 SHA1 097203589039d568d6fa182d5761dbfec9709f7e SHA256 50430b5c3ccca4e15af0555f446f3d187a151e9077eaaea487c08ab410b2bb07
-MISC ChangeLog 2991 RMD160 747f99b8700e7e8683a0502bbf9aac77fd6a3972 SHA1 a89719466f2be0039f98baaa1988462cfca52226 SHA256 0b05ba4001b9b5f1a3cb8693c7425c9e7f0fe31d888195b96e2276cb1faf7c72
+MISC ChangeLog 3129 RMD160 358818d304115b9bba6686f7877881b20d5dcc8a SHA1 044d8ccbe2ca45fe70501193bc09164c710aeb4e SHA256 11308ac0f3affb017eb4ff2f68a4b303a316f4ba797ea7a367f40920bbd4f884
MISC metadata.xml 332 RMD160 5e5c8b88681af85d63236c47f3a9a92881515679 SHA1 38a87952bb9389758e8700b4468b122ccf5199ea SHA256 3ca39205a9351767ed2901a4c8c8dd563ed1d83f6684f3bb6c2ab9e92ba4c10f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iJwEAQECAAYFAkoyq4MACgkQG7kqcTWJkGfBTAP/cD65SKA3GreOZhpeB7tuT8lr
-hP4vuHOjMW/HuwJ5W9lMz0YZpDbi6fmLBfQg1ulOAwbk5QjwHZ4zLTY36i4HXYNw
-1kMX4LmNzLJvPfqTgFrpH2NrrC0/yBnZTk4Rkpqg67RW8ke+r+6egimwrUIqVS7M
-6MTGWaJN9RnZYEHBbOc=
-=A9SV
+iJwEAQECAAYFAkpVAAsACgkQG7kqcTWJkGeNFAQAgySmVYb6/36VVMUG2IxyT3v2
+PhknUeOky3+OjZyZaZ+0PHnZ0k3dOg8HXKkqrLWYtIpqbhCKqVtIQdaZFDSPS5pL
+6a87qf24rL3hu3p64B0JugegdcfcRu6hxAEn3QFe99xAL98gZAPqHVR1KEsW09d4
+F+YITg6DfEVt2aW169s=
+=zHLI
-----END PGP SIGNATURE-----
diff --git a/net-p2p/freenet/freenet-0.7_p1223.ebuild b/net-p2p/freenet/freenet-0.7_p1223.ebuild
new file mode 100644
index 000000000000..551b925cc823
--- /dev/null
+++ b/net-p2p/freenet/freenet-0.7_p1223.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7_p1223.ebuild,v 1.1 2009/07/08 20:22:21 tommy Exp $
+
+EAPI="1"
+DATE=20090708
+
+EGIT_REPO_URI="git://github.com/freenet/fred-staging.git"
+EGIT_PROJECT="freenet/fred-staging"
+EGIT_TREE="ba734379c06664db58e39e763e25e541ba90b6d1"
+
+inherit eutils git java-pkg-2 java-ant-2 multilib
+
+DESCRIPTION="An encrypted network without censorship"
+HOMEPAGE="http://www.freenetproject.org/"
+SRC_URI="mirror://gentoo/seednodes-${DATE}.fref"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="freemail"
+
+CDEPEND="dev-db/db-je:3.3
+ dev-java/fec
+ dev-java/java-service-wrapper
+ dev-java/db4o-jdk11
+ dev-java/db4o-jdk12
+ dev-java/db4o-jdk5
+ dev-java/ant-core
+ dev-java/lzma
+ dev-java/lzmajio
+ dev-java/mersennetwister"
+DEPEND=">=virtual/jdk-1.5
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.5
+ net-libs/nativebiginteger
+ ${CDEPEND}"
+PDEPEND="net-libs/NativeThread
+ freemail? ( dev-java/bcprov )"
+
+EANT_BUILD_TARGET="dist"
+EANT_GENTOO_CLASSPATH="ant-core db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper lzma lzmajio mersennetwister"
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+ enewgroup freenet
+ enewuser freenet -1 -1 /var/freenet freenet
+}
+
+src_unpack() {
+ git_src_unpack
+ cd "${S}"
+ cp "${FILESDIR}"/wrapper1.conf freenet-wrapper.conf || die
+ cp "${FILESDIR}"/run.sh-20090501 run.sh || die
+ epatch "${FILESDIR}"/ext.patch
+ sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" freenet-wrapper.conf || die "sed failed"
+ use freemail && echo "wrapper.java.classpath.12=/usr/share/bcprov/lib/bcprov.jar" >> freenet-wrapper.conf
+ java-ant_rewrite-classpath
+}
+
+src_install() {
+ java-pkg_newjar lib/freenet-cvs-snapshot.jar ${PN}.jar
+ if has_version =sys-apps/baselayout-2*; then
+ doinitd "${FILESDIR}"/freenet
+ else
+ newinitd "${FILESDIR}"/freenet.old freenet
+ fi
+ dodoc AUTHORS README || die
+ insinto /etc
+ doins freenet-wrapper.conf || die
+ insinto /var/freenet
+ doins run.sh || die
+ newins "${DISTDIR}"/seednodes-${DATE}.fref seednodes.fref || die
+ fperms +x /var/freenet/run.sh
+ dosym java-service-wrapper/libwrapper.so /usr/$(get_libdir)/libwrapper.so
+}
+
+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() {
+ if [ -z has_version ]; then
+ elog " "
+ elog "If you dont want to use freenet any more"
+ elog "and dont want to keep your identity/other stuff"
+ elog "remember to do 'rm -rf /var/freenet' to remove everything"
+ fi
+}