summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2013-09-01 11:32:16 +0000
committerThomas Sachau <tommy@gentoo.org>2013-09-01 11:32:16 +0000
commitb8269f0bc1ed50ff5696f4a6ca303eb4937d34b2 (patch)
treecca20bd15a78202627c6b460e398040f74e684af /net-p2p/freenet
parentPreparation for 2.6.5, removed "Build Option" dialog because it doesn't refle... (diff)
downloadhistorical-b8269f0bc1ed50ff5696f4a6ca303eb4937d34b2.tar.gz
historical-b8269f0bc1ed50ff5696f4a6ca303eb4937d34b2.tar.bz2
historical-b8269f0bc1ed50ff5696f4a6ca303eb4937d34b2.zip
Version bump
Package-Manager: portage-2.2.1-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x35899067
Diffstat (limited to 'net-p2p/freenet')
-rw-r--r--net-p2p/freenet/ChangeLog8
-rw-r--r--net-p2p/freenet/Manifest14
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1455.ebuild142
3 files changed, 157 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 2a5f4044fdc1..f30871cdec14 100644
--- a/net-p2p/freenet/ChangeLog
+++ b/net-p2p/freenet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/freenet
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.174 2013/08/23 17:24:56 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.175 2013/09/01 11:32:07 tommy Exp $
+
+*freenet-0.7.5_p1455 (01 Sep 2013)
+
+ 01 Sep 2013; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +freenet-0.7.5_p1455.ebuild:
+ Version bump
*freenet-0.7.5_p1453 (23 Aug 2013)
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index 94ddc732324b..70859894bb42 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -13,18 +13,20 @@ AUX libraryloader-revert-using-of-absolute-path.patch 854 SHA256 b8bc840cc0c35a3
AUX run.sh-20090501 16217 SHA256 470aa99d083a16d2f620282502a59546611f1903e21aef50b93b10d9fada7d7a SHA512 ba97f1e370ffb7c9ea109b7d529430581a588d8d7e121ec09865e9e8932f2901477f7f43e7d0b95c7c95c2c42db05870e5d811528f91f78b48b68a539c804e67 WHIRLPOOL 201c2541da742ae0c211d6b736914340dd06d4907326de5a0073b39e8aa0a60933ed7d4eef3aa86465f9d0c2e0bf5bd78ed85d3c83c08ba9b50aabc25853864e
DIST freenet-0.7.5_p1452.zip 4668774 SHA256 ed2bd48f94a32cd91d313ee3b3ea0889ca83baeac7116a39e63c9c624c65ad7f SHA512 67bf9b4982f4ab709800c9c969f7fa44cd2a3ef9c22246f2811d87efddc1e23c8454d2666a993b3e73bfa43955328bb68bb41d8ecab45131ea71027d12804cc1 WHIRLPOOL 1e392181ec0b8ac42ec9d63cd6816b382f662efd9712acaf5a8fdb727c6ab1e40ae6926b33b3601693870d89e2cb9bf66a2c2ccce25a699d4c21b7d1d341b2b7
DIST freenet-0.7.5_p1453.zip 4669180 SHA256 1cc7358d408cdb1aab7899ca0331ccbb5553e4d5822491e364204976b90828a7 SHA512 5052ac1af25ef31a9bfecdd118c0d0f18b8105a560c5b229735cdd094f3b44c89a6eea57a002190d1731ca9827fb968c118d915a9e601ad15b014af82fdc5fd2 WHIRLPOOL e8bba86683b07d3100808200dc53049b4c29254c0de2f3fc1167f370bc307d3b6ef1bf97b5a685fd7a742b118bece148ff9339d0dfaf9365ca5f124de2296849
+DIST freenet-0.7.5_p1455.zip 4691756 SHA256 04d63ede7a49350eff8a6e4573aa000acd0c5034a5175f6b8634eb9308cf0120 SHA512 df25ce08bb2dc6c9c9d83c75ac288d5074b25d0322d8d12febbe8d915e70b48750d5c3b8bd8f76fb707d3308d9772308c09369c3c4a2f3037eef5c41b33a4367 WHIRLPOOL f52ec6cb95caefc00aed06f93f099290b10f8d3953c5b66565a8cbb91c32a2e8f3a528c9ac7940472717ff960fff05aeb521faac377d2c0ccf8037ec0400511e
DIST freenet-ant-1.7.1.jar 1327167 SHA256 634e0b616d65d611419920e8b379b7b66399e44f520baa772147ed73743433b1 SHA512 2c84378d995fed0630169fffab020bde89c3edb7b3bc1e14e2251ed71be684dc2520fdeed8bae382de362984e25a31dcd59326ef8735f8066166c1e8d98ca408 WHIRLPOOL 667be2b1581c5fd847907b63522a0f83c595a6b8f1805d714e978a5cb0f05de4804153c89605618adf5c3b097a7019e7d7e9de0bf0987c7b1adb0dbc54e0f055
DIST seednodes-20130218.fref.bz2 9194 SHA256 9ac006dc994456ef34f81b070a3dba6574f209fc2ea3413f57f66f0b5dde77a2 SHA512 42539e0471b44be83bcb2cc473217482099f7800d97fd642401607d6d99da4f0ea25c8dc974025d34665607a7f787a37137e4d839b047bca2f1f4d42b8363fe2 WHIRLPOOL 9a4ebbf703f9da7e427fd95ac6b4afbe6f4dd632b09362fbe7504d8606e8b9be768e39cfae82e211bd656e0748b5006e96ab4f4ceb3b9fcf60782a0f062fb8c2
EBUILD freenet-0.7.5_p1452.ebuild 4323 SHA256 27c90831484497e7c64b07139a4af344b5592b412d58536de83514d30a984b3e SHA512 29ecada124cffbb0c3dcbff61ddb59ae4c5830f469a055ac88f8f72a36097e6cbf39276264af1b68deea4dfb1fa03cbc8c43b95471e3a1d1f4e7dd4758f18251 WHIRLPOOL 8887876c804152bb94ec99172d5d59aef9750522ceea07ba53455eeb3d0e8076a9689c29f07b9c8adde561667db7af12e6e7faf3c306e80f8c56eab2a35143ac
EBUILD freenet-0.7.5_p1453.ebuild 4323 SHA256 69fd0225aae9a72980b9f51c67866a7fac7b1700be077f48351d4bce34eb7d01 SHA512 2959a9ba3601862fc96d9732206f280cd7f2344f5258c0087e6b794c7dfa8b75604522985006e8f1eefe96883d832ffa07c963b8fb9c9948c824050cfd464be2 WHIRLPOOL 825208122f0d2f49e0fe903cf2e081db55fe149db91606038ebdceff52f8f52fc7f0672d7bcfe1236f39ab518d16ed9522f84c03c5af34dee817e3c474113f7f
-MISC ChangeLog 24275 SHA256 a10543bb9b93825475b5d77a802ab51ca1b6063f6af3bf9a8f6a4b220ec491ae SHA512 95af26de1a1646cf0a723d903694ec78b9a80e53b1844e323f670c4b1f09f8721f833268128e9037c232ba0836024df05671b677ca1eee58fd7c68dc6e87d699 WHIRLPOOL 15b294357f570a541d3a1e77f4b38d0919ef8ca04f307a181890c291b9fb790cc9642d4b1346306b128eabdebe524f6817991cbef92a9faee882020c8b0efac7
+EBUILD freenet-0.7.5_p1455.ebuild 4323 SHA256 a5f92945cdd165664d6979aedcc71881fc982985215ac2791171797a4fc17b29 SHA512 33f8cf7f100485957d47238c7ac58acdc0ff72adacc332967f78ae96cd7674c27352a7976c0d685c733e011cacf070701e9d5596b64a98cb8ec463590bdaf807 WHIRLPOOL 70ad63050dbaee1d4c911be8365f12ad11e4e0c651ebb91ecc2801c66cb8693dc12e800862bb5714edbb8c0ce4882d5e93d4edf89f010a35ee078a8d7cbb01ba
+MISC ChangeLog 24417 SHA256 dbbc229256ac286f1a2243cba31dcd24ca24c82610bf6bc2eec4f03442bf1945 SHA512 09274a267d9979b51d6eac35276e995ebe4bccaba3813ddcd5781833a70a30cc514edb2ad326ee9ca43715049680afcb1dc01b19deb48209aed33460b7da22cf WHIRLPOOL 1931acc7b4bb37da107a5981c3ee060cdc92d9b05d8933f2610a580738720aeadf2d633e2d0ab007c162c020bd3a76f2ceda0b3f249d0e8c099a8ea568d96e67
MISC metadata.xml 243 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219 SHA512 92bf36a1bad3877a5a981271afa7381a38f3cc87267233205af5aa0ad53c455d851bb1d9ff60fe02eda49a3347c497c5bfeaa4c160542abd62d81a0450c4b77f WHIRLPOOL 18fde625e32450606e852e52f034c73d6514284aa19842867313432d1ab1cc1d40ceae766c0c61b927a7b5c3917a6624c8e875583f49c0d5951797cf66e8ff95
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
-iJwEAQEIAAYFAlIXmvAACgkQG7kqcTWJkGe3HwQAokKvlbOQLYx/rl+fle+4Os85
-i1cRetvV5WiohzVgapT8YGxG0SmXwyKIyL2dPbFEsn5jwF/361vc7k5QEmwbv6K4
-9yojkfJ8MHp14iOPH5Sn5DTwDoQgCwVWBpFaSu3ZirOY+SlNtIr+LQv3BU2KpJ57
-5omHD+ShbJOmK77VbUs=
-=fZcd
+iJwEAQEIAAYFAlIjJb0ACgkQG7kqcTWJkGdHTgP+IqGvq4lxyEessKbn17OlDDkG
+GB3vi6rsPXMlDWNmON5Q9JrZniQqtxAVblornoy/5X7eKPqOVe5rdLkYMRMz81g1
+wX8+yUkDW9Luj7Fn5fTKHwFxWtVWggE/O0OdphtCU6FsikG4xY7VhNxovy173oAA
+MFwl3fFsrIrBWlUyD/c=
+=0rpu
-----END PGP SIGNATURE-----
diff --git a/net-p2p/freenet/freenet-0.7.5_p1455.ebuild b/net-p2p/freenet/freenet-0.7.5_p1455.ebuild
new file mode 100644
index 000000000000..561b972bf160
--- /dev/null
+++ b/net-p2p/freenet/freenet-0.7.5_p1455.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2013 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_p1455.ebuild,v 1.1 2013/09/01 11:32:07 tommy Exp $
+
+EAPI="2"
+DATE=20130218
+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="https://github.com/${PN}/fred-official/archive/build0${PV#*p}.zip -> ${P}.zip
+ mirror://gentoo/seednodes-${DATE}.fref.bz2
+ mirror://gentoo/freenet-ant-1.7.1.jar"
+
+LICENSE="GPL-2+ GPL-2 MIT BSD-2 Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND=">=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="bcprov,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.bouncycastle.present=true -Dlib.junit.present=true -Dtest.skip=true"
+
+S=${WORKDIR}/fred-official-build0${PV#*p}
+
+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_p1422-wrapper.conf freenet-wrapper.conf || die
+ cp "${FILESDIR}"/run.sh-20090501 run.sh || die
+ epatch "${FILESDIR}"/0.7.5_p1321-ext.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
+ local ifs_original=${IFS}
+ IFS=","
+ 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
+ IFS=${ifs_original}
+ echo "wrapper.java.classpath.$((i++))=/usr/share/freenet/lib/ant.jar" >> freenet-wrapper.conf
+
+ 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
+}