From 70e4f82830c50b59795e5bb2d54c826fcb5e5497 Mon Sep 17 00:00:00 2001 From: Thomas Sachau Date: Sun, 30 Nov 2008 14:52:38 +0000 Subject: net-p2p/freenet: New upstream release svn path=/sunrise/; revision=7421 --- net-p2p/freenet/ChangeLog | 4 ++ net-p2p/freenet/Manifest | 6 +- net-p2p/freenet/freenet-0.7_p1186.ebuild | 100 ------------------------------- net-p2p/freenet/freenet-0.7_p1187.ebuild | 100 +++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+), 103 deletions(-) delete mode 100644 net-p2p/freenet/freenet-0.7_p1186.ebuild create mode 100644 net-p2p/freenet/freenet-0.7_p1187.ebuild (limited to 'net-p2p') diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index bc7e257ab..4555f4485 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 30 Nov 2008; Thomas Sachau (Tommy[D]) + -freenet-0.7_p1186.ebuild, +freenet-0.7_p1187.ebuild: + New upstream release + 29 Nov 2008; Thomas Sachau (Tommy[D]) -freenet-0.7_p1185.ebuild, +freenet-0.7_p1186.ebuild: New upstream release diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 47ae3df53..73c24cdf6 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_p1186.tar.bz2 1317074 RMD160 925dc9ba461ceb4832a3f271e68d737276608595 SHA1 cad160a3d2a669c2c9d4048682ae5cffce96a5b8 SHA256 9d076833e992680a56a3be8370d5990973e583aa5c118f6facf3c7a1b081e746 +DIST freenet-0.7_p1187.tar.bz2 1318087 RMD160 fc24d4049186924a160ac1b1739815956e2ea964 SHA1 bf73c969c20a8141ab1b514d7a6108fb1d11bd81 SHA256 9f7e044fc748e44ee44145cae607b153479d43da57670e5e12ac70c3af70f774 DIST seednodes-20081112.fref 25475 RMD160 25ff9e544164c4f5f73f654988a898b59261da0c SHA1 fa9d24f602fecd5e06cb47bc078f3f5385f78f61 SHA256 562aac5f011bad0991ef4546f810bc5f1d1c013ce908fad227b6ef335026ca5f -EBUILD freenet-0.7_p1186.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 +EBUILD freenet-0.7_p1187.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 EBUILD freenet-9999-r1.ebuild 3516 RMD160 38c753a83dcf724fac2e4831b5f4e78bee314b6a SHA1 7586bc53d1f50b8b87ca2e738cb9af7d04efcc72 SHA256 3f24aa474c439f51b8aefc298b5fc41105587c8b096780278fe402c23f5f5c83 -MISC ChangeLog 16590 RMD160 cfcb752d01470ba91644df7802dcbc91d1d90718 SHA1 2ae3b9b70238fa6d9be513d8aa72c4a2b294cb0a SHA256 12caad28720b3d05e7d31370615836e23d492b41870471fb033072284de3d44a +MISC ChangeLog 16729 RMD160 00cdcaaf0b5cd34b4244175c9a115b0379240333 SHA1 84fd4939ba1d05f390833848cd7d5e94eda33248 SHA256 53b5ae6514c220573aa5158137289ac3bf553d2c18471ae1f1448f3c0696a2eb MISC metadata.xml 238 RMD160 61d35251af6d2d13fa32d5c455dbf179174ca375 SHA1 b2ff81a006f10b2a9d37722a77eb70be65abb9e8 SHA256 9425b3716c550570a17382ba0b1a9fbf3243483ea6117ae94453ee7047362f8a diff --git a/net-p2p/freenet/freenet-0.7_p1186.ebuild b/net-p2p/freenet/freenet-0.7_p1186.ebuild deleted file mode 100644 index 285e2c380..000000000 --- a/net-p2p/freenet/freenet-0.7_p1186.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_p1187.ebuild b/net-p2p/freenet/freenet-0.7_p1187.ebuild new file mode 100644 index 000000000..285e2c380 --- /dev/null +++ b/net-p2p/freenet/freenet-0.7_p1187.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 +} -- cgit v1.2.3-65-gdbad