diff options
author | Thomas Sachau <tommy@gentoo.org> | 2010-07-21 16:38:26 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2010-07-21 16:38:26 +0000 |
commit | 179a2cbeb6509a9832791cb28d650ac11738bc07 (patch) | |
tree | b49f54d613eb91abcd72ca8c581467e6f38433fe /net-p2p | |
parent | Removed old (diff) | |
download | historical-179a2cbeb6509a9832791cb28d650ac11738bc07.tar.gz historical-179a2cbeb6509a9832791cb28d650ac11738bc07.tar.bz2 historical-179a2cbeb6509a9832791cb28d650ac11738bc07.zip |
Version bump
Package-Manager: portage-2.2_rc67-r8/cvs/Linux x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/freenet/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/freenet/Manifest | 16 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1262.ebuild | 101 |
3 files changed, 117 insertions, 8 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index 057ddf4c727f..cee760b65389 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/freenet # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.84 2010/07/17 01:16:40 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.85 2010/07/21 16:38:26 tommy Exp $ + +*freenet-0.7.5_p1262 (21 Jul 2010) + + 21 Jul 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +freenet-0.7.5_p1262.ebuild: + Version bump *freenet-0.7.5_p1261 (17 Jul 2010) diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 3aa773f18088..ca78e90beb37 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -9,18 +9,20 @@ AUX strip-openjdk-check.patch 2332 RMD160 92d35cc304c4dbf6747d12e97d318014e9ad4b 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_p1261.zip 3448289 RMD160 0cc6471786e15a7e783f87c424116fbd9cf4a0cc SHA1 03d15fe5e12be530eaae73757f96796273c57f53 SHA256 4b1f39b17862e9be8d74885284b12f70d59d4f7d30c3cdcd56edac5b8dd7d9ff +DIST freenet-0.7.5_p1262.zip 3457765 RMD160 d1783343dcafccc001280f6e55121670ccdb66f7 SHA1 0dce26a4f8ac70142616648108d2f6bc6830aafa SHA256 3f9cdfb05e47cd098717687300b825b7a8991f623257bc7a67a535f69a4d84d7 DIST seednodes-20091027.fref 22241 RMD160 5a21874cb0c8dd27cc46329253a10182ac1280bd SHA1 55a060aee01afa8e9bc94be04e2356b7e2f6c4b0 SHA256 42a00a8166deb01ad660600315a9624961c4403ebcf1509971f483ddb4b63e94 DIST seednodes-20100701.fref 22311 RMD160 e80cd82b443b45c00998c0e87bfe6e485686419a SHA1 024bc22dacfe336fafef1b9fafadeaec7c976491 SHA256 1264cad055f597583cf7f5f14cdaafd392c5543d45cfff2c450c1fd551da3105 EBUILD freenet-0.7.5_p1261.ebuild 3143 RMD160 c00d6032c71086698b6b1b7e120f4bfab362745c SHA1 5c32130635b0e884fb4ebb984913b285ffd1465a SHA256 ffc669b39da313eeda171c8b6f1e9692c15ea7db83a6904283139ad60e1676ab +EBUILD freenet-0.7.5_p1262.ebuild 3143 RMD160 504f4f9e14a91e71f3d259678ba3f3e9ac01d13d SHA1 647022637c1c62d50c56afea51a79354985478c1 SHA256 93684f78fe8f231232207668e2be463803f2528c9db4864005456d034032ac50 EBUILD freenet-9999.ebuild 2726 RMD160 1acb97ba5b19473364e20377c97c138ff4978e47 SHA1 f605fbd33a1be05fe1cfc4443cf7cb2298b4dbd9 SHA256 2824165081536a8a0f8866df81f0fd89fbb404df1188bd6ae36b3daf1d002e35 -MISC ChangeLog 7475 RMD160 79f9cac7f3bdf02cefd9950595b97c20ac6bd33f SHA1 816e028d94de173e6b55a64ae7c002aa03bcb620 SHA256 a303c647b7cb61e9e54a4acff3fccafc6c9dc85bacf38cc7acdee42c10ef9578 +MISC ChangeLog 7617 RMD160 2538bc0d9cf45ccece1f174c396d68d8fa64624d SHA1 1c8e7b4fca11e1c171ebfcee31137edde888b23e SHA256 940f9be85f5b73ddcb4fd3af0db17c568f3e8c99b0d8327ccbeb40f1b616e45a MISC metadata.xml 332 RMD160 692365bdee16dc9218a18a306e5b15a4b2684206 SHA1 6f1d02202549206e3c5856c9a5a99b334015f7c9 SHA256 869705ebd157480153ca5ddbf7c48426b4374a8cba10164a1f1582fde5afa3a3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) +Version: GnuPG v2.0.16 (GNU/Linux) -iJwEAQECAAYFAkxBBIIACgkQG7kqcTWJkGdV6gP9GPzoFRBiyJWgLQViskmwq9Kj -SLlRStMEAB8Y4mMT0HJk4Q9ViR2EanfBrFGy2wKNV8aiZZVeCJxJPDPjyYnoM7u/ -fKm0vqBoHPLoR8S9jGR+bH6S5kGevSYGLExb6rHgmk73TfQas2ImPKXwVKDpdQki -9jKOuk9rKmhp7Y0kWDM= -=WYM8 +iJwEAQECAAYFAkxHIo4ACgkQG7kqcTWJkGdj6AP/RsYem3J5wkkwdBucPbQ7SOoy +Wzeec1a7oPzssYY6YDWmDVrN0yBzKezEvDMYtCf16HYlhM1kdz64EHhK4ZTb6O5h +hi/+kb+EtlVLmwKfJHbs1Ri4dHkG4l+nA1oxFtpbhH6R7A9iolmDm8ZqfZLIM23n +5Ezd4BqF5GwANuf8418= +=8j39 -----END PGP SIGNATURE----- diff --git a/net-p2p/freenet/freenet-0.7.5_p1262.ebuild b/net-p2p/freenet/freenet-0.7.5_p1262.ebuild new file mode 100644 index 000000000000..d999fc44594c --- /dev/null +++ b/net-p2p/freenet/freenet-0.7.5_p1262.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2010 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_p1262.ebuild,v 1.1 2010/07/21 16:38:26 tommy Exp $ + +EAPI="2" +DATE=20100701 + +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" + +LICENSE="as-is GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="freemail" + +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 + dev-java/lzma + dev-java/lzmajio + dev-java/mersennetwister" +#force secure versions for now +DEPEND="app-arch/unzip + >=virtual/jdk-1.5 + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.5 + net-libs/nativebiginteger + ${CDEPEND}" +PDEPEND="net-libs/NativeThread + freemail? ( dev-java/bcprov )" + +EANT_BUILD_TARGET="dist" +EANT_GENTOO_CLASSPATH="ant-core db4o-jdk5 db4o-jdk12 db4o-jdk11 db-je-3.3 fec java-service-wrapper lzma lzmajio mersennetwister" + +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-official-* "${S}" + cd "${S}" + cp "${FILESDIR}"/wrapper1.conf freenet-wrapper.conf || die + cp "${FILESDIR}"/run.sh-20090501 run.sh || die + epatch "${FILESDIR}"/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 + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_newjar lib/freenet-cvs-snapshot.jar ${PN}.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 +} + +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 +} |