diff options
Diffstat (limited to 'dev-java/obantoo')
-rw-r--r-- | dev-java/obantoo/Manifest | 8 | ||||
-rw-r--r-- | dev-java/obantoo/files/1.4.11-hibiscus-encoding.patch | 151 | ||||
-rw-r--r-- | dev-java/obantoo/obantoo-1.5.1.ebuild | 49 | ||||
-rw-r--r-- | dev-java/obantoo/obantoo-2.0.9.ebuild | 61 | ||||
-rw-r--r-- | dev-java/obantoo/obantoo-2.1.12.ebuild (renamed from dev-java/obantoo/obantoo-1.5.2.ebuild) | 18 | ||||
-rw-r--r-- | dev-java/obantoo/obantoo-2.1.6.ebuild | 61 |
6 files changed, 10 insertions, 338 deletions
diff --git a/dev-java/obantoo/Manifest b/dev-java/obantoo/Manifest index 74ca0c4..9263d3d 100644 --- a/dev-java/obantoo/Manifest +++ b/dev-java/obantoo/Manifest @@ -1,7 +1,3 @@ AUX 1.4.11-hibiscus-encoding.patch 4967 SHA256 b0b60b1aac782df8d89e3e6773480d776c623ed0434eb2ca419b90fd7e8a7278 SHA512 3392cd972e6ced619efce7583e521999d34584ac5cda4a5b2beafbeacf84c9d16eb2f51c966ba6ac28055f14d61095bfe78e8f724083fe67a9c38b522b4b65f1 WHIRLPOOL 2e8f7574647cccba0632190d64dc99cb46608f497d4ff59c8d717f94e4af2d3be14e2fd56e6233892f6078aa121a33f22359ef2235904a036f2593b35ffb485f -DIST obantoo-1.5.1.zip 283790 SHA256 20d335034c3c56c8d8c4bde522f727dc7f99e8725997549b0323cb4495514a41 SHA512 d6616a0100b6fc028c051b84f99cf2dc83d26462bf598ac6301e8874c257417a2f1ae57a23352ab0710843772d0358a854ed7b678546ba6a5a316d924bfd4206 WHIRLPOOL b0b0019d6ab1a4eddf348f6269d9e4010c3d5c72eab5598be0f5b90bf9fa92020e6cf2b644e3fba08fa71d0f56a577471ec33823729edc39092429d10e5c8507 -DIST obantoo-1.5.2.zip 291683 SHA256 0da4ad09283197f87bca6a96fcf67b3bf695d7e70c30d00ce526ee30fc2795e0 SHA512 0566a8aa6fa716c609d383491c92d45bcff3d94d9a02ea360bd8668090967d78247c2845d0e5b5e3039761074da0b3195d27a8dca4e6c076dd645857881206d8 WHIRLPOOL f816cdee9d2040bbf5a0814e10f12607a9d0bb4cc9d925d8ee9bd47072a957ce81053e7568d612f646a3ed0171f12fcf6fe873368023681a9e525551b785971d -EBUILD obantoo-1.5.1.ebuild 973 SHA256 7f4033de1874b09fcb1b0ecad853d29bea09a36a6ff280ab190de96de6575c78 SHA512 c84753cfa37dc1697ea919972ad4bc006bb3b755aaf1e0c99722803713713657bf5b598fab601d24c7a0233f4da953b7b2857c06e76c96aaad986e8306fced00 WHIRLPOOL a6a77170504bc30f32a8f0d93ac6a7c6d6157faaf0d8d7de7460e153b3cd7173d39b04ba4188353f6294f7baf8eaad813d1a54f55eefb71c6b403c59f48d9564 -EBUILD obantoo-1.5.2.ebuild 975 SHA256 f34236fa29bf9e1eb38533d7a5642c09629d2e6a4d013e43a1ada023d774155e SHA512 e1b53ba6144d936751c7156b9207e72edfad2ae5c4560aca9d6f04a9106d59f02c8fc9da92034be165d5a46529056bfe84d7d22c1b66ccf0573733f8f930966d WHIRLPOOL a8fc6deb991451bea9beeaeb6ac09962641048e7b6725ea41eb77e39a594e7b62daf97bf68eee5fbee79ec02ff8f021f0c0b9f2626950ea0bf824aa3acafaef4 -EBUILD obantoo-2.0.9.ebuild 1427 SHA256 f71612b7852d2981efcaadee7c8cda0be2f9adcede66aea127653784f7f88418 SHA512 b6710336f339bbcde5c1b4d2fb406b4df280b08b9a24c749204ffa091c2ec5bafe5993a8f9f398687a3e6ff81138aa329019338557009ed0845566a106093d46 WHIRLPOOL aba80c8b804aa227d67fd846bc16297e407d02ab65b1dcd8ddb59b6bbd08af923f1ef556f2a7a6669afcf4c30fd023daaf3c9c27e8aab84563a925181ce535cc -EBUILD obantoo-2.1.6.ebuild 1427 SHA256 6b62f45443ae433a8677affb1d2d59901394c47bcd351413825324625bddd5cd SHA512 ce80c1d42890c76ad1f3fa587d0fd39b5c10a4ff307a1eb06f01186c34862e3d091b0656002abeb808b3166f5c72430646613d230a812930dca62e60f3fa73d9 WHIRLPOOL da9c72446a857bb3339f0976f7c3a66bc0810f00987c88423deaf39f11ce47b88c468c607f7a6c24a9fd189fd1e53580da3029e800183501596dc58f1c49538f +DIST obantoo-2.1.12.zip 2740423 SHA256 13c752bd50596efe89aed3ff8144bc8f1246a45820f7c411295ea64de8a849d8 SHA512 579e7287c7844a2160c05702c641700b06413c7628676874a189ec98d5c84af2b71517127d1787871ff7727a1ac8097a5d3d1064055434662fda82f8bec00caf WHIRLPOOL a135ee13334bad5ed1cd846d546152f0dd7c6794569846144f3d9b00a3a8b4f0a7c4534659c9108cd478f92f3b6a3da59ea7352f21ddff7f38187f235aa65492 +EBUILD obantoo-2.1.12.ebuild 924 SHA256 803c4a03e53d5096c32d286c21ed227baa5c70b5626aaffadd2afb1559ba908f SHA512 1108a0c6abaebfa71ac4f5154bff72f8ae33a758b50c20527a96292f9d9dc9ff01652333456247e9381b4905047b284ba239c2b06eb68dea98a87ffb2e987b5a WHIRLPOOL 2fe62135e1154c335a7dd0416bb270481d7fa2380ac277661cb5fa020bfadb0827ea19a63da216bf42f55743ad45195b2858f4d32890d1af88646426ad530cc3 diff --git a/dev-java/obantoo/files/1.4.11-hibiscus-encoding.patch b/dev-java/obantoo/files/1.4.11-hibiscus-encoding.patch deleted file mode 100644 index 29e74ca..0000000 --- a/dev-java/obantoo/files/1.4.11-hibiscus-encoding.patch +++ /dev/null @@ -1,151 +0,0 @@ ---- src/de/jost_net/OBanToo/Dtaus/DtausDateiParser.java 2008-07-09 15:02:58.000000000 +0200 -+++ DtausDateiParser.java 2010-12-28 15:45:29.907892004 +0100 -@@ -1,7 +1,7 @@ - /* - * $Source: /cvsroot/obantoo/obantoo/src/de/jost_net/OBanToo/Dtaus/DtausDateiParser.java,v $ -- * $Revision: 1.8 $ -- * $Date: 2008/02/17 08:30:46 $ -+ * $Revision: 1.10 $ -+ * $Date: 2008/08/23 12:18:30 $ - * $Author: jost $ - * - * Copyright 2006 by Heiner Jostkleigrewe -@@ -24,7 +24,8 @@ - * </p> - * <p> - * Dem Parser kann über einen speziellen Konstruktor mitgeteilt werden, wie -- * fehlertolerant er sein soll. -+ * fehlertolerant er sein soll. Standardmässig wird das Encoding ISO-8859-1 -+ * verwendet. In einem Konstruktor kann ein anderes Encoding vorgegeben werden. - * <ul> - * <li>SPEZIFIKATIONSKONFORM - entsprechend der DTAUS-Spezifikation wird ohne - * Fehlertoleranz gearbeitet.</li> -@@ -81,6 +82,8 @@ - */ - public class DtausDateiParser - { -+ private String encoding = "ISO-8859-1"; -+ - private InputStream dtaus; - - private ASatz asatz = null; -@@ -116,6 +119,13 @@ - this(new BufferedInputStream(new FileInputStream(filename)), toleranz); - } - -+ public DtausDateiParser(String filename, int toleranz, String encoding) -+ throws IOException, DtausException -+ { -+ this(new BufferedInputStream(new FileInputStream(filename)), toleranz, -+ encoding); -+ } -+ - public DtausDateiParser(InputStream is) throws IOException, DtausException - { - this(is, SPEZIFIKATIONSKONFORM); -@@ -124,7 +134,18 @@ - public DtausDateiParser(InputStream is, int toleranz) throws IOException, - DtausException - { -+ this(is, toleranz, null); -+ } -+ -+ public DtausDateiParser(InputStream is, int toleranz, String encoding) -+ throws IOException, DtausException -+ { - this.toleranz = toleranz; -+ if (encoding != null) -+ { -+ this.encoding = encoding; -+ } -+ - logischeDateien = new Vector(); - dtaus = is; - while (is.available() > 0) -@@ -201,13 +222,13 @@ - { - byte[] inchar = new byte[4]; - dtaus.read(inchar); -- String satzlaenge = new String(inchar); -+ String satzlaenge = new String(inchar, this.encoding); - // Lese in der Satzlänge. Die Satzlänge ist um 4 Bytes zu verringern, da - // diese - // Bytes bereits gelesen wurden. - inchar = new byte[getSatzlaenge(satzlaenge) - 4]; - dtaus.read(inchar); -- return satzlaenge + new String(inchar); -+ return satzlaenge + new String(inchar, this.encoding); - } - - /** -@@ -262,15 +283,17 @@ - public static void main(String[] args) - { - int tol = 0; -- if (args.length < 1 || args.length > 2) -+ String encoding = null; -+ if (args.length < 1 || args.length > 3) - { -- System.err.println("Argumente für den Aufruf: dateiname [toleranz]\n" -- + "toleranz = 0 Spezifikationskonform\n" -- + "toleranz = 1 DOS-Umlaute umwandeln\n" -- + "toleranz = 2 Zeichencode 00 in Space umwandeln"); -+ System.err -+ .println("Argumente für den Aufruf: dateiname [toleranz] [encoding]\n" -+ + "toleranz = 0 Spezifikationskonform\n" -+ + "toleranz = 1 DOS-Umlaute umwandeln\n" -+ + "toleranz = 2 Zeichencode 00 in Space umwandeln"); - System.exit(1); - } -- if (args.length == 2) -+ if (args.length >= 2) - { - try - { -@@ -282,9 +305,21 @@ - System.exit(1); - } - } -+ if (args.length == 3) -+ { -+ encoding = args[2]; -+ } - try - { -- DtausDateiParser p = new DtausDateiParser(args[0], tol); -+ DtausDateiParser p; -+ if (encoding == null) -+ { -+ p = new DtausDateiParser(args[0], tol); -+ } -+ else -+ { -+ p = new DtausDateiParser(args[0], tol, encoding); -+ } - System.out.println("Anzahl logischer Dateien: " - + p.getAnzahlLogischerDateien()); - for (int i = 1; i <= p.getAnzahlLogischerDateien(); i++) -@@ -320,10 +355,13 @@ - } - /* - * $Log: DtausDateiParser.java,v $ -- * Revision 1.8 2008/02/17 08:30:46 jost -- * Neuer Toleranzlevel -- * Neues Feld5 -- * Revision 1.7 2007/02/14 14:42:54 jost javadoc -+ * Revision 1.10 2008/08/23 12:18:30 jost -+ * Encoding kann als Kommandozeilenparameter an die main-Methode übergeben werden. -+ * Revision 1.9 2008/07/09 19:43:28 jost Patch -+ * von Olaf Willuhn: Standardmässig wird das Encoding ISO-8859-1 verwendet. -+ * Optional kann über zusätzliche Konstruktoren ein anderes Encoding -+ * eingestellt werden. Revision 1.8 2008/02/17 08:30:46 jost Neuer Toleranzlevel -+ * Neues Feld5 Revision 1.7 2007/02/14 14:42:54 jost javadoc - * - * Revision 1.6 2006/10/06 12:47:39 jost Optionale Fehlertoleranz Revision 1.5 - * 2006/06/04 12:23:51 jost Redaktionelle Änderung -@@ -333,5 +371,4 @@ - * Dateien pro physikalischer Datei - interne Umstellung von Reader auf - * InputStream Revision 1.2 2006/05/25 20:30:40 jost Korrektur Satzlängen und - * Doku Revision 1.1 2006/05/24 16:24:44 jost Prerelease -- * - */ diff --git a/dev-java/obantoo/obantoo-1.5.1.ebuild b/dev-java/obantoo/obantoo-1.5.1.ebuild deleted file mode 100644 index e61861d..0000000 --- a/dev-java/obantoo/obantoo-1.5.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -EAPI="2" -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 - -DESCRIPTION="A Java Library for HBCI (Homebanking Computer Interface) / FinTS (Financial Transaction Services)" -HOMEPAGE="http://obantoo.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -COMMON_DEP="dev-java/itext:0" - -RDEPEND=">=virtual/jre-1.6 - ${COMMON_DEP}" - -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - ${COMMON_DEP}" - -S=${WORKDIR} - -java_prepare() { -# epatch ${FILESDIR}/${PV}-hibiscus-encoding.patch - rm -rv bin/* doc/api || die -} - -src_compile() { - - local classpath="$(java-pkg_getjars itext)" - - find src -name '*.java' > sources.list - ejavac -encoding latin1 -cp "${classpath}" -d bin @sources.list - jar cf ${PN}.jar -C bin/ . - # TODO: javadoc -} - - -src_install() { - java-pkg_newjar ${PN}.jar - - use doc && dodoc doc/* - use doc && java-pkg_dojavadoc javadoc - - use source && java-pkg_dosrc src/de -} diff --git a/dev-java/obantoo/obantoo-2.0.9.ebuild b/dev-java/obantoo/obantoo-2.0.9.ebuild deleted file mode 100644 index ea4ff6f..0000000 --- a/dev-java/obantoo/obantoo-2.0.9.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -EAPI="2" -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 cvs - -ECVS_SERVER="obantoo.cvs.sourceforge.net:/cvsroot/${PN}" -ECVS_MODULE="${PN}" -ECVS_DATE="\"2013-11-12 21:34:46 UTC\"" - -DESCRIPTION="A Java Library for HBCI (Homebanking Computer Interface) / FinTS (Financial Transaction Services)" -HOMEPAGE="http://obantoo.sourceforge.net/" -#SRC_URI="mirror://sourceforge/${PN}/${P}.zip" -#SRC_URI="http://${PN}.cvs.sourceforge.net/viewvc/${PN}/${PN}/?view=tar&revision=${CVS_REV} -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -COMMON_DEP="dev-java/itext:5" - -RDEPEND=">=virtual/jre-1.6 - ${COMMON_DEP}" - -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - dev-java/junit:4 - ${COMMON_DEP}" - -S=${WORKDIR}/${PN} - -java_prepare() { -# epatch ${FILESDIR}/${PV}-hibiscus-encoding.patch - rm -rv lib/* || die - eant clean - java-pkg_jar-from itext-5 itext.jar ${S}/lib/itextpdf-5.3.3.jar - java-pkg_jar-from junit-4 junit.jar ${S}/lib/junit-4.11.jar -} - -#src_compile() { -# -# local classpath="$(java-pkg_getjars itext-5)" -# -# find src -name '*.java' > sources.list -# ejavac -encoding latin1 -cp "${classpath}" -d bin @sources.list -# jar cf ${PN}.jar -C bin/ . -# # TODO: javadoc -#} - -src_compile() { - eant jar $(use_doc javadoc) -} - -src_install() { - java-pkg_newjar build/${PN}-bin-${PV}.jar - - use doc && dodoc doc/* - use doc && java-pkg_dojavadoc javadoc - - use source && java-pkg_dosrc src/de -} diff --git a/dev-java/obantoo/obantoo-1.5.2.ebuild b/dev-java/obantoo/obantoo-2.1.12.ebuild index d0f3fb2..2ec5de6 100644 --- a/dev-java/obantoo/obantoo-1.5.2.ebuild +++ b/dev-java/obantoo/obantoo-2.1.12.ebuild @@ -19,18 +19,17 @@ RDEPEND=">=virtual/jre-1.6 DEPEND=">=virtual/jdk-1.6 app-arch/unzip - ${COMMON_DEP}" - -S=${WORKDIR} + dev-java/junit:4 + ${COMMON_DEP}" java_prepare() { -# epatch ${FILESDIR}/${PV}-hibiscus-encoding.patch - rm -rv bin/* doc/api || die + rm -v *.jar || die + rm -rv bin/* || die } src_compile() { - local classpath="$(java-pkg_getjars itext-5)" + local classpath="$(java-pkg_getjars itext-5,junit-4)" find src -name '*.java' > sources.list ejavac -encoding latin1 -cp "${classpath}" -d bin @sources.list @@ -38,12 +37,11 @@ src_compile() { # TODO: javadoc } - src_install() { - java-pkg_newjar ${PN}.jar + java-pkg_newjar ${PN}.jar use doc && dodoc doc/* - use doc && java-pkg_dojavadoc javadoc + use doc && java-pkg_dojavadoc javadoc - use source && java-pkg_dosrc src/de + use source && java-pkg_dosrc src/de } diff --git a/dev-java/obantoo/obantoo-2.1.6.ebuild b/dev-java/obantoo/obantoo-2.1.6.ebuild deleted file mode 100644 index dc82cf0..0000000 --- a/dev-java/obantoo/obantoo-2.1.6.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -EAPI="2" -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 cvs - -ECVS_SERVER="obantoo.cvs.sourceforge.net:/cvsroot/${PN}" -ECVS_MODULE="${PN}" -ECVS_DATE="\"2014-07-30 16:06:19 UTC\"" - -DESCRIPTION="A Java Library for HBCI (Homebanking Computer Interface) / FinTS (Financial Transaction Services)" -HOMEPAGE="http://obantoo.sourceforge.net/" -#SRC_URI="mirror://sourceforge/${PN}/${P}.zip" -#SRC_URI="http://${PN}.cvs.sourceforge.net/viewvc/${PN}/${PN}/?view=tar&revision=${CVS_REV} -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -COMMON_DEP="dev-java/itext:5" - -RDEPEND=">=virtual/jre-1.6 - ${COMMON_DEP}" - -DEPEND=">=virtual/jdk-1.6 - app-arch/unzip - dev-java/junit:4 - ${COMMON_DEP}" - -S=${WORKDIR}/${PN} - -java_prepare() { -# epatch ${FILESDIR}/${PV}-hibiscus-encoding.patch - rm -rv lib/* || die - eant clean - java-pkg_jar-from itext-5 itext.jar ${S}/lib/itextpdf-5.3.3.jar - java-pkg_jar-from junit-4 junit.jar ${S}/lib/junit-4.11.jar -} - -#src_compile() { -# -# local classpath="$(java-pkg_getjars itext-5)" -# -# find src -name '*.java' > sources.list -# ejavac -encoding latin1 -cp "${classpath}" -d bin @sources.list -# jar cf ${PN}.jar -C bin/ . -# # TODO: javadoc -#} - -src_compile() { - eant jar $(use_doc javadoc) -} - -src_install() { - java-pkg_newjar build/${PN}-bin-${PV}.jar - - use doc && dodoc doc/* - use doc && java-pkg_dojavadoc javadoc - - use source && java-pkg_dosrc src/de -} |