summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2012-10-25 20:46:47 +0000
committerThomas Sachau <tommy@gentoo.org>2012-10-25 20:46:47 +0000
commit8360c950a7f991728eb5440ef94ffde41913c5d8 (patch)
tree02164cc62a9cd99882751dc407f78d886953fd93 /net-p2p
parentAdd missing gstreamer slot pin. (diff)
downloadhistorical-8360c950a7f991728eb5440ef94ffde41913c5d8.tar.gz
historical-8360c950a7f991728eb5440ef94ffde41913c5d8.tar.bz2
historical-8360c950a7f991728eb5440ef94ffde41913c5d8.zip
Version bump
Package-Manager: portage-2.2.0_alpha141-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x35899067
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/ChangeLog8
-rw-r--r--net-p2p/freenet/Manifest15
-rw-r--r--net-p2p/freenet/files/0.7.5_p1321-ext.patch22
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1421.ebuild140
4 files changed, 178 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index 9e2bc832d429..d04dfb1a3be2 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.157 2012/10/14 10:27:36 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.158 2012/10/25 20:46:25 tommy Exp $
+
+*freenet-0.7.5_p1421 (25 Oct 2012)
+
+ 25 Oct 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +files/0.7.5_p1321-ext.patch, +freenet-0.7.5_p1421.ebuild:
+ Version bump
*freenet-0.7.5_p1419 (14 Oct 2012)
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index 66f87323c3ab..d930f9d0bb44 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -2,6 +2,7 @@
Hash: SHA256
AUX 0.7.5_p1302-ext.patch 947 SHA256 66eae4637f9248bf2407e8bb5361b86aa3f1d04acdfca4207a3596877430fbdc SHA512 e8fb05fcffb895a319d5f0abad0275cdb9c938e3f95fded659a7720b42738c253cd4908be9813dc341a9aa7b8b54e7dbe1c487aac2de46e171360a6e04e39667 WHIRLPOOL 232aa033ac968ed5214b34e748479c32658ff604fd4c7e5e9dfc0cb50c83fa16256fe9363b2f6a9674fd7b8d03a1289140f227e7b75be790d7c901ba6c0acaf3
+AUX 0.7.5_p1321-ext.patch 921 SHA256 e115f7b35b741e49ad1124a2aada2c18287ec962211e50bbad0a89e1d2bebd7f SHA512 974998abecb041f8912a7791ec2867445f85108e8c43a567ea5fc0977d220e838789b40a24f2b822aef89f0a8a9a7571e370d93d4bfe89ca3c460cbbf7cc86e1 WHIRLPOOL d6f6a6c6ec3b6e48ffaa6e8b7ca81f049d2bee685a6bd587e3bdd5442a2056b73cad8765454008a19e13502ece749e7e9b0f88f78dba3906b95c3b252ecbb71e
AUX freenet 476 SHA256 4a8482117a434e9885438b7ca5384851bff49fefa28b13e33494a746c781342f SHA512 3dba34e1d660de3dbe980bc77afb54956cacb0053f9958c067c2b89ee2652af0654f77589528d71da33cce6c1941b717c510a7899c8d884edcbc6f15e7acfdb9 WHIRLPOOL 18f8e455d9423024a8fbbd5407c88cfd35891b973627e3e04e12612892ac93926e2518e39ae0e7e8d2fa03fc2fc9a05f977a7186f2e343953c22b4dfc9f5f933
AUX freenet-0.7.5_p1384-libraryloader-just-try-loading.patch 833 SHA256 ea583fd3893240c9e28b0e0ab652902b7b2819686f06beb17995bd591fe1b36e SHA512 f2410c0ffee21c4f784710ef0780601d58d8c74ac486060203c198b9db27415d570765e9566e31a53acdd48e06be72987869cfe053097d8fac03f52956fdf988 WHIRLPOOL 9faa164b368b267251883cddbfca2589f3838bd5109a97ee2081520b9259f8bcdbd019ebdd6697a7f0f1ca721b5bbd5b7c6e902318e845c7c6b4a331b5b10b33
AUX freenet-0.7.5_p1384-nativebiginteger-no-nativedoublevalue.patch 932 SHA256 1bb91a57f71044ee3dd51bb07eb7523644b60232445757c28a19b48a56a95e0a SHA512 1ff3b21a52dab0d99d1b13e83d0dad948ccf31a4aa9bfcaec306aa9c3ae08b77e3f505657113b46dbfcbb4ac21b3e63ce856158148dfc0167f89171182352ddf WHIRLPOOL 7951ca1ba17612064495fd995c5508fe80b14bfef63e294b37a4be5a066b880984b535995b3581ebccd32781bf784cf889d5ef357765c3ead17186dabb37c3f1
@@ -10,17 +11,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_p1419.zip 4318751 SHA256 8a7566fae1a0826732431bfba0222863077f0b44f049aa4ee0d4e422076fd8c0 SHA512 a9753e0bf3ef60719d1754dbc29d056fd9e691aef28d9cb2c2320e3523d3e028ce9f0b258561c6270368473df24a7fd50652b3fa628435b4b07bf229148b49dd WHIRLPOOL ac71166876283f6fd8f2951e2bd80794193da2578ae23677cc183ff1ead91f86c8b7449b2ceb899ee94137e7515ea3e23e6c28eccf85932a639b75e865056f02
+DIST freenet-0.7.5_p1421.zip 4341594 SHA256 caca06574e6bdd32b14aa397a38649087de15a47f7a180f0ebc9ced241ecc55a SHA512 1fb450ebe0b438379f43509db0fde879eec632a01ca9ee6585e626b4110004a193cfb057bbedc3c76ce81886ea02e6df4f1cab6a4c3dfa4b7bb9d9cc4b6d137f WHIRLPOOL 7744a859aaeb6356e7c82204f47d1f796b8013a137eba2fc83f9fecb3019913873908c3be5ea51bee3f6e3a45b609c057db6626a403e48208d8414d9a5e97fc4
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_p1419.ebuild 4583 SHA256 36e124c06e782474d8f7ced58562bc1f6c91fa7520dfa6526e72a66298211f46 SHA512 b07d058d83dbeabf2ba819508ed1d7993fd610505eecaad3fc4763f5c15ecc268f2a5febb78416aab47986d678245b09b4538bdf60f8cce34a266353aae5425e WHIRLPOOL 92541486b33e68a32934a326bd5ef26aa9e6f8cbdba2530600ccc583ce32b61a91cee35fd238673e87410ce6a8dfc0c0521c67a13fa0d05b27e454b13fe864ac
-MISC ChangeLog 21138 SHA256 136fba64a08e965eaac5184d85c25a451100dd999864ba410062fd3c13b039ca SHA512 201a42ea7ab846e0cb38177137975df088e3c9b7940d92daa91e3c1dbf80fa2e80d9a4bb9fa36ca7da0517d945833ab5780bfd56ff9cbd7e41eafc55fbb6ef87 WHIRLPOOL a4675626f393ff6bf6b36646cb75010756131fedd943f553439e9e1b4d8b932e8ee16fa8916fc4c1bbaf2d81deea30bf876e48639f91dee6a2fce729808d4a04
+EBUILD freenet-0.7.5_p1421.ebuild 4253 SHA256 8aadea7421975b53ae65a5a216de326cec4ffd7f864c4b8e9643cfef45f83c94 SHA512 677776a2fabcce5a7c17204729b72e568cc60c3fb9159a77ab095a8119b368b52f8ce505abf35f603b49c32c246ea3c97b3f3f0de047f89d843523a0d31b756d WHIRLPOOL 4053169b8511e191b5ac3cfce71279553c15a7a36c72bd0f56f4830298f0f82686b70eaf37b8d3428a61db4de8376aef114d2a53cb3a4c03d6a3722e59cd1c88
+MISC ChangeLog 21310 SHA256 4e58a9973d306a60bd0d852bdfc3eb5c02f937b7a64493706447a01fb06c6196 SHA512 12ae17b9597243f2500c6dfe442e38ff7413bc8ed84827995f88506d5c34e33ddda8d4547c5e58c2603a6e76bbc756a2ffa60d8b4233c9ea42d4fc11bea07e0e WHIRLPOOL 402c7e00d0e543a7f6a131cbd6b261681ec5ab46215a8c2600bb35470b0acbf347230c658194692c1f1b7ad1c2ae59265eea4c902d9257335dab0314343c467f
MISC metadata.xml 310 SHA256 e614c0ca7fa5d32c3e94ccd6d822fd0aa482ce31439e0206f26b0f7a76113950 SHA512 51675c6c4240c3ca73e9526462da9617e4fa9a86ec43e21a2c85ef824015b3843948504ecb6643f4fdb65c3911712f2e0ab87ad37b56063445db42a315be6de4 WHIRLPOOL c0b49fedbcb65ed5b30254fc90688436070b66de3cc3699d0621d495dfad139bc6a6388b3f25be3be1824ce1eaf2cf688100abbf621116629e61ecfb52e338e0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQEIAAYFAlB6k58ACgkQG7kqcTWJkGf7/gP+JXwD/hesFSdNmsd1wEmpmLPt
-GeEd2RRPwlB1Lv9G88vyKj61Nb7y82jbDmc8vkyu1VLR9MdMbiaFWxaUf1sv2bwL
-uDy6otyYfo65JL5rl/7qYYi03L0JFS2LM7d+kJ1tojzsMa+LUw9hvpszRyreWQnc
-2agV1+RMzDE0kfPtWRU=
-=1EKy
+iJwEAQEIAAYFAlCJpSkACgkQG7kqcTWJkGdshwP/cWj/MEj3/Cw/8LA0BMUByGu4
+2NXoxy9SgHxqjEkZE3CvYC9cgfQtb2Q9GzDlpzEEfjUS77z2dggYbsPdzgLTWLLR
+wByDNas+GccfbHUH/HXc9eB5RcjqRL7Vh+8ePTeqlRlLxcvwXyjXSHwEXNtmsMSE
+dp+12RqrypAQSZJuhO0=
+=czv2
-----END PGP SIGNATURE-----
diff --git a/net-p2p/freenet/files/0.7.5_p1321-ext.patch b/net-p2p/freenet/files/0.7.5_p1321-ext.patch
new file mode 100644
index 000000000000..1d2ba8f140f4
--- /dev/null
+++ b/net-p2p/freenet/files/0.7.5_p1321-ext.patch
@@ -0,0 +1,22 @@
+--- src/freenet/node/NodeStarter.java 2010-11-10 21:46:10.000000000 +0100
++++ src/freenet/node/NodeStarter.java.new 2010-11-10 21:50:12.000000000 +0100
+@@ -49,8 +49,8 @@
+ public static final String extRevisionNumber;
+
+ static {
+- extBuildNumber = ExtVersion.extBuildNumber();
+- extRevisionNumber = ExtVersion.extRevisionNumber();
++ extBuildNumber = 29;
++ extRevisionNumber = "";
+ }
+
+ private FreenetFilePersistentConfig cfg;
+@@ -86,7 +86,7 @@
+ return Integer.valueOf(-1);
+ }
+
+- String builtWithMessage = "freenet.jar built with freenet-ext.jar Build #" + ExtVersion.buildNumber + " r" + ExtVersion.cvsRevision+" running with ext build "+extBuildNumber+" r" + extRevisionNumber;
++ String builtWithMessage = "freenet.jar built with freenet-ext.jar Build #" + extBuildNumber + " running with ext build "+extBuildNumber;
+ Logger.normal(this, builtWithMessage);
+ System.out.println(builtWithMessage);
+
diff --git a/net-p2p/freenet/freenet-0.7.5_p1421.ebuild b/net-p2p/freenet/freenet-0.7.5_p1421.ebuild
new file mode 100644
index 000000000000..7adf2702931c
--- /dev/null
+++ b/net-p2p/freenet/freenet-0.7.5_p1421.ebuild
@@ -0,0 +1,140 @@
+# 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_p1421.ebuild,v 1.1 2012/10/25 20:46:25 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="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"
+
+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_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
+}