diff options
Diffstat (limited to 'net-libs/willuhn-hbci4java')
5 files changed, 154 insertions, 9 deletions
diff --git a/net-libs/willuhn-hbci4java/Manifest b/net-libs/willuhn-hbci4java/Manifest index 494f4ac..3a9ff0e 100644 --- a/net-libs/willuhn-hbci4java/Manifest +++ b/net-libs/willuhn-hbci4java/Manifest @@ -1,7 +1,11 @@ -AUX java_home.patch 626 SHA256 6a8e5e359745e53fe52e44ee8ebea6faceffd4e24a7979b374eaee297243b977 SHA512 aad935c81cec04af54cb417829d770d77dde5ecbda5f45f92ea55519daee09e567cb54872c129bbbf8de168ce839374e9425de803b5eac4bf0418c714f73ca83 WHIRLPOOL 319c775a5c8e6fd8543938e6378c8bbe0ea737c9bec3e9f8f12dad700f4097b8ab6d9611ec3744a6ee72f58b3d969bd6d87a64e8a8e2e20f554a1482d30e9c87 +AUX java_home.patch 801 SHA256 39eb0d359acfbdc9305acec5f9d9acafd0bf742cbb40e13fbe2ba63bcec8bbde SHA512 71917237379da6dfe1d4c1296531c35f41c973436d2b68c502558a52e5498ad210754478574f090017943cf976aa937cfaa7f458cdbe8dffb0af4a862534bb2d WHIRLPOOL 60cfb86eb4d8fc9d7da2c48b7e1b312c76ec449cab25d649e0ecaeddbef8eb14e149fd80cd74908957ab91afc6c5f7bc54650386313117dc123a9fb6836b1b6a DIST willuhn-hbci4java-2.5.12_p20130130.zip 4707337 SHA256 560b9d9120780f955aef1a27a92ae0473c4c3bb82791eea212763631f9ee0f57 SHA512 235195618fd109d3cff2a3a4af2c62a806e0c7b058c2b9c143fca95210e6c797dc1abc388b8c05b33d7892e996c5f36949f293f33ae5759731df3b9d3dd32814 WHIRLPOOL fcb3f16bccd14e54615b47986519d5ddfb14caa0d3a8c0f7d5699a5b405f3dc2bea9a3727a9d3626cf82a28f4f35b90a42d0da2fac265ef05966aebc9c7c5f5d DIST willuhn-hbci4java-2.5.12_p20131218.zip 5478972 SHA256 bc4f8cd6d7d1216f36b8c82048917ca776580a68c09bbb44c5d00a2be8b452cf SHA512 86ab21cc0a1074de5dae453c78be798cf6f02268c5ae4d4c51d7b697d6fd589706640ed6bb9ec464ff40552b37055e1083fb6dd552b2adddcaa1ddd6f1db1162 WHIRLPOOL 734b2ab83d529f41a96ec9da480a89e4ffac4a5f1d68b5809442cc665371015b9cea466d122b0278d07e6b091097e2456568d55361af33b544112e17f125b5df +DIST willuhn-hbci4java-2.5.12_p20140109.zip 5486418 SHA256 be9c1fd170d53c4c16689246722cb28cccfbe6b133faf4f80be954eef40fc7ab SHA512 e5baf21ff18bb6870fa4d8caadd2b7573cc980638637e1766205c72fcf1498dd2cf1ade83d7084cd97f7505d978be41ec87e1f5eb05fda685bb0b4e2a1ddf7fc WHIRLPOOL 1e34949cd262d2627d384511fb7414a0d9719992efc2031373e07b9dd93c7b45d8f300f87fb7fe1fad3cdaa8f09365fb87257efe4dbfd581c30a9dcd2e10685c +DIST willuhn-hbci4java-2.5.12_p20140221.zip 5489177 SHA256 8299740141d949803aa0432bdb027403dae9b2aa61ad71c287db9682a78b2f35 SHA512 ffe117ea8a2f56a6c38c8a9342ccf827f09876b33d556c4dca812207bfc3b1461eb4e23c9a9d394f510124b90e6c0434f156dfc5dbae0d212a05733c4492474d WHIRLPOOL 241aadb20fa92e383d8f190c90578c3b4d0d464de9ce142f2092a1410124394c9d4ff36748544e9b8120097d5f9bc16b0f1f0063ef2a849a0e044142a83f1324 DIST willuhn-hbci4java-2.5.12_p30.tar.gz 2833964 SHA256 6fd541c02384d64ece3e032a7b0650bf52d86ea89c9afb439df1bb1ad471ed19 SHA512 ac2371b886decf692fb8afdb58a810e613679d7984b3d6853e778d7559c4127fc0fac4bf387ec789e4c8ad3ab95c5e4ce17e3fbde0ec478648f1ed53cff8f69c WHIRLPOOL e2e094e8b8eea845a66780b09c0112384fb9cc6624ec1a919206b60ac9246b32ca92ad3fa294e19841666c0a9347e9192a32fbf782e3ddcfeceeb8f54012a694 EBUILD willuhn-hbci4java-2.5.12_p20130130.ebuild 1471 SHA256 909b60ce4ad8832f6a7be5b2d8d670582ee636d36147f472a85ac2bd770c6a95 SHA512 46e1cc77cf7a790f31c3a8544f43c36ce949787e67a51fd071e002e5c90075895830dda80f619176e176c3beb4fc958c6da29d576f6520b69e176ebb9c8af5ee WHIRLPOOL 7558ba504472d1d58c725284b9c004c4300ff477b47470473f5ec7e5473dfcf663590fe948baee70d3489824d19dc09225d89e729055485bbf4a0d0524409d9c -EBUILD willuhn-hbci4java-2.5.12_p20131218.ebuild 1528 SHA256 4be86e3732bb4bc663921ac694e72d234d022c4c1ec323253f581c61012ce56b SHA512 1691f2d00e094088827159f83ef6f08a17e9ede97e0a1e513a0abd8a6b6787cd596da2bbeb43e2876d1cdf75824f7f4aac05e366809546705056a4f625673828 WHIRLPOOL 21660424a4038a4f0b154fee26c5a4be2f78c8a2cd828d99aad34044372bd27827934e292118fd494da4ed47e3a062c25ab334d9ac86beb1042c0230e9b05aab +EBUILD willuhn-hbci4java-2.5.12_p20131218.ebuild 1530 SHA256 1f19d212875825d03236c334ecdc0ad0389eb3077e5480891478912e1747aaec SHA512 6ad808dc72f6bd2b750d231d57e6b9bf29ab4fdd7e26f74346b1df1214c747de83ce3e436c69af8e3b1154cec11cbcd572f5a85060cd5163b33898bfb1313f32 WHIRLPOOL fb4097b29b8e49950fbbab3e825eadd3e789478fcbafbeda15d26f4f1f560c320e40bdf716830bd22ce66c469daea0f0b3e425a44e54f4d3287da118d2b249bf +EBUILD willuhn-hbci4java-2.5.12_p20140109.ebuild 1530 SHA256 9ea91cf77efbba91ea7d5e7dd94cff2b11147453f82a59f5d10ce3cf4d6958aa SHA512 49d6785120ca6828471753dad82fe1bcd59f64c562548ce90c612363bd88856959702b48d1382cf353684c32fd74e555dd7cb4675ddeb80cde85c1bb471444d9 WHIRLPOOL 4766c1fc409b95e64d48e6a81bfc8637593004308e8525f11541700a022e7c954d1a50d221ef1110335cd4e9344b79cd4d2a4933591d6d74376f04e485ecaba0 +EBUILD willuhn-hbci4java-2.5.12_p20140221.ebuild 1530 SHA256 5ed3eacada7d3bb4c03d0ddec9cc809aab9e009e108de819349b2b231906e53a SHA512 ffd3a2c943e90a577a0e6280f7201c33d0fdc53d6ac53ac6d03f78ae203ce34b0a82be08c1d450817d9ee4e964a4d363e941776680e192d28c36d4be693f5a86 WHIRLPOOL c09394ceccb37b32e28dc04c0d9e18be8c5c6807f0a748f9f4b344ff04d2b93ac4eab085460cba10201c6ac2a7db9b82eadac0c5456fbbf1c872a092d86e449f EBUILD willuhn-hbci4java-2.5.12_p30.ebuild 1448 SHA256 7e699f4f145141bda9cf00eaff1f8d8efdec0c93048506835c2a95d6bcf31de2 SHA512 8e1d4e5bb2ff89dd8f18ad123d45d3dde01e143381747b76639819b07d4773492f745024aa390b9ddea01952e14f02e62c09a28d257f11d6f373757f076eff88 WHIRLPOOL 7ca63a362a206ece683a88df617786c99570e545e6c3b2b7a26c25d3661335c21385e2f45860b8cc49ee2e77be99573ad6569193a573d373bb5d241ff34ae4c8 diff --git a/net-libs/willuhn-hbci4java/files/java_home.patch b/net-libs/willuhn-hbci4java/files/java_home.patch index 4d443ed..9a61032 100644 --- a/net-libs/willuhn-hbci4java/files/java_home.patch +++ b/net-libs/willuhn-hbci4java/files/java_home.patch @@ -1,10 +1,13 @@ -Index: hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile +Index: hbci4java-bc2108ad8dabe468e3fca314c4314d63d9a036ef/chipcard/src/frontend/Makefile =================================================================== ---- hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d.orig/chipcard/src/frontend/Makefile -+++ hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile -@@ -1,4 +1,4 @@ +--- hbci4java-bc2108ad8dabe468e3fca314c4314d63d9a036ef.orig/chipcard/src/frontend/Makefile ++++ hbci4java-bc2108ad8dabe468e3fca314c4314d63d9a036ef/chipcard/src/frontend/Makefile +@@ -1,6 +1,6 @@ -JAVA_HOME = $(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::") +JAVA_HOME = ${JAVA_HOME-$(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::")} DEFINES = -D__UNIX - INCLUDES = -I../include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux +-INCLUDES = -I../include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux ++INCLUDES = -I../include -I/opt/icedtea-bin-6.1.12.7/include/ -I/opt/icedtea-bin-6.1.12.7/include/linux/ WARNINGS = -Wall + # removed "-Werror -pedantic" because of dlsym() typecast problem + diff --git a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild index 3f9bea6..3ed16b9 100644 --- a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild +++ b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/willuhn/hbci4java/archive/${COMMIT}.zip -> ${P}.zip" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+smartcard" +IUSE="ctapi +smartcard" S="${WORKDIR}/hbci4java-${COMMIT}" @@ -25,7 +25,7 @@ COMMON_DEP=" dev-java/xerces:2 >=dev-java/log4j-1.2.8:0 !net-libs/hbci4java - smartcard? ( sys-libs/pcsc-ctapi-wrapper )" + ctapi? ( sys-libs/pcsc-ctapi-wrapper )" RDEPEND=">=virtual/jre-1.6 ${COMMON_DEP}" diff --git a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140109.ebuild b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140109.ebuild new file mode 100644 index 0000000..3f5dbe4 --- /dev/null +++ b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140109.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +COMMIT="65daa92ff8f64bb0d6af7a5f4adf5e43df4378fa" + +DESCRIPTION="A Java Library for HBCI/FinTS (Hibiscus Branch)" +HOMEPAGE="https://github.com/willuhn/hbci4java" +SRC_URI="https://github.com/willuhn/hbci4java/archive/${COMMIT}.zip -> ${P}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ctapi +smartcard" + +S="${WORKDIR}/hbci4java-${COMMIT}" + +COMMON_DEP=" + dev-java/xerces:2 + >=dev-java/log4j-1.2.8:0 + !net-libs/hbci4java + ctapi? ( sys-libs/pcsc-ctapi-wrapper )" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${COMMON_DEP}" + +# JNI libraries don't need SONAME +QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so" + +EANT_BUILD_TARGET="package" + +#pkg_setup() { +# use smartcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}" +#} + +src_unpack() { + unpack ${A} + mv ${PN}-* "${S}" +} + +java_prepare() { + epatch ${FILESDIR}/java_home.patch + eant clean + rm -f chipcard/lib/* +} + +src_install() { + java-pkg_newjar dist/jar/hbci4java.jar + + if use smartcard; then + dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed" + use amd64 && dosym libhbci4java-card-linux.so /usr/$(get_libdir)/libhbci4java-card-linux-64.so + fi + + dodoc readme.md || die "dodoc failed" + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/org +} diff --git a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140221.ebuild b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140221.ebuild new file mode 100644 index 0000000..66c21fb --- /dev/null +++ b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20140221.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +COMMIT="bc2108ad8dabe468e3fca314c4314d63d9a036ef" + +DESCRIPTION="A Java Library for HBCI/FinTS (Hibiscus Branch)" +HOMEPAGE="https://github.com/willuhn/hbci4java" +SRC_URI="https://github.com/willuhn/hbci4java/archive/${COMMIT}.zip -> ${P}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ctapi +smartcard" + +S="${WORKDIR}/hbci4java-${COMMIT}" + +COMMON_DEP=" + dev-java/xerces:2 + >=dev-java/log4j-1.2.8:0 + !net-libs/hbci4java + ctapi? ( sys-libs/pcsc-ctapi-wrapper )" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${COMMON_DEP}" + +# JNI libraries don't need SONAME +QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so" + +EANT_BUILD_TARGET="package" + +#pkg_setup() { +# use smartcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}" +#} + +src_unpack() { + unpack ${A} + mv ${PN}-* "${S}" +} + +java_prepare() { + epatch ${FILESDIR}/java_home.patch + eant clean + rm -f chipcard/lib/* +} + +src_install() { + java-pkg_newjar dist/jar/hbci4java.jar + + if use smartcard; then + dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed" + use amd64 && dosym libhbci4java-card-linux.so /usr/$(get_libdir)/libhbci4java-card-linux-64.so + fi + + dodoc readme.md || die "dodoc failed" + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/org +} |