summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-04-12 22:57:12 +0000
committerThomas Sachau <tommy@gentoo.org>2008-04-12 22:57:12 +0000
commit1d7a03c95467aad0587f4ac0a906e564e59a53af (patch)
tree01879453c0f4415b4daba0d60f81b52fa159c969 /net-p2p/thaw
parentsci-mathematics/dataplot: Use alphabetical order (diff)
downloadsunrise-1d7a03c95467aad0587f4ac0a906e564e59a53af.tar.gz
sunrise-1d7a03c95467aad0587f4ac0a906e564e59a53af.tar.bz2
sunrise-1d7a03c95467aad0587f4ac0a906e564e59a53af.zip
net-p2p/thaw: New upstream release
svn path=/sunrise/; revision=6040
Diffstat (limited to 'net-p2p/thaw')
-rw-r--r--net-p2p/thaw/ChangeLog4
-rw-r--r--net-p2p/thaw/Manifest7
-rw-r--r--net-p2p/thaw/thaw-0.8.4.ebuild (renamed from net-p2p/thaw/thaw-0.8.2.ebuild)46
3 files changed, 28 insertions, 29 deletions
diff --git a/net-p2p/thaw/ChangeLog b/net-p2p/thaw/ChangeLog
index 5134de5c7..82ac302ab 100644
--- a/net-p2p/thaw/ChangeLog
+++ b/net-p2p/thaw/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Apr 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ -thaw-0.8.2.ebuild, +thaw-0.8.4.ebuild:
+ New upstream release
+
29 Jan 2008; (Tommy[D]) tommy100@gmx.de -thaw-0.8.1.ebuild,
+thaw-0.8.2.ebuild:
New upstream release
diff --git a/net-p2p/thaw/Manifest b/net-p2p/thaw/Manifest
index 1dfff9554..39f74ead8 100644
--- a/net-p2p/thaw/Manifest
+++ b/net-p2p/thaw/Manifest
@@ -1,5 +1,4 @@
-DIST bcprov-jdk14-138.jar 1551468 RMD160 a574bc021fc3e6b0f5b89bee9e099f208242d6cb SHA1 de366c3243a586eb3c0e2bcde1ed9bb1bfb985ff SHA256 d60b88c5d1932de8d98edd5a3ae2d5d5647793de3eb6157015807ee523cd2bee
-DIST thaw-0.8.2.tar.bz2 963084 RMD160 8ad09b5504ee739205ccdb681d3dc1b727c8b5be SHA1 d2bf6e251f9f54dfe3d6a52a474cb6c2f25d0c62 SHA256 6bd07730da9359f6e4f290967657ae57d6b1787b58fea0f83a51da76cf324bfe
-EBUILD thaw-0.8.2.ebuild 1399 RMD160 2d0c2c4076b0f5daa11d296063be99afff3d8aa2 SHA1 c7948edc994c59df27a976a40eca623ae21adf41 SHA256 ed6e79828b52feda0685889a00d348104a4ed3179215fc938576dee4f29bd191
-MISC ChangeLog 327 RMD160 e64d362b531181c9c5fe04b6f5ae026ebbc80ddb SHA1 c37772bed0817625cb8e8269bf5b997841007020 SHA256 339d2579e651b13432329756ef9a5fa67e4cd7c340a2660e7526aac5a2ce1683
+DIST thaw-0.8.4.tar.bz2 1000492 RMD160 decbe0eaf95338722c10aedd2f19973ff6aad137 SHA1 ab2399c6cec85fbca56448d9adb252f2408d69c8 SHA256 29e630cfca8d6665e21863d5250215c27a73ff18d97b860b10281082a8b62b4d
+EBUILD thaw-0.8.4.ebuild 1324 RMD160 e34e0ec72847aba9647e5067544c06a93917f781 SHA1 c1159ca68f63f16c81ec27a12a1c0d3e1cefc18c SHA256 f5864eed12591642bb998efc7df266fcb4cd26f309bd4618e697ae408d939717
+MISC ChangeLog 452 RMD160 4daab1368fc17739aae48e11be046496aff912a2 SHA1 b286f43d7d0fd0faebb8de3969cbc271f97fa52e SHA256 0a969ce68f959afdc669b5352b8ebc25733556a20f7e21dfe22f329faa5f87b5
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-p2p/thaw/thaw-0.8.2.ebuild b/net-p2p/thaw/thaw-0.8.4.ebuild
index 61007e98b..c7b1aaf57 100644
--- a/net-p2p/thaw/thaw-0.8.2.ebuild
+++ b/net-p2p/thaw/thaw-0.8.4.ebuild
@@ -2,39 +2,37 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils
+inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="A filesharing utility and upload/download manager for freenet"
HOMEPAGE="http://wiki.freenetproject.org/Thaw/"
-SRC_URI="http://dev.gentooexperimental.org/~tommy/${P}.tar.bz2
- http://www.bouncycastle.org/download/bcprov-jdk14-138.jar"
+SRC_URI="http://dev.gentooexperimental.org/~tommy/${P}.tar.bz2"
LICENSE="GPL-3"
+
IUSE=""
SLOT="0"
-KEYWORDS="~x86"
-RDEPEND=">=virtual/jre-1.4
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/jmdns
+ dev-db/hsqldb
+ dev-java/bcprov"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.4
|| ( net-p2p/freenet
net-p2p/freenet-bin )"
-DEPEND=">=virtual/jdk-1.4
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.4
dev-java/ant
dev-java/jmdns
dev-db/hsqldb"
S="${WORKDIR}/thaw"
-pkg_setup() {
- enewgroup thaw
-}
-
src_unpack() {
- unpack ${P}.tar.bz2
- cd "${S}"
- cp -R /usr/share/jmdns/lib .
- cp /usr/share/hsqldb/lib/hsqldb.jar lib/
- cp "${DISTDIR}"/bcprov-jdk14-138.jar lib/BouncyCastle.jar
-}
-
-src_compile() {
- ant
+ unpack ${A}
+ cd "${S}"/lib
+ java-pkg_jar-from jmdns
+ java-pkg_jar-from hsqldb
+ java-pkg_jar-from bcprov bcprov.jar BouncyCastle.jar
}
src_install() {
@@ -43,15 +41,13 @@ src_install() {
echo "cd /opt/thaw">thaw
echo "java -jar Thaw.jar">>thaw
dobin thaw
- fowners :thaw /usr/bin/thaw
- fperms o-rx /usr/bin/thaw
- fowners -R :thaw /opt/thaw
+ dosym /usr/share/jmdns/lib/jmdns.jar /opt/thaw/
+ dosym /usr/share/hsqldb/lib/hsqldb.jar /opt/thaw
+ dosym /usr/share/bcprov/lib/bcprov.jar /opt/thaw/BouncyCastle.jar
}
pkg_postinst() {
- chmod g+rw /opt/thaw
- elog "You have to be in the thaw-group to start thaw."
- elog "use 'gpasswd -a user thaw' to add user to the thaw-group."
+ chmod o+w /opt/thaw
}
pkg_postrm() {