diff options
author | Thomas Sachau <tommy@gentoo.org> | 2011-11-19 18:34:57 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2011-11-19 18:34:57 +0000 |
commit | b744637d2ab56a59f34ab7507d39cc3ce7c21b2f (patch) | |
tree | 2450fa34e5a4fe28485e332ed438700f2de3fb30 /net-p2p | |
parent | old (diff) | |
download | historical-b744637d2ab56a59f34ab7507d39cc3ce7c21b2f.tar.gz historical-b744637d2ab56a59f34ab7507d39cc3ce7c21b2f.tar.bz2 historical-b744637d2ab56a59f34ab7507d39cc3ce7c21b2f.zip |
Version bump
Package-Manager: portage-2.2.0_alpha76-r1/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/freenet/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/freenet/Manifest | 17 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1405.ebuild | 150 |
3 files changed, 167 insertions, 8 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index 0591468cc87b..9d298a44ef4b 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/freenet # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.142 2011/09/17 18:42:44 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.143 2011/11/19 18:34:57 tommy Exp $ + +*freenet-0.7.5_p1405 (19 Nov 2011) + + 19 Nov 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +freenet-0.7.5_p1405.ebuild: + Version bump 17 Sep 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> freenet-9999.ebuild, -files/strip-openjdk-check.patch: diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index dc78cffcac27..f7139269c67e 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX 0.7.5_p1297-ext.patch 1701 RMD160 1c8e9959d26e98f6ad6b92bae6598c1583863f6e SHA1 54f5d8c5e0158d91010d292a8d7358b474a7aef5 SHA256 c407f6f803255b120b613eae55c3e2e8da0bed2040cf7cbd0aae5e9b23a252db AUX 0.7.5_p1302-ext.patch 947 RMD160 5931df622dca62591cbffce5176330acce82567d SHA1 94a91e0a3f1598a26c569b14f81ca50f53d983ee SHA256 66eae4637f9248bf2407e8bb5361b86aa3f1d04acdfca4207a3596877430fbdc @@ -12,18 +12,21 @@ AUX run.sh-20090501 16217 RMD160 f8b03990d011e1f149ec43aa536fd7540a19f01a SHA1 1 AUX strip-version-check.patch 349 RMD160 579ddfdf6549263e7ec2b9190eff6d08d6a2d5c4 SHA1 58e7422d180e4f443d415ec424646933eceeceb8 SHA256 35a33e5c52288505eefca96a6fbb98ae725d6fbefb727e73e513a1356b5cbfef AUX wrapper1.conf 2396 RMD160 e029cb5feaf98a03234a061362c0989207fdfd23 SHA1 9b882dc0d366b946596bdecb1b1d45c1e221e4e0 SHA256 52e5e283ac4c43d78feecf1edf5ccb38e5505c89624769976fcbf4ac2c8a1572 DIST freenet-0.7.5_p1404.zip 4179533 RMD160 142f98b58f80090670bcce3b2dcb77e2e20f4d18 SHA1 e9e7a5f4528155994d9e5097e6e3a68fc5ec6f39 SHA256 7452313c06aba0c386f96aff0ec40c03b8c3b0fc60c0818543f66a8c8b5ffc52 +DIST freenet-0.7.5_p1405.zip 4189365 RMD160 a84e7ef4fc02beb5d5898752f9872d40c268edcf SHA1 8fd7a18a8c880bc67afb4fbad620f05797324df3 SHA256 c972e020ca74ebeecab8c0e86bb012917fbd073095b4fb054adbec69d69f1cd4 DIST freenet-ant-1.7.1.jar 1327167 RMD160 2ff5fa9c7041aa475bc1374763897fd8f19ca1f4 SHA1 ab21c797797d9e216ff1e05dfaac969a74191cd1 SHA256 634e0b616d65d611419920e8b379b7b66399e44f520baa772147ed73743433b1 DIST seednodes-20110917.fref.bz2 11229 RMD160 bf4e1b1d8d2a06ce623c06284f2ae86451334dc8 SHA1 780c0290b6c76d3d2f5fe88f8f1e8c5685eefca1 SHA256 5e31ce1aea96e773cc597ed112e48cd398b352e4235512cc70709f667e118af1 +DIST seednodes-20111119.fref.bz2 12102 RMD160 b9c16399e5686b92e485ecd275a5528184b85f07 SHA1 524a36faa3f7f6930c4ffd743f05e708c0a6efc2 SHA256 12b5403cf0b8de809ae7b88f855caff79f0613f7cdd70b90eaa85fe8bd5c9d54 EBUILD freenet-0.7.5_p1404.ebuild 4722 RMD160 1c5c5e27d65f35b49850f7bb1d0c1774783ab4f7 SHA1 4aff5a65fbb5d0bfdb31424612080cc1fcc85556 SHA256 ad183cd0626f5d1e34213803f6e738a9bd420f7a566ba0676d7e4fef189398dc +EBUILD freenet-0.7.5_p1405.ebuild 4722 RMD160 7e0d8ba58e82d9325b3ac729160ddc8a6824ce61 SHA1 969f422f8a3e711929e06f056c0fc500b221786f SHA256 b7857d944453c909c0d6c03f0f3f57e81bed4251f9a10f89454b919fa5cd3fb9 EBUILD freenet-9999.ebuild 4286 RMD160 7ba4055addcb69bd98d36e0cde2d4e12ca66ddb0 SHA1 05c56a72015f92ba972edca7babc67ddffa9a037 SHA256 7c98f8edb8631d62ab617a0e9d1f87f591813aefe6898c6e6a7e4c5392036084 -MISC ChangeLog 18505 RMD160 89ab9f1764083932a57e30564b5b1dbf2ff8e18a SHA1 6b902340e5579f0ab6006ed4cce52c99c9f62928 SHA256 c29181caa6ecf989ca576e4d66940c559e91bcb09072d073159feb5749c3c306 +MISC ChangeLog 18647 RMD160 938537d98c8d631b760a2a171b328275edb4562b SHA1 cf229114b0dbe03cbb04918ba5fdae77a573001c SHA256 a92c3af328df4314e08c8ecdc838d9a55ce519db8e0c5edc70bb1768816eca3c MISC metadata.xml 310 RMD160 94e7e4cefcf1deb4bbff792a0cbf30ef63e7b264 SHA1 8f8368b809a3e803ab488945087827a41f1b40f5 SHA256 e614c0ca7fa5d32c3e94ccd6d822fd0aa482ce31439e0206f26b0f7a76113950 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iJwEAQEIAAYFAk59rgoACgkQfXuS5UK5QB3orAQAjU058wKkCaKfHLIZF3Pvlz8c -P+THKwNU3rqR40Dq2YYtRDKwgWrEzK6Rl65vnOUKhGWKKyFQAQhZichgDBystije -Vf/NBCBogB/yNBSS77LqxBcNE3RNTeO32KgCwQFCorZl9xQNFDFyolW7kKpKYUMt -bcVosDgdHgv+hxzXsL4= -=gRho +iJwEAQECAAYFAk7H9t4ACgkQG7kqcTWJkGc4ZAP8DcO312YE/F9Ju0wocDD7pELy +XeS6VS1vnuV9oOQmnh5UTGDcmtEmsC8tUCEvFwTx3OAxjlgJwS0HcipHmYjeteAW +uLkJeyC4JlJ35zCgiMNb406crk5EObel6DuUsPbDTXvTspj/O6UGkRNNdLLVW0bv +OZybZPTAj+asz/PkAdE= +=LzV4 -----END PGP SIGNATURE----- diff --git a/net-p2p/freenet/freenet-0.7.5_p1405.ebuild b/net-p2p/freenet/freenet-0.7.5_p1405.ebuild new file mode 100644 index 000000000000..092782c980fa --- /dev/null +++ b/net-p2p/freenet/freenet-0.7.5_p1405.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1405.ebuild,v 1.1 2011/11/19 18:34:57 tommy Exp $ + +EAPI="2" +DATE=20111119 +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 multilib + +DESCRIPTION="An encrypted network without censorship" +HOMEPAGE="http://www.freenetproject.org/" +SRC_URI="http://github.com/${PN}/fred-official/zipball/build0${PV#*p} -> ${P}.zip + mirror://gentoo/seednodes-${DATE}.fref.bz2 + mirror://gentoo/freenet-ant-1.7.1.jar" + +LICENSE="as-is GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="freemail test" + +CDEPEND="freemail? ( dev-java/bcprov ) + dev-java/commons-compress + 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/jbitcollider-core + dev-java/lzma + dev-java/lzmajio + dev-java/mersennetwister" +DEPEND="app-arch/unzip + >=virtual/jdk-1.6 + ${CDEPEND} + test? ( dev-java/junit + dev-java/ant-junit ) + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.6 + net-libs/nativebiginteger + ${CDEPEND}" +PDEPEND="net-libs/NativeThread" + +EANT_BUILD_TARGET="package" +EANT_TEST_TARGET="unit" +EANT_BUILD_XML="build-clean.xml" +EANT_GENTOO_CLASSPATH="commons-compress db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper jbitcollider-core lzma lzmajio mersennetwister" +EANT_EXTRA_ARGS="-Dsuppress.gjs=true -Dlib.contrib.present=true -Dlib.junit.present=true" +export EANT_EXTRA_ARGS+=" -Dtest.skip=true" + +pkg_setup() { + has_version dev-java/icedtea[cacao] && { + ewarn "dev-java/icedtea was built with cacao USE flag." + ewarn "freenet may compile with it, but it will refuse to run." + ewarn "Please remerge dev-java/icedtea without cacao USE flag," + ewarn "if you plan to use it for running freenet." + } + java-pkg-2_pkg_setup + enewgroup freenet + enewuser freenet -1 -1 /var/freenet freenet +} + +src_unpack() { + unpack ${P}.zip seednodes-${DATE}.fref.bz2 + mv "${WORKDIR}"/freenet-fred-* "${S}" +} + +src_prepare() { + cp "${FILESDIR}"/freenet-0.7.5_p1389-wrapper.conf freenet-wrapper.conf || die + cp "${FILESDIR}"/run.sh-20090501 run.sh || die + epatch "${FILESDIR}"/0.7.5_p1302-ext.patch \ + "${FILESDIR}"/freenet-0.7.5_p1384-libraryloader-just-try-loading.patch \ + "${FILESDIR}"/freenet-0.7.5_p1384-nativebiginteger-no-nativedoublevalue.patch + + sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" \ + freenet-wrapper.conf || die "sed failed" + + echo "wrapper.java.classpath.1=/usr/share/freenet/lib/freenet.jar" >> freenet-wrapper.conf + + local i=2 pkg jars jar + for pkg in ${EANT_GENTOO_CLASSPATH} ; do + jars="$(java-pkg_getjars ${pkg})" + for jar in ${jars} ; do + echo "wrapper.java.classpath.$((i++))=${jar}" >> freenet-wrapper.conf + done + done + echo "wrapper.java.classpath.$((i++))=/usr/share/freenet/lib/ant.jar" >> freenet-wrapper.conf + + if use freemail ; then + jars="$(java-pkg_getjars bcprov)" + for jar in ${jars} ; do + echo "wrapper.java.classpath.$((i++))=${jar}" >> freenet-wrapper.conf + done + fi + + java-ant_rewrite-classpath "${EANT_BUILD_XML}" + java-pkg-2_src_prepare + cp "${DISTDIR}"/freenet-ant-1.7.1.jar lib/ant.jar || die +} + +src_test() { + java-pkg_jar-from --into lib fec + java-pkg_jar-from --into lib java-service-wrapper + java-pkg_jar-from --into lib mersennetwister + java-pkg_jar-from --into lib lzma + java-pkg_jar-from --into lib db4o-jdk5 + java-pkg_jar-from --into lib db4o-jdk12 + java-pkg_jar-from --into lib db4o-jdk11 + export EANT_EXTRA_ARGS+=" -Dtest.skip=false" + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar dist/freenet.jar + java-pkg_newjar "${DISTDIR}"/freenet-ant-1.7.1.jar ant.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 "${WORKDIR}"/seednodes-${DATE}.fref seednodes.fref || die + fperms +x /var/freenet/run.sh + dosym java-service-wrapper/libwrapper.so /usr/$(get_libdir)/libwrapper.so + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src +} + +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 ! [[ -e /usr/share/freenet/lib/freenet.jar ]] ; 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 +} |