diff options
author | Thomas Sachau <tommy@gentoo.org> | 2013-04-05 21:31:24 +0000 |
---|---|---|
committer | Thomas Sachau <tommy@gentoo.org> | 2013-04-05 21:31:24 +0000 |
commit | 904dbec68ed51a4e4b0695797b0a6e95d1e171b5 (patch) | |
tree | c1fa32c2a9dd0d60120e194d727e886400564b74 /net-p2p | |
parent | Fix subslot dep on libpng (diff) | |
download | historical-904dbec68ed51a4e4b0695797b0a6e95d1e171b5.tar.gz historical-904dbec68ed51a4e4b0695797b0a6e95d1e171b5.tar.bz2 historical-904dbec68ed51a4e4b0695797b0a6e95d1e171b5.zip |
Version bump, drop old
Package-Manager: portage-2.2.0_alpha171-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x35899067
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/freenet/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/freenet/Manifest | 20 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1436.ebuild | 140 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1438.ebuild | 142 | ||||
-rw-r--r-- | net-p2p/freenet/freenet-0.7.5_p1440.ebuild (renamed from net-p2p/freenet/freenet-0.7.5_p1437.ebuild) | 2 |
5 files changed, 17 insertions, 296 deletions
diff --git a/net-p2p/freenet/ChangeLog b/net-p2p/freenet/ChangeLog index 0eab69c41660..71d00ce2a7d3 100644 --- a/net-p2p/freenet/ChangeLog +++ b/net-p2p/freenet/ChangeLog @@ -1,6 +1,13 @@ # 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.166 2013/03/27 16:12:23 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/ChangeLog,v 1.167 2013/04/05 21:30:39 tommy Exp $ + +*freenet-0.7.5_p1440 (05 Apr 2013) + + 05 Apr 2013; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + +freenet-0.7.5_p1440.ebuild, -freenet-0.7.5_p1436.ebuild, + -freenet-0.7.5_p1437.ebuild, -freenet-0.7.5_p1438.ebuild: + Version bump, drop old *freenet-0.7.5_p1438 (27 Mar 2013) diff --git a/net-p2p/freenet/Manifest b/net-p2p/freenet/Manifest index 1e45ae51d49e..b4285d8b6316 100644 --- a/net-p2p/freenet/Manifest +++ b/net-p2p/freenet/Manifest @@ -11,22 +11,18 @@ AUX freenet-0.7.5_p1422-wrapper.conf 947 SHA256 213508785a1bb2bd1263f434fc52b45b AUX freenet.old 452 SHA256 b3047b40128bbd7843dc370ab0aa150a9836ed789f48181bd6d8fc72f1714fa6 SHA512 7f12188a1e81f40f361d6df4cf0ae0f8af1363da19318ce04625411b0ff30badb53b440c984589d9f1386ad05e6b8e4201eb79c99f381468f7f6356dccebb3a9 WHIRLPOOL 182ff0f515c6832a17880ea1db705e5ba690b6d08f1e4d3f12aa4f6e291dab68491507b14541b89a13b4ba797296ac432eaaa24cd8b35ad2d63d14bc6a6c0fae 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_p1436.zip 4598276 SHA256 0b2b02fd251a825a5f69ee2e03fb4e5b9fb8728459d733f43fbabb19c3f7a2d7 SHA512 29900940543aceb19a7fd49105d5a161d732f6f68cc8aeb1682a736e747fa9c792bb647112ea5a221bc7c37832648f7fed566a98619dd469d3e0a5bc41ed9eef WHIRLPOOL c4093ed35d16207d0783a6ac9a1202637145a4a53f24483bc3c06c0d61827582c8951eee820fac67a0c2912a5cd93e7fb8b24a1f730a1f2019735fcd901dcab6 -DIST freenet-0.7.5_p1437.zip 4613783 SHA256 4396ec0f8d5fd93a102b1b6983267269b60c91b89ca0fa297da9ba6a9aa878f0 SHA512 3c6b2817c4ba29f4b2d5e3015f6d68c870a6598c8d23d92880699fa151461d9a7d89c740aa04813d888652faf2b7048f8ce431dcb5d1c0cd058b98a09a4c8080 WHIRLPOOL c537a9875c246634bf9631f46c8fff82d5177b39edfbef6e3c12f3ec5fe4968f9e5a78e0f118e58a5651c355aad4044a7938987a4bc48652246ed6f37cc9fe39 -DIST freenet-0.7.5_p1438.zip 4613352 SHA256 376e85f509fa4f7bb7f2f951a6e2403bb36a3ea970d5c5159b30658c313c75bf SHA512 b1dd24ff81e3236edf74ce97ddf207bc77c24060aae6ccf863ec40e6a6dd0d675ff14269a201d90204448f74e0c7abaa3493ef96570b3c49258b2f41f4fcd7d0 WHIRLPOOL a3817cb87e762decbf9e7ae6a68375ab3228417a62f547f318867195bba6b0203392e7e53a9e02aad53dc53ac4ccf24a082b2bcec790975910be9c825af98cba +DIST freenet-0.7.5_p1440.zip 4616954 SHA256 45ec7762896e8159484310b4a99f613932e5f51bf489e0b93b92b83ad6af04be SHA512 fdb0f61858baad9a0df6c234ff957cf282836662c7fca41bd6a2b2be62a6ac46481eef8a50d58c9e378f7d557394250a2c3ef62d1a8ba51a0328fde536ba3704 WHIRLPOOL 360990a236f9166b9fef90c142dd5a08de9e80070ab3d295016f66538ccb1082e95b11157014561d24148e059d3bf206a3ecf28288dc5b3454b7abd74389c6b8 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_p1436.ebuild 4275 SHA256 3a9d5b5ffb7eebb3006d5d49879ae31554e7047a653a5bbfb76b0f724165ace6 SHA512 a17290693d16bdb4811a187a3bcbce898b757768046067487c7366166b61736b09a82ade8cd2bcd5ee795fb41b440ee6e09854b378318a5a50c96069adf974ea WHIRLPOOL 20859b3f009b92824025a4585d95edb89b082fa68de5658e98aeb68220dc03b29d19b0e1180db7fab66940c397ba2a300d39c81439f0d7f243e9c637a91b328d -EBUILD freenet-0.7.5_p1437.ebuild 4323 SHA256 dcf2f372e925c3dc940dd93f7bb29edf3d1b089060e3e0cb525e5bb03b15a11d SHA512 8ef5db965cd7172c89f4b5c45d238a3c0ddffd6d021c1bab43639c3d4a09cb67dbc3803f6ac3f8e056bfc54d84fd4351b61d084dde304d960ac331994595e534 WHIRLPOOL 65fda98ffb4f28527805bea48342a9bd05e58ab934c7b16638ee888b95762871a07fdb7aa9b4ce4ab3d3f3423910bccf532184cf99b29d7f562a1384d5ff36a4 -EBUILD freenet-0.7.5_p1438.ebuild 4323 SHA256 f8f97ebed51d38d4e202d33a75959c33e199915674a17e9e0c48b3b1cc7e7c8e SHA512 db624451ddfdfb32308d4b484fe35d07735f72f8212a5aab482cf4acd8e0979601e9dd4d0ddded977f6d5b58a7024312a5de4002c93e82fae53aee6d685e5cb9 WHIRLPOOL 3546aaa48b30021fc23cc0a4b8a7684da3f8ad86e0b2ce630b9a3ef2174379e9d6b37b08832e056b3a4ebb0dab8d51dcb764f62b0ff6c78667b7ad782245135f -MISC ChangeLog 22814 SHA256 95db3bc8cac8087882d176e03fd3ae5c3e11ade670dd2e3b14368721bd8932f0 SHA512 cdf643e84b86ba7c0901013705ea392e2cf906013affaa4ff365096442df96aa8ca2adf2aa6ed1d73149a4a7c7bbb27120a2a8425fe2d4067fc80b745d5d44ce WHIRLPOOL ae213f4c57f0db6ec40e51fd823eaa78ddf4f08cd8d8fdd31d89b382fbb19a86f096b62be877928d8bd00e392c00fd1065f11586303d434563dd314da4a83a83 +EBUILD freenet-0.7.5_p1440.ebuild 4323 SHA256 9c45d480a9a17cb296533089f74565e5f51e23139d394c0976b353b4a0c8fd27 SHA512 1616a4af0e26ddc4f3f7cd13dff236c854890edb317d75c904771ee068ae8d36a493dd176886a2d10ca2422f60b2609ee6d52a451657795b3c9fdd8f9d5c4fc4 WHIRLPOOL 11437f1b9f3a42b8e65a51018bf43a51147041e480b1fcf338002c4cd5b02110be3a0ccee5a5aeef5023147ec833cf7642336a63db48eb62f9131d0a623fe1fc +MISC ChangeLog 23055 SHA256 6903883a02c610f46c030912544e0f2d9f5ac456248cefbef11f7248ae63b3f3 SHA512 56671ab51769e32e23a1744ae3839aac0a26bce2bf29e6e9eb2f99af48907d0ee05eee2d8846e9243c33232928e64cece46071b513eea34e533dc586cbd76d85 WHIRLPOOL a7b9929e0a0312824bd2036258ebe97e8f33af2f9bb3eb0eed0f44de1adbb6ea99eb2ab9f7774d2c35de488b8f3f33dee5d16fe7ffa852e4e1283c567c5b8578 MISC metadata.xml 243 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219 SHA512 92bf36a1bad3877a5a981271afa7381a38f3cc87267233205af5aa0ad53c455d851bb1d9ff60fe02eda49a3347c497c5bfeaa4c160542abd62d81a0450c4b77f WHIRLPOOL 18fde625e32450606e852e52f034c73d6514284aa19842867313432d1ab1cc1d40ceae766c0c61b927a7b5c3917a6624c8e875583f49c0d5951797cf66e8ff95 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iJwEAQEIAAYFAlFTGmwACgkQG7kqcTWJkGcRbAP+KeVfu6WNaIoyZooX3W0s85Uz -nclk/aQtQ/EOrjsFZ2I22jkPawGgvzLjt0XNUVM9EnbA6npLzuA7+VbV4nOSVscn -nLC76/kkAC4SHqCVFrmRKXebMOEjIzHK/VbEpzJD4ndsaIGrEObsQSR6tJzp62ac -Y6iZ8Nxw8DAfTFpVkkM= -=V1u9 +iJwEAQEIAAYFAlFfQoYACgkQG7kqcTWJkGeW5QQAoNgI+aZ+wf+CR6+kHDHmxFux +bRszEwgcNs4oMGHJqSbajLvJWUSLGs9h342xjE3f6jdCL2N3ghyImtvY87Hd6zcL +bOMuLkiAKUKIRzI8FeLfzMV2ROTYG49pw/Gduhm4TsvdFsKIZMVhnLppoDbZuh6H +tbw5jNE3uI8UOghhOWw= +=Vg0o -----END PGP SIGNATURE----- diff --git a/net-p2p/freenet/freenet-0.7.5_p1436.ebuild b/net-p2p/freenet/freenet-0.7.5_p1436.ebuild deleted file mode 100644 index 25405c336684..000000000000 --- a/net-p2p/freenet/freenet-0.7.5_p1436.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# 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_p1436.ebuild,v 1.1 2013/03/03 16:16:42 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="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="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" - -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 -} diff --git a/net-p2p/freenet/freenet-0.7.5_p1438.ebuild b/net-p2p/freenet/freenet-0.7.5_p1438.ebuild deleted file mode 100644 index 52f86ade7c81..000000000000 --- a/net-p2p/freenet/freenet-0.7.5_p1438.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# 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_p1438.ebuild,v 1.1 2013/03/27 16:12:23 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 -} diff --git a/net-p2p/freenet/freenet-0.7.5_p1437.ebuild b/net-p2p/freenet/freenet-0.7.5_p1440.ebuild index 50b9a96b1e13..4bdaba246657 100644 --- a/net-p2p/freenet/freenet-0.7.5_p1437.ebuild +++ b/net-p2p/freenet/freenet-0.7.5_p1440.ebuild @@ -1,6 +1,6 @@ # 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_p1437.ebuild,v 1.1 2013/03/23 15:17:43 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/freenet/freenet-0.7.5_p1440.ebuild,v 1.1 2013/04/05 21:30:39 tommy Exp $ EAPI="2" DATE=20130218 |