From 6709a749f87d13a5c9c4dbd936bc0f9da6ac96df Mon Sep 17 00:00:00 2001 From: Thomas Sachau Date: Fri, 12 Dec 2008 17:44:15 +0000 Subject: net-p2p/freenet: New upstream release svn path=/sunrise/; revision=7490 --- net-p2p/freenet/ChangeLog | 4 ++ net-p2p/freenet/Manifest | 6 +- net-p2p/freenet/freenet-0.7_p1191.ebuild | 100 ------------------------------- net-p2p/freenet/freenet-0.7_p1193.ebuild | 100 +++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+), 103 deletions(-) delete mode 100644 net-p2p/freenet/freenet-0.7_p1191.ebuild create mode 100644 net-p2p/freenet/freenet-0.7_p1193.ebuild (limited to 'net-p2p') diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index b4ecddb00..42d4dec9a 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: $ + 12 Dec 2008; Thomas Sachau (Tommy[D]) + -freenet-0.7_p1191.ebuild, +freenet-0.7_p1193.ebuild: + New upstream release + 07 Dec 2008; Thomas Sachau (Tommy[D]) -freenet-0.7_p1188.ebuild, +freenet-0.7_p1191.ebuild: New upstream release diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 46e4d8222..17ff5850f 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_p1191.tar.bz2 1322556 RMD160 c22894a973a1a6aa19ca820a017b49aa3dc64832 SHA1 69b7e217b9601d4c4afc095ce130a8d5c5ba42cb SHA256 3ff56570685e73ea9c31be9861ebfef51047fd9b8c48c0c806567a022def99c6 +DIST freenet-0.7_p1193.tar.bz2 1322565 RMD160 d612b79bdd6d1a3fb4ad3f194a2625d22c23c97a SHA1 8b6ccb3afbd88ff8ecdc259d38f60c8bbc7e1ef2 SHA256 e1e6c1ca1e36ed4a172e894f7e5fa4c73732e965fda5c04579cd5259859350cd DIST seednodes-20081112.fref 25475 RMD160 25ff9e544164c4f5f73f654988a898b59261da0c SHA1 fa9d24f602fecd5e06cb47bc078f3f5385f78f61 SHA256 562aac5f011bad0991ef4546f810bc5f1d1c013ce908fad227b6ef335026ca5f -EBUILD freenet-0.7_p1191.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 +EBUILD freenet-0.7_p1193.ebuild 2757 RMD160 d410e1f5b8e92561b76ad986ac65104aa36e6536 SHA1 a83b537190e233b1a846a09039b81eb5eb8376d8 SHA256 bec6873008945783c61d00b23770418060f418000d6779db8ca87a52dddef8b1 EBUILD freenet-9999-r1.ebuild 3516 RMD160 38c753a83dcf724fac2e4831b5f4e78bee314b6a SHA1 7586bc53d1f50b8b87ca2e738cb9af7d04efcc72 SHA256 3f24aa474c439f51b8aefc298b5fc41105587c8b096780278fe402c23f5f5c83 -MISC ChangeLog 17007 RMD160 7c1f763e0616766fa6e08dafb663a45aefd66d71 SHA1 245e1b52df77ace918f50b2b3f2562fb9cdc647f SHA256 299a97903983fd0e76cf4aa96a42ccefed8f659defe357adf0213cf65b6f9d49 +MISC ChangeLog 17146 RMD160 cddc1f5d54a25d953d9cda5ee6d7e7977bd61201 SHA1 05b561c3d4f11b9757628deb0d251eda72b9349d SHA256 4492288a47432a98c373940749192f6ec67e39e2929389d34018382a6637c9ba MISC metadata.xml 238 RMD160 61d35251af6d2d13fa32d5c455dbf179174ca375 SHA1 b2ff81a006f10b2a9d37722a77eb70be65abb9e8 SHA256 9425b3716c550570a17382ba0b1a9fbf3243483ea6117ae94453ee7047362f8a diff --git a/net-p2p/freenet/freenet-0.7_p1191.ebuild b/net-p2p/freenet/freenet-0.7_p1191.ebuild deleted file mode 100644 index 285e2c380..000000000 --- a/net-p2p/freenet/freenet-0.7_p1191.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_p1193.ebuild b/net-p2p/freenet/freenet-0.7_p1193.ebuild new file mode 100644 index 000000000..285e2c380 --- /dev/null +++ b/net-p2p/freenet/freenet-0.7_p1193.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