From 0c15af7cc680cfa00316577aee83eea45ce15d5e Mon Sep 17 00:00:00 2001 From: Thomas Sachau Date: Fri, 21 Nov 2008 15:05:00 +0000 Subject: net-p2p/freenet: New upstream release svn path=/sunrise/; revision=7386 --- net-p2p/freenet/ChangeLog | 5 ++ net-p2p/freenet/Manifest | 8 +-- net-p2p/freenet/freenet-0.7_p1180.ebuild | 100 ------------------------------- net-p2p/freenet/freenet-0.7_p1181.ebuild | 100 +++++++++++++++++++++++++++++++ net-p2p/freenet/freenet-9999-r1.ebuild | 2 +- 5 files changed, 110 insertions(+), 105 deletions(-) delete mode 100644 net-p2p/freenet/freenet-0.7_p1180.ebuild create mode 100644 net-p2p/freenet/freenet-0.7_p1181.ebuild (limited to 'net-p2p') diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index a3ed1915a..6b8c83b07 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 21 Nov 2008; Thomas Sachau (Tommy[D]) + -freenet-0.7_p1180.ebuild, +freenet-0.7_p1181.ebuild, + freenet-9999-r1.ebuild: + New upstream release + 19 Nov 2008; Thomas Sachau (Tommy[D]) -freenet-0.7_p1179.ebuild, +freenet-0.7_p1180.ebuild: New upstream release diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 2f7e61983..f7dd7997d 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -2,9 +2,9 @@ AUX ext.patch 5906 RMD160 8135e829041e767912e1db3b35299fd5c162d790 SHA1 64f998cb AUX freenet 476 RMD160 fdce44749587d73cb3f5b916e893e3bb95ef3200 SHA1 48eb8bfbd27a17b0bb3b29248ce4c43b59a76bda SHA256 4a8482117a434e9885438b7ca5384851bff49fefa28b13e33494a746c781342f AUX freenet.old 452 RMD160 e9e834fedf4270c14f3e8d754c58eb05f3f570c5 SHA1 edb5d0ab062d46f494db88560885d7ee7b026e29 SHA256 b3047b40128bbd7843dc370ab0aa150a9836ed789f48181bd6d8fc72f1714fa6 AUX wrapper1.conf 2234 RMD160 e314aac24d60a60292bee3bfa3447307105280d5 SHA1 8f6cfd42ba678baa2467e47345ff0bb477b86fb1 SHA256 cc480fe18e88f80e84518f417c6a49d4e538a11c81ef9d2e8a5bffc062492595 -DIST freenet-0.7_p1180.tar.bz2 1327788 RMD160 82dfb1491659a120b895fb2dfeadccf7876e901e SHA1 2c3466c7a6139e4b6e18ac7f7537ed46bfb2abcf SHA256 b8d2c53ef9d262291de060b363af59a4288031bbd51d014f3311aeb8462bdcbf +DIST freenet-0.7_p1181.tar.bz2 1311880 RMD160 876b543056007bf0d940486c62295e535ebb8782 SHA1 c6f3ff32cc1dfca45dfafc7587dcf2155f702206 SHA256 f089ea043395d6807bdb7821230502c9f291a710cb463098f41debf9d0e22ec2 DIST seednodes-20081112.fref 25475 RMD160 25ff9e544164c4f5f73f654988a898b59261da0c SHA1 fa9d24f602fecd5e06cb47bc078f3f5385f78f61 SHA256 562aac5f011bad0991ef4546f810bc5f1d1c013ce908fad227b6ef335026ca5f -EBUILD freenet-0.7_p1180.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 -EBUILD freenet-9999-r1.ebuild 3510 RMD160 3f2328fc2b507dabd932544407f3c5e3f729a2e6 SHA1 7cc435e47cb40f67b6c45d3004a16f4d751484d3 SHA256 86f7ad046a0a25314a28b92ffd3e68d936cd87015c20d8d7dc658e4d94f1e53c -MISC ChangeLog 16008 RMD160 b816bfe2ce6e45459309e47a3d1dcb79f2416ef8 SHA1 16bf7b7ecf68dc0ab8ce0e28c2b5019687cc1449 SHA256 5cd3a64d55438b3ea667bb3e1d69163c21ace00ec3a06705ca45e13ef47b79a9 +EBUILD freenet-0.7_p1181.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 +EBUILD freenet-9999-r1.ebuild 3516 RMD160 38c753a83dcf724fac2e4831b5f4e78bee314b6a SHA1 7586bc53d1f50b8b87ca2e738cb9af7d04efcc72 SHA256 3f24aa474c439f51b8aefc298b5fc41105587c8b096780278fe402c23f5f5c83 +MISC ChangeLog 16173 RMD160 292c3b82133d0486ea61ab1e191b9e69cd030e82 SHA1 d41572e1ee5c22a287f001a5b0276a6bb7514b8e SHA256 c3f29f12ad03e9136dc33a21b3a743ebd5b7d66a59a5e9b1623080495d798328 MISC metadata.xml 238 RMD160 61d35251af6d2d13fa32d5c455dbf179174ca375 SHA1 b2ff81a006f10b2a9d37722a77eb70be65abb9e8 SHA256 9425b3716c550570a17382ba0b1a9fbf3243483ea6117ae94453ee7047362f8a diff --git a/net-p2p/freenet/freenet-0.7_p1180.ebuild b/net-p2p/freenet/freenet-0.7_p1180.ebuild deleted file mode 100644 index 285e2c380..000000000 --- a/net-p2p/freenet/freenet-0.7_p1180.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=1 -inherit eutils java-pkg-2 java-ant-2 multilib - -DESCRIPTION="An encrypted network without censorship" -HOMEPAGE="http://www.freenetproject.org/" -SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.tar.bz2 - http://dev.gentoo.org/~tommy/distfiles/${P}.tar.bz2" - -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 - dev-java/ant-core - dev-java/sevenzip - dev-java/lzmajio - dev-java/mersennetwister" -DEPEND=">=virtual/jdk-1.5 - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.5 - x86? ( net-libs/fec ) - net-libs/nativebiginteger - ${CDEPEND}" -PDEPEND="net-libs/NativeThread - freemail? ( dev-java/bcprov - net-mail/Freemail )" -S="${WORKDIR}/${PN}" - -EANT_BUILD_TARGET="dist" - -pkg_setup() { - java-pkg-2_pkg_setup - enewgroup freenet - enewuser freenet -1 -1 /var/freenet freenet -} - -src_unpack() { - unpack ${A} - cd "${S}" - cp "${FILESDIR}"/wrapper1.conf wrapper.conf - epatch "${FILESDIR}"/ext.patch - sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" wrapper.conf || die "sed failed" - use freemail && echo "wrapper.java.classpath.10=/usr/share/bcprov/lib/bcprov.jar" >> wrapper.conf - mkdir -p lib - cd lib - java-pkg_jar-from db-je-3.3 - java-pkg_jar-from java-service-wrapper - java-pkg_jar-from fec - java-pkg_jar-from db4o - java-pkg_jar-from ant-core ant.jar - java-pkg_jar-from sevenzip - java-pkg_jar-from lzmajio - java-pkg_jar-from mersennetwister -} - -src_install() { - mv lib/freenet-cvs-snapshot.jar freenet.jar - java-pkg_dojar freenet.jar - if has_version =sys-apps/baselayout-2*; then - doinitd "${FILESDIR}"/freenet - else - newinitd "${FILESDIR}"/freenet.old freenet - fi - dodoc AUTHORS README - insinto /etc - newins wrapper.conf freenet-wrapper.conf - insinto /var/freenet - doins seednodes.fref run.sh - fperms +x /var/freenet/run.sh - dosym java-service-wrapper/libwrapper.so /usr/$(get_libdir)/libwrapper.so -} - -pkg_postinst () { - elog "1. Start freenet with /etc/init.d/freenet start." - elog "2. Open localhost:8888 in your browser for the web interface." - elog " " - elog "If you dont know trusted people running freenet," - elog "enable opennet (\"insecure mode\") on the config page to get started." - elog " " - ewarn "The wrapper config file wrapper.conf has been moved to /etc/freenet-wrapper.conf." - ewarn "You can now edit it without the next update overwriting it." - elog " " - chown freenet:freenet /var/freenet -} - -pkg_postrm() { - if [ -z has_version ]; then - 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 -} diff --git a/net-p2p/freenet/freenet-0.7_p1181.ebuild b/net-p2p/freenet/freenet-0.7_p1181.ebuild new file mode 100644 index 000000000..285e2c380 --- /dev/null +++ b/net-p2p/freenet/freenet-0.7_p1181.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 +inherit eutils java-pkg-2 java-ant-2 multilib + +DESCRIPTION="An encrypted network without censorship" +HOMEPAGE="http://www.freenetproject.org/" +SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.tar.bz2 + http://dev.gentoo.org/~tommy/distfiles/${P}.tar.bz2" + +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 + dev-java/ant-core + dev-java/sevenzip + dev-java/lzmajio + dev-java/mersennetwister" +DEPEND=">=virtual/jdk-1.5 + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.5 + x86? ( net-libs/fec ) + net-libs/nativebiginteger + ${CDEPEND}" +PDEPEND="net-libs/NativeThread + freemail? ( dev-java/bcprov + net-mail/Freemail )" +S="${WORKDIR}/${PN}" + +EANT_BUILD_TARGET="dist" + +pkg_setup() { + java-pkg-2_pkg_setup + enewgroup freenet + enewuser freenet -1 -1 /var/freenet freenet +} + +src_unpack() { + unpack ${A} + cd "${S}" + cp "${FILESDIR}"/wrapper1.conf wrapper.conf + epatch "${FILESDIR}"/ext.patch + sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" wrapper.conf || die "sed failed" + use freemail && echo "wrapper.java.classpath.10=/usr/share/bcprov/lib/bcprov.jar" >> wrapper.conf + mkdir -p lib + cd lib + java-pkg_jar-from db-je-3.3 + java-pkg_jar-from java-service-wrapper + java-pkg_jar-from fec + java-pkg_jar-from db4o + java-pkg_jar-from ant-core ant.jar + java-pkg_jar-from sevenzip + java-pkg_jar-from lzmajio + java-pkg_jar-from mersennetwister +} + +src_install() { + mv lib/freenet-cvs-snapshot.jar freenet.jar + java-pkg_dojar freenet.jar + if has_version =sys-apps/baselayout-2*; then + doinitd "${FILESDIR}"/freenet + else + newinitd "${FILESDIR}"/freenet.old freenet + fi + dodoc AUTHORS README + insinto /etc + newins wrapper.conf freenet-wrapper.conf + insinto /var/freenet + doins seednodes.fref run.sh + fperms +x /var/freenet/run.sh + dosym java-service-wrapper/libwrapper.so /usr/$(get_libdir)/libwrapper.so +} + +pkg_postinst () { + elog "1. Start freenet with /etc/init.d/freenet start." + elog "2. Open localhost:8888 in your browser for the web interface." + elog " " + elog "If you dont know trusted people running freenet," + elog "enable opennet (\"insecure mode\") on the config page to get started." + elog " " + ewarn "The wrapper config file wrapper.conf has been moved to /etc/freenet-wrapper.conf." + ewarn "You can now edit it without the next update overwriting it." + elog " " + chown freenet:freenet /var/freenet +} + +pkg_postrm() { + if [ -z has_version ]; then + 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 +} diff --git a/net-p2p/freenet/freenet-9999-r1.ebuild b/net-p2p/freenet/freenet-9999-r1.ebuild index 38831f247..a422bc98f 100644 --- a/net-p2p/freenet/freenet-9999-r1.ebuild +++ b/net-p2p/freenet/freenet-9999-r1.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="http://www.freenetproject.org/" SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/seednodes-${DATE}.fref http://dev.gentoo.org/~tommy/distfiles/seednodes-${DATE}.fref" -LICENSE="GPL-2" +LICENSE="as-is GPL-2" SLOT="0" KEYWORDS="" IUSE="freemail" -- cgit v1.2.3-65-gdbad