summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/java-service-wrapper/ChangeLog8
-rw-r--r--dev-java/java-service-wrapper/Manifest4
-rw-r--r--dev-java/java-service-wrapper/java-service-wrapper-3.3.1.ebuild71
3 files changed, 81 insertions, 2 deletions
diff --git a/dev-java/java-service-wrapper/ChangeLog b/dev-java/java-service-wrapper/ChangeLog
index 8ed6f28c3411..6e118cbc3625 100644
--- a/dev-java/java-service-wrapper/ChangeLog
+++ b/dev-java/java-service-wrapper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/java-service-wrapper
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-service-wrapper/ChangeLog,v 1.2 2008/02/27 09:36:13 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-service-wrapper/ChangeLog,v 1.3 2008/09/06 21:28:17 ali_bush Exp $
+
+*java-service-wrapper-3.3.1 (06 Sep 2008)
+
+ 06 Sep 2008; Alistair Bush <ali_bush@gentoo.org>
+ +java-service-wrapper-3.3.1.ebuild:
+ Bump to 3.3.1. See #236856. Thanks a lot to tommy@gentoo.org
27 Feb 2008; Alistair Bush <ali_bush@gentoo.org>
java-service-wrapper-3.2.3.ebuild:
diff --git a/dev-java/java-service-wrapper/Manifest b/dev-java/java-service-wrapper/Manifest
index 6dfa10416077..468c891f0511 100644
--- a/dev-java/java-service-wrapper/Manifest
+++ b/dev-java/java-service-wrapper/Manifest
@@ -1,5 +1,7 @@
AUX java-service-wrapper-3.2.3-build.xml.patch 2150 RMD160 00633e650d5a523f4ee92fb7908afa35e0d81b45 SHA1 f34c0ccd01aedc42aca381101420d8fc433ea86b SHA256 0a24d546abcf7d87cf766bb4a4b35fbf5e66a35be8e625f9e45f82aba78763bd
DIST wrapper_3.2.3_src.tar.gz 3409483 RMD160 6638c8a1aef81f6b9c7dea006d185f08709c738d SHA1 92b5e7efab1f3341cd47170cba1d4d8b1ba3c766 SHA256 7e57b0103959fe3566def64b1dd3fef6537032a7e4b2a7811594f1db7d9f5859
+DIST wrapper_3.3.1_src.zip 381967 RMD160 009021f9d007ca025caf1f917ea9c96aa3dde4f5 SHA1 68331f9049ec456fe04996a25152e307cf1bd58e SHA256 5d3090c235e93bf5f502edd191b5aeb5d611743e8a4d1908fe308917ef601594
EBUILD java-service-wrapper-3.2.3.ebuild 1809 RMD160 276e290a8881e19ce0e7a076905d79f5d1c37561 SHA1 ddcfcc81b06f3a6c2c3c68e10200af8c89f1a288 SHA256 4b90ce51611acebac20b39f1bceb45eb44f26d78582ed01f428fe36f5a79a18a
-MISC ChangeLog 679 RMD160 c47716b30f2357ca0703631b0d66ff6bc36c1e8c SHA1 85c45accc97c2fdb3fa1a326c7dd1db1c42d7219 SHA256 f2db4d29bf99886c47dbeafc05d1855f2ce85048303d901a38f4bb576d9df80a
+EBUILD java-service-wrapper-3.3.1.ebuild 1741 RMD160 450aaf7948efe78dbc90bf7e509257913842db00 SHA1 70b5ee98534bc3b81b5bbd52116a785452c38722 SHA256 d477532730abacf6dc5c4e5f57a5d82707c3809b0b10b4c416e8f6128efe16c0
+MISC ChangeLog 875 RMD160 d169cbc4afddf41832c6291e4a9e7d6ef034c2dc SHA1 cc351339be84d2b62fd6e9a6074d32e31ae02012 SHA256 168fc4f464e7f445f7665981ae39037dc1bde6e523d02af86801be343d6c5cdd
MISC metadata.xml 678 RMD160 7e5baa9bf71b0ae917d38506aa43ac224ea71f67 SHA1 d6e69438e3ca142e53b7ed78e13c3d59eb797df9 SHA256 66efe3088c28882763a88af92caac086fa1ebfbde847433080861b54592d7a07
diff --git a/dev-java/java-service-wrapper/java-service-wrapper-3.3.1.ebuild b/dev-java/java-service-wrapper/java-service-wrapper-3.3.1.ebuild
new file mode 100644
index 000000000000..52d206992605
--- /dev/null
+++ b/dev-java/java-service-wrapper/java-service-wrapper-3.3.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-service-wrapper/java-service-wrapper-3.3.1.ebuild,v 1.1 2008/09/06 21:28:17 ali_bush Exp $
+
+WANT_ANT_TASKS="ant-nodeps"
+JAVA_PKG_IUSE="doc source test"
+inherit base java-pkg-2 java-ant-2 eutils
+
+MY_PN="wrapper"
+MY_P="${MY_PN}_${PV}_src"
+DESCRIPTION="A wrapper that makes it possible to install a Java Application as daemon."
+HOMEPAGE="http://wrapper.tanukisoftware.org/"
+SRC_URI="http://${MY_PN}.tanukisoftware.org/download/${PV}/${MY_P}.zip"
+
+LICENSE="java-service-wrapper"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND=">=virtual/jdk-1.4
+ test? (
+ dev-java/ant-junit
+ =dev-java/junit-3*
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+
+ BITS="32"
+ use amd64 && BITS="64"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # TODO file upstream
+
+ use x86 && sed -i -e 's|gcc -O3 -Wall --pedantic|$(CC) $(CFLAGS) -fPIC|g' \
+ "src/c/Makefile-linux-x86-${BITS}.make"
+ use amd64 && sed -i -e 's|gcc -O3 -fPIC -Wall --pedantic|$(CC) $(CFLAGS) -fPIC|g' \
+ "src/c/Makefile-linux-x86-${BITS}.make"
+
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ tc-export CC
+ eant -Dbits=${BITS} jar compile-c $(use_doc -Djdoc.dir=api)
+}
+
+src_test() {
+ java-pkg_jar-from --build-only --into lib junit
+ local gentoo.cp="gentoo.classpath=$(java-pkg_get-jars --build-only junit)"
+ ANT_TASKS="ant-junit ant-nodeps" eant -Dbits="${BITS}" test
+}
+
+src_install() {
+ java-pkg_dojar lib/wrapper.jar
+ java-pkg_doso lib/libwrapper.so
+
+ dobin bin/wrapper
+ dodoc doc/{readme.txt,revisions.txt}
+
+ use doc && java-pkg_dojavadoc api
+ use source && java-pkg_dosrc src/java/*
+}