diff options
author | Thomas Sachau <tommy@gentoo.org> | 2012-09-13 17:52:46 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2012-09-13 17:52:46 +0000 |
commit | 0347a018748e3de4a397af05c161ebf973935a46 (patch) | |
tree | 0f83f54d803e3bcadd37b05b774117f37f8357c4 /net-p2p | |
parent | Version bump to 0.3.3, this version is compatible with Mercurial 2.3. Force ... (diff) | |
download | historical-0347a018748e3de4a397af05c161ebf973935a46.tar.gz historical-0347a018748e3de4a397af05c161ebf973935a46.tar.bz2 historical-0347a018748e3de4a397af05c161ebf973935a46.zip |
Version bump
Package-Manager: portage-2.2.0_alpha124-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 | 14 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1413.ebuild | 148 |
3 files changed, 163 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index dd301e612ce3..ef14795c8d8a 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/freenet # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.154 2012/09/11 18:38:45 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.155 2012/09/13 17:52:46 tommy Exp $ + +*freenet-0.7.5_p1413 (13 Sep 2012) + + 13 Sep 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +freenet-0.7.5_p1413.ebuild: + Version bump *freenet-0.7.5_p1411 (11 Sep 2012) diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index e91fbd28967c..c4c1bf21173b 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -10,17 +10,19 @@ AUX freenet.old 452 SHA256 b3047b40128bbd7843dc370ab0aa150a9836ed789f48181bd6d8f AUX libraryloader-revert-using-of-absolute-path.patch 854 SHA256 b8bc840cc0c35a32bf000c23bdb5a7c7cb30508f6f39e3a3d29bb149996e6209 SHA512 24627e9f30a1b4456bf386ebc0a789e6c1d8670d4c1371b2d658cf04f9a04c09dc91ac803af0b8f883578cf9b3b351da69c7f882f7bdf3277f183134219b4889 WHIRLPOOL 6a328c040c81548bc77452639e2a0752304ef639480258b34d6d4ae15b0009d766a18df90f5685d4f2891a71188c19788675a65d8912560afb9a9fdfa0e9261e AUX run.sh-20090501 16217 SHA256 470aa99d083a16d2f620282502a59546611f1903e21aef50b93b10d9fada7d7a SHA512 ba97f1e370ffb7c9ea109b7d529430581a588d8d7e121ec09865e9e8932f2901477f7f43e7d0b95c7c95c2c42db05870e5d811528f91f78b48b68a539c804e67 WHIRLPOOL 201c2541da742ae0c211d6b736914340dd06d4907326de5a0073b39e8aa0a60933ed7d4eef3aa86465f9d0c2e0bf5bd78ed85d3c83c08ba9b50aabc25853864e DIST freenet-0.7.5_p1411.zip 4289022 SHA256 d5b1aa27f1b8b92550f244556b8349f6609ea761a64fca580d01492fcdc89d6f SHA512 f95875cbfcd5eae85649c67e518e97fa0518ce56d0bb137bb02ea97e5e50886ca46d01c993fc3a44f42328663f848deb9b7edf0cd480cf5cc31d1092f9f5ffe7 WHIRLPOOL 59d837b3a71a813b321bae305f522718017c9ef432ca88184bd884b650f2ffbb590fd6689062ebfb5ceb6f32b1278636df1cfcee50c594dd67609cc89509caeb +DIST freenet-0.7.5_p1413.zip 4302758 SHA256 4486b4514ca17e301bf6e8e86f74b6cd58f71a0709ac30bb2d34de1a36b6c8cb SHA512 6577b1c8841dfacb627e2ac390d52f12a19a485e42efac37cdee9458c05152c98c4dd651779ddb6f12fbe7c516d078c35626bdfe284645d5c61e57897d87043c WHIRLPOOL 11f3d673e4c08caee79fececf0a5cfabd9d75a6c4f205ba3105f4f0f79ef403cb2772abbd2bb3b75e4864d8b1fc948b781cefaa7bea80e008c3ffc44a14cb1ff DIST freenet-ant-1.7.1.jar 1327167 SHA256 634e0b616d65d611419920e8b379b7b66399e44f520baa772147ed73743433b1 SHA512 2c84378d995fed0630169fffab020bde89c3edb7b3bc1e14e2251ed71be684dc2520fdeed8bae382de362984e25a31dcd59326ef8735f8066166c1e8d98ca408 WHIRLPOOL 667be2b1581c5fd847907b63522a0f83c595a6b8f1805d714e978a5cb0f05de4804153c89605618adf5c3b097a7019e7d7e9de0bf0987c7b1adb0dbc54e0f055 DIST seednodes-20120730.fref.bz2 7995 SHA256 3d162430e3e4ae9827c0580988c2520e8ff9077ca4beaae72d07845923607e44 SHA512 9761765eb1f8c8efc7759d12de8928ae28a7d0cd287666c1e3391cddb65b1e41cb66735f416e48d3294a36d2dec0bbbd7195e3b54651a564ac410403eea58bec WHIRLPOOL 2b8b2f1c9250caac84b11b6775862452d03831c1848fe2ba23bfb4d17b3b453227aed421a2de8b7c62265afdb80b35687325b1939e34d9326920214dd8e41164 EBUILD freenet-0.7.5_p1411.ebuild 4526 SHA256 60a24c4bfda8b96ea478bca02cab9cc9001ea844158336b943bda272fc1bd976 SHA512 c9030a686339e7abe0c8117a00dd921959051cb70f1b87b1824549040fa8489a55ccc88c263be0c0942edec1b5098e04d862465d0476dff5a51a7087131d5b99 WHIRLPOOL dcf00b135ca55d41561b7d8da53d7d8a3657b5cd05a153cf5387125eaeca800ef6d965535a54711d0646e763f1bc9722f73743b7ef6b9f175039f51925d686fc -MISC ChangeLog 20579 SHA256 a13ebb051d85c659488922bbe05b513111c16fc85589dbbab81c31f6c940f2a5 SHA512 5a3c86be833dc16833d96fc74807a9a11583da43a820a56beb0667e8ae77e065a665f2bf912d7fd1aee1a4c34febf1c044673e8c8e3421c2d4e6d10d6a7ab750 WHIRLPOOL 4510493a0936f210530e730bb7828ee7c13e9fb1e59b5f9a4de8750c3fca022cd70decdcdbb88541811013907c2b2ce73763a9770d9cd970742b1683a98e03c5 +EBUILD freenet-0.7.5_p1413.ebuild 4526 SHA256 8b8dc73805bcd83a6c1d310be90597d235922f4c3774bc26f7604ea0f3539233 SHA512 61fccc81e36021845cc1bffc804548c5f18400622a37971acad5f31f3f019d0cc06ddc57302fd5069347f0ceb33736e908d5199d9726632a5b9732e03a2d1992 WHIRLPOOL 5be1546ec0d2ace0d5c20def71217cdb4f32538648a3a83bf8fce93e69b0ed56de8ccd2aed3f3a3a4a3ac0e0cfd3db3a48fb4da7a822cbcebf59073f399bfc5f +MISC ChangeLog 20721 SHA256 efefa54a8a6a0911f96cfebf469026e31aa95ad8e20c20a32bff45f01a79fec6 SHA512 bfb0eceb0b44865b73f4514b72692de68f66c577132a1adc4287dd6e3b05102a1059ba68743eddc2d65002b80ef040fe294efe3367032b2668f838305d67a371 WHIRLPOOL ee88a64447f97b4bd6ad9bcd0e933dfaa63a820a08e0f54daf6e045f76ed185f5812318d13c6add1209e7933a255f44c6044687110da4863380681d88fa0494d MISC metadata.xml 310 SHA256 e614c0ca7fa5d32c3e94ccd6d822fd0aa482ce31439e0206f26b0f7a76113950 SHA512 51675c6c4240c3ca73e9526462da9617e4fa9a86ec43e21a2c85ef824015b3843948504ecb6643f4fdb65c3911712f2e0ab87ad37b56063445db42a315be6de4 WHIRLPOOL c0b49fedbcb65ed5b30254fc90688436070b66de3cc3699d0621d495dfad139bc6a6388b3f25be3be1824ce1eaf2cf688100abbf621116629e61ecfb52e338e0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iJwEAQECAAYFAlBPhUEACgkQG7kqcTWJkGcu6gQAo9fWndMQw/kV7NMAz662Q4Vj -7bJc3NLo+KRKQmlsN+GdIehx3JMAtToAX5NHWh8s1eMOB80WtjWKOGDwv36Svkpl -5XfwoqgPgyrAUUFO/63hqnn+GHwe4S1iIN6N8PBa324W4FxRbESYrY6Qnz8YfIJF -CQiK6ajhiY+mPRUWxM8= -=XMpH +iJwEAQECAAYFAlBSHXoACgkQG7kqcTWJkGcD7AP/T8Gl60SUUQw7MskT6f6buYNz +l8vo2ABSaM8e8+U5lzscbc5lQvWRQt4cUx6h9xMQpMon5CNxQXXVZJf1sio+wxhU +bAB+SyLpBEGCCCz+kopicuxbXOZF3YEpxfbKmPg2+lKxG4qKqzbXr+lCiEcv2OoF +mvPNelWYsBAJ9kkwQ/M= +=wWfF -----END PGP SIGNATURE----- diff --git a/net-p2p/freenet/freenet-0.7.5_p1413.ebuild b/net-p2p/freenet/freenet-0.7.5_p1413.ebuild new file mode 100644 index 000000000000..fe472ba05767 --- /dev/null +++ b/net-p2p/freenet/freenet-0.7.5_p1413.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2012 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_p1413.ebuild,v 1.1 2012/09/13 17:52:46 tommy Exp $ + +EAPI="2" +DATE=20120730 +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 multilib user + +DESCRIPTION="An encrypted network without censorship" +HOMEPAGE="https://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-1.45:0 ) + dev-java/commons-compress:0 + dev-db/db-je:3.3 + dev-java/fec:0 + dev-java/java-service-wrapper:0 + dev-java/db4o-jdk11:0 + dev-java/db4o-jdk12:0 + dev-java/db4o-jdk5:0 + dev-java/jbitcollider-core:0 + dev-java/lzma:0 + dev-java/lzmajio:0 + dev-java/mersennetwister:0" +DEPEND="app-arch/unzip + >=virtual/jdk-1.6 + ${CDEPEND} + test? ( dev-java/junit:0 + dev-java/ant-junit:0 ) + dev-java/ant-core:0" +RDEPEND=">=virtual/jre-1.6 + net-libs/nativebiginteger:0 + ${CDEPEND}" +PDEPEND="net-libs/NativeThread:0" + +JAVA_PKG_BSFIX_NAME+=" build-clean.xml" +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_CLASSPATH_TAGS+=" javadoc" +JAVA_ANT_ENCODING="utf8" + +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 -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}" +} + +java_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-nativebiginteger-no-nativedoublevalue.patch + + EPATCH_OPTS+=" -R" + epatch "${FILESDIR}"/libraryloader-revert-using-of-absolute-path.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 + + cp "${DISTDIR}"/freenet-ant-1.7.1.jar lib/ant.jar || die +} + +EANT_TEST_EXTRA_ARGS="-Dtest.skip=false" + +src_test() { + 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 +} |