summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2011-01-11 18:28:58 +0000
committerThomas Sachau <tommy@gentoo.org>2011-01-11 18:28:58 +0000
commitdac8706225e52cd597b3c558c953bf4014ad2dcc (patch)
treed77f6b95ce55eb89a38b1024c02c3610098d38a2 /net-p2p
parentDelete older ebuild. (diff)
downloadhistorical-dac8706225e52cd597b3c558c953bf4014ad2dcc.tar.gz
historical-dac8706225e52cd597b3c558c953bf4014ad2dcc.tar.bz2
historical-dac8706225e52cd597b3c558c953bf4014ad2dcc.zip
Version bump
Package-Manager: portage-2.2.0_alpha14-r1/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/freenet/ChangeLog8
-rw-r--r--net-p2p/freenet/Manifest14
-rw-r--r--net-p2p/freenet/freenet-0.7.5_p1323.ebuild108
3 files changed, 123 insertions, 7 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog
index f3682fb92f04..b2eab91310dd 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.110 2011/01/06 21:43:31 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.111 2011/01/11 18:28:58 tommy Exp $
+
+*freenet-0.7.5_p1323 (11 Jan 2011)
+
+ 11 Jan 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +freenet-0.7.5_p1323.ebuild:
+ Version bump
*freenet-0.7.5_p1321 (06 Jan 2011)
diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest
index a45ddc30b57f..873c626bd2de 100644
--- a/net-p2p/freenet/Manifest
+++ b/net-p2p/freenet/Manifest
@@ -10,18 +10,20 @@ AUX strip-openjdk-check.patch 4015 RMD160 c512338ac1dc9ca88082f403d8a4bc4dfcb98c
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_p1321.zip 3706475 RMD160 3ada9b77f56927bc436ac847dc1b4444ccc6e387 SHA1 0a7cf9259110ff658ba98c8e418a3ce34a55b4b2 SHA256 fb67fa04d824469bdf053f672a876e23322ee5a4e3ceeba62415612f0224ce2c
+DIST freenet-0.7.5_p1323.zip 3713451 RMD160 c4a56cdf891b346467369a3da498a20af039fbbf SHA1 f060701cf2207e38717a5e4f2576b248b6e4749c SHA256 e7cfae2c3ae862361f079ef2d216ab2899e75e9b48ddacad71a64478a99fea92
DIST seednodes-20110102.fref 14223 RMD160 c3a151e2b6be279f01ce5c573f8cdcf3c38032e0 SHA1 9a6ec550a3738e783dce2dd406db49c017ec3440 SHA256 7bfe657b3729ae0a8c8302fbd2bdc428383447f21c0ba5c0439a65524c719908
DIST seednodes-20110106.fref 17386 RMD160 0191a0570550c48762a1b0c916f58e33da5b8106 SHA1 fbb0c117a2db97b0fd0e5f8519a67be3cb691a64 SHA256 cc50dfbe6a2c3e3775ac293af3ff27cc742fc69d291b344306795096c48d6570
EBUILD freenet-0.7.5_p1321.ebuild 3427 RMD160 b1b072027a5f14997045ce9d7939b41e738531ee SHA1 fd78ff305121be5c0aa10e9ffe2acaf53ca5ea93 SHA256 66dbdcc6f8b491e0bc08dfaeec20b31a8aff85433f627f853b9ef6684e42495b
+EBUILD freenet-0.7.5_p1323.ebuild 3427 RMD160 b426ecec68ee615cda67752f4427dc4426df2d86 SHA1 52317730f844b841f09b6dd83dd8c50a5fc307e8 SHA256 5ff8dcd1b47c82b25b9835e61a15ca9ffd3dda422d1bbe2f4629bc99b3f40b8a
EBUILD freenet-9999.ebuild 3095 RMD160 7567b1fbd6102fc620fc1d4f57f1e202b7ce0321 SHA1 a35daf5e8eb99f011584388363d6114ec7a903f7 SHA256 4e18e4f16caddbb5abb7f322dfb615f04ab50b5c1eabd7f4bbab666908d1aeb5
-MISC ChangeLog 12342 RMD160 a88a90b5a355ba1cb67e5dabb4d1ba4b7bf15769 SHA1 432f38abd1c119b92051841804f5c91ea9e8ccb1 SHA256 e891650236db6083db312014b5bbf88f97fba7a6278b4c26ddad030faf3f0209
+MISC ChangeLog 12484 RMD160 ab1060b233f09a7a2261e52ea2e6f5c7714c3cd8 SHA1 c08932aac1c04482cbe3afcffc50bde036d565ac SHA256 2d6de9b294603a128e4b934724db22ff8cd929b4e60b948c4979ef79b66a0a16
MISC metadata.xml 332 RMD160 692365bdee16dc9218a18a306e5b15a4b2684206 SHA1 6f1d02202549206e3c5856c9a5a99b334015f7c9 SHA256 869705ebd157480153ca5ddbf7c48426b4374a8cba10164a1f1582fde5afa3a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iJwEAQECAAYFAk0mOPQACgkQG7kqcTWJkGcE0AQArjY5xQ70AQfyFwgxKTfdN6Wj
-axycTVQ+u4Z82IC6V+urcd/fX2Z53gedn+IZKFVpQuEPY/EdvHEM6e3e9FwhKVop
-vsgIfgwAf6L45umzmSqRY033MokyQhv2ZVeT3O8SQB1QfypliLCjBsHV8DLoQSyz
-zWa/gKI54fk4jGOo8FQ=
-=H8ww
+iJwEAQECAAYFAk0soYIACgkQG7kqcTWJkGeWiwQAwyszjZ1ovIGQ9ANLUIWzTs9G
+JJKR2iJreRHMkCJc1BsjBU2HecFPozsNFE/nyN7u0fWgsJM0PkI8cZCUxO7lCcw3
+4+Lq9wxduwx0spAb1eS0PwecreupLyS+Zs3U8XRHv2jbc7OvBY8eC13hO7kiMeY1
+eF01pEQfYN95Dy9DV9s=
+=mzA6
-----END PGP SIGNATURE-----
diff --git a/net-p2p/freenet/freenet-0.7.5_p1323.ebuild b/net-p2p/freenet/freenet-0.7.5_p1323.ebuild
new file mode 100644
index 000000000000..e2cc63f3d0c7
--- /dev/null
+++ b/net-p2p/freenet/freenet-0.7.5_p1323.ebuild
@@ -0,0 +1,108 @@
+# 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_p1323.ebuild,v 1.1 2011/01/11 18:28:58 tommy Exp $
+
+EAPI="2"
+DATE=20110106
+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="mirror://gentoo/${P}.zip
+ mirror://gentoo/seednodes-${DATE}.fref"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="freemail test"
+
+CDEPEND="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/ant-core-1.7*
+ dev-java/lzma
+ dev-java/lzmajio
+ dev-java/mersennetwister"
+DEPEND="app-arch/unzip
+ >=virtual/jdk-1.5
+ ${CDEPEND}
+ test? ( dev-java/junit )"
+RDEPEND=">=virtual/jre-1.5
+ net-libs/nativebiginteger
+ ${CDEPEND}"
+PDEPEND="net-libs/NativeThread
+ freemail? ( dev-java/bcprov )"
+
+EANT_BUILD_TARGET="package"
+EANT_BUILD_XML="build-clean.xml"
+EANT_GENTOO_CLASSPATH="ant-core db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper lzma lzmajio mersennetwister"
+EANT_EXTRA_ARGS="-Dsuppress.gjs=true -Dlib.contrib.present=true -Dlib.junit.present=true"
+use test || export EANT_EXTRA_ARGS+=" -Dtest.skip=true"
+use test && EANT_GENTOO_CLASSPATH+=" junit"
+
+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_prepare() {
+ mv "${WORKDIR}"/freenet-fred-* "${S}"
+ cd "${S}"
+ cp "${FILESDIR}"/wrapper1.conf freenet-wrapper.conf || die
+ cp "${FILESDIR}"/run.sh-20090501 run.sh || die
+ epatch "${FILESDIR}"/0.7.5_p1302-ext.patch
+ epatch "${FILESDIR}"/strip-openjdk-check.patch
+ sed -i -e "s:=/usr/lib:=/usr/$(get_libdir):g" freenet-wrapper.conf || die "sed failed"
+ use freemail && echo "wrapper.java.classpath.12=/usr/share/bcprov/lib/bcprov.jar" >> freenet-wrapper.conf
+ java-ant_rewrite-classpath "${EANT_BUILD_XML}"
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ java-pkg_dojar dist/freenet.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 "${DISTDIR}"/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
+}