summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/hbci4java')
-rw-r--r--net-libs/hbci4java/Manifest4
-rw-r--r--net-libs/hbci4java/files/2.5.12-build.patch60
-rw-r--r--net-libs/hbci4java/files/2.5.12-makefile.patch139
-rw-r--r--net-libs/hbci4java/hbci4java-2.5.12.ebuild60
4 files changed, 0 insertions, 263 deletions
diff --git a/net-libs/hbci4java/Manifest b/net-libs/hbci4java/Manifest
deleted file mode 100644
index ab056ed..0000000
--- a/net-libs/hbci4java/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX 2.5.12-build.patch 2450 SHA256 7e2014b78bcb484570b1648f45090bb22f839c774bb9cbdd0c0138adc12ca9eb SHA512 adba26d72072626d1d2957c9795892cb89f1d60c56229ae1fd78bf2d1077118fce9889321957c1a0ac0dbfadfd7c2a5c5a8f2cb86407a5306b9f5b99e2f92f87 WHIRLPOOL d979ed8211566a11519e30c7854a869aac53a532f0f7fe3fb0a03accfc56664608b344ad7327abe4dfbf00931fe06fe502149c37614874ea6e00ec53190d4d78
-AUX 2.5.12-makefile.patch 4981 SHA256 26e8eb182fe8e81a56f08732112d750fbdd91245d493e38858a0f2fe9e1fb5fa SHA512 4578a46e73d33a12ab9e885c2cdddb1797478c693a9ad343774faee4a0d802794e2553d50331d58fd3276cc4dcc766834decee5ce4be4e6d05197498b8cbf32c WHIRLPOOL 23b32f931a0fc842677da92e9f85bf1a42b530f2722dd26b7757e69dd7774c63b6053f1295e4fec7b4e6b1a3cabb351493556bd656ee5f68e05c025a889ff5d6
-DIST hbci4java-2.5.12-src.zip 1985181 SHA256 a829188fbc858b61109108c889f72fab10a555b13430517a029bbbbb383d6827 SHA512 f72e9388b9c12aa5abcbbdb4021cb32fc8d9ccc87941571d8a0c521ea88c96c69a68024e5eb0fe55f80ec7504e562b0b1b12f4b65bdab0c8988914a36e3dd6ed WHIRLPOOL 27daeffc2316d3bbb7a427143423e875213bd43ce895b27de96ec0d4eebd0023558cb87d430c3edc0e02ce2a866474d4795312530d4a7b92456d850c43a84e56
-EBUILD hbci4java-2.5.12.ebuild 1322 SHA256 34c7a32a7bad855d83548ae49f34441b00d1539b5cf5405b2118cc955c345743 SHA512 773b7556b60a8d210e99439565f11233d32201a80b9fb72ef9b88598f23a7c17a33b0134d23a09eb894bb39d10d4c96d4bc73fc79a3736e51c81f309ec999f78 WHIRLPOOL 79bde01c56fdc9ef627981e5a68cdc8d51a44013129b341afe47c662ec1541b0144855ef9b267eb904d10b2352835bded958bae2904bb142064ee7a06b4cd416
diff --git a/net-libs/hbci4java/files/2.5.12-build.patch b/net-libs/hbci4java/files/2.5.12-build.patch
deleted file mode 100644
index 73f1c8d..0000000
--- a/net-libs/hbci4java/files/2.5.12-build.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Index: hbci4java-2.5.12-src/build.xml
-===================================================================
---- hbci4java-2.5.12-src.orig/build.xml
-+++ hbci4java-2.5.12-src/build.xml
-@@ -14,7 +14,11 @@
- </path>
-
- <target name="compile"
-- description="compile all the needed stuff; after that add dir 'classes' to the classpath; in dir 'chipcard/lib' you will find the ddv-library needed for accessing your chipcard terminal">
-+ description="compile all the needed stuff; after that add dir 'classes' to the classpath; in dir 'chipcard/lib' you will find the ddv-library needed for accessing your chipcard terminal"
-+ depends="compile-java, compile-chipcard" />
-+
-+ <target name="compile-java"
-+ description="Compile the Java library">
- <mkdir dir="${classes}"/>
- <javac srcdir="${src}" destdir="${classes}"
- debug="on" encoding="ISO-8859-1"
-@@ -39,17 +43,20 @@
- </fileset>
- <mapper type="glob" from="messages*" to="HBCIMessages*" />
- </copy>
-+ </target>
-
-- <javah class="org.kapott.hbci.passport.HBCIPassportDDV"
-- outputFile="${chipcard}/src/include/frontend.h"
-+ <target name="compile-chipcard" depends="compile-java"
-+ description="Compiles the driver for chipcard terminals">
-+ <javah class="org.kapott.hbci.passport.HBCIPassportDDV"
-+ outputFile="${chipcard}/src/include/frontend.h"
- classpath="${classes}"/>
--
-+
- <exec executable="${make}" os="Linux">
- <arg line="-C ${chipcard}"/>
- </exec>
- </target>
-
-- <target name="package" depends="compile">
-+ <target name="package" depends="compile-java">
- <mkdir dir="${dist}/jar"/>
- <jar destfile="${dist}/jar/hbci4java.jar"
- basedir="${classes}" compress="true">
-@@ -96,7 +103,7 @@
- <include name="tools/HBCIBatch.java"/>
- </fileset>
-
-- <target name="javadoc" depends="compile"
-+ <target name="javadoc" depends="compile-java"
- description="create javadoc documentation">
- <mkdir dir="${doc}/javadoc" />
- <javadoc classpath="${classes}"
-@@ -111,7 +118,7 @@
- </javadoc>
- </target>
-
-- <target name="dist" depends="package,javadoc"
-+ <target name="dist" depends="compile,package,javadoc"
- description="bundle all required stuff in a single directory (dir 'dist').">
-
- <mkdir dir="${dist}/templates"/>
diff --git a/net-libs/hbci4java/files/2.5.12-makefile.patch b/net-libs/hbci4java/files/2.5.12-makefile.patch
deleted file mode 100644
index f679274..0000000
--- a/net-libs/hbci4java/files/2.5.12-makefile.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-Index: hbci4java-2.5.12-src/chipcard/src/frontend/Makefile
-===================================================================
---- hbci4java-2.5.12-src.orig/chipcard/src/frontend/Makefile
-+++ hbci4java-2.5.12-src/chipcard/src/frontend/Makefile
-@@ -4,8 +4,9 @@ INCLUDES = -I../include -I$(JAVA_HOME)/i
- WARNINGS = -Wall
- # removed "-Werror -pedantic" because of dlsym() typecast problem
-
--CC = g++
--CFLAGS = -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-+CXX ?= g++
-+AR ?= ar
-+CXXFLAGS += -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
- LIBS = -L../../bin -lzkachip-highlevel -lzkachip-lowlevel
-
- SOURCES = frontend.cpp
-@@ -15,16 +16,16 @@ OBJECTS = ../../bin/frontend.o
- .SUFFIXES: .cpp .o
-
- ../../bin/%.o: %.cpp
-- $(CC) -c -o $@ $(CFLAGS) $<
-+ $(CXX) -c -o $@ $(CXXFLAGS) $(LDFLAGS) $<
-
- all: depend ../../bin/libhbci4java-card-linux.so
-
- depend: Makefile.depend
-
- Makefile.depend: $(SOURCES)
-- for file in $(SOURCES); do echo -n "../../bin/"; gcc $(CFLAGS) -MM $$file; done >Makefile.depend
-+ for file in $(SOURCES); do echo -n "../../bin/"; $(CXX) $(CXXFLAGS) $(LDFLAGS) -MM $$file; done >Makefile.depend
-
- ../../bin/libhbci4java-card-linux.so: $(OBJECTS) ../../bin/libzkachip-highlevel.a ../../bin/libzkachip-lowlevel.a
-- $(CC) -fPIC -shared -o $@ $(OBJECTS) $(LIBS)
-+ $(CXX) $(LDFLAGS) -fPIC -shared -o $@ $(OBJECTS) $(LIBS)
-
- include Makefile.depend
-Index: hbci4java-2.5.12-src/chipcard/src/highlevel/Makefile
-===================================================================
---- hbci4java-2.5.12-src.orig/chipcard/src/highlevel/Makefile
-+++ hbci4java-2.5.12-src/chipcard/src/highlevel/Makefile
-@@ -4,9 +4,9 @@ INCLUDES = -I../include
- WARNINGS = -Wall
- # removed "-Werror -pedantic" because of dlsym() typecast problem
-
--CC = g++
--AR = ar
--CFLAGS = -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-+CXX ?= g++
-+AR ?= ar
-+CXXFLAGS += -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-
- SOURCES = hbci_cardtype.cpp \
- ddv_decrypt.cpp \
-@@ -37,14 +37,14 @@ OBJECTS = ../../bin/hbci_cardtype.o \
- .SUFFIXES: .cpp .o
-
- ../../bin/%.o: %.cpp
-- $(CC) -c -o $@ $(CFLAGS) $<
-+ $(CXX) -c -o $@ $(CXXFLAGS) $(LDFLAGS) $<
-
- all: depend ../../bin/libzkachip-highlevel.a
-
- depend: Makefile.depend
-
- Makefile.depend: $(SOURCES)
-- for file in $(SOURCES); do echo -n "../../bin/"; gcc $(CFLAGS) -MM $$file; done >Makefile.depend
-+ for file in $(SOURCES); do echo -n "../../bin/"; $(CXX) $(CXXFLAGS) $(LDFLAGS) -MM $$file; done >Makefile.depend
-
- ../../bin/libzkachip-highlevel.a: $(OBJECTS)
- $(AR) rcsv $@ $(OBJECTS)
-Index: hbci4java-2.5.12-src/chipcard/src/lowlevel/Makefile
-===================================================================
---- hbci4java-2.5.12-src.orig/chipcard/src/lowlevel/Makefile
-+++ hbci4java-2.5.12-src/chipcard/src/lowlevel/Makefile
-@@ -4,9 +4,9 @@ INCLUDES = -I../include
- WARNINGS = -Wall
- # removed "-Werror -pedantic" because of dlsym() typecast problem
-
--CC = g++
--AR = ar
--CFLAGS = -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-+CXX ?= g++
-+AR ?= ar
-+CXXFLAGS += -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-
- SOURCES = atr.cpp \
- bcs.cpp \
-@@ -41,14 +41,14 @@ OBJECTS = ../../bin/atr.o \
- .SUFFIXES: .cpp .o
-
- ../../bin/%.o: %.cpp
-- $(CC) -c -o $@ $(CFLAGS) $<
-+ $(CXX) -c -o $@ $(CXXFLAGS) $(LDFLAGS) $<
-
- all: depend ../../bin/libzkachip-lowlevel.a
-
- depend: Makefile.depend
-
- Makefile.depend: $(SOURCES)
-- for file in $(SOURCES); do echo -n "../../bin/"; gcc $(CFLAGS) -MM $$file; done >Makefile.depend
-+ for file in $(SOURCES); do echo -n "../../bin/"; $(CXX) $(CXXFLAGS) $(LDFLAGS) -MM $$file; done >Makefile.depend
-
- ../../bin/libzkachip-lowlevel.a: $(OBJECTS)
- $(AR) rcsv $@ $(OBJECTS)
-Index: hbci4java-2.5.12-src/chipcard/src/tools/Makefile
-===================================================================
---- hbci4java-2.5.12-src.orig/chipcard/src/tools/Makefile
-+++ hbci4java-2.5.12-src/chipcard/src/tools/Makefile
-@@ -4,8 +4,9 @@ INCLUDES = -I../include
- WARNINGS = -Wall
- # removed "-Werror -pedantic" because of dlsym() typecast problem
-
--CC = g++
--CFLAGS = -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
-+CXX ?= g++
-+AR ?= ar
-+CXXFLAGS += -fPIC $(DEFINES) $(INCLUDES) $(WARNINGS)
- LIBS = -L../../bin -lzkachip-highlevel -lzkachip-lowlevel -ldl
-
- SOURCES = t_hbci_cardinfo.cpp \
-@@ -29,15 +30,15 @@ PROGRAMS = ../../bin/t_hbci_cardinfo \
- .SUFFIXES: .cpp .o
-
- ../../bin/%.o: %.cpp
-- $(CC) -c -o $@ $(CFLAGS) $<
-+ $(CXX) -c -o $@ $(CXXFLAGS) $(LDFLAGS) $<
- ../../bin/%: ../../bin/%.o ../../bin/libzkachip-highlevel.a ../../bin/libzkachip-lowlevel.a
-- $(CC) -fPIC -o $@ $< $(LIBS)
-+ $(CXX) -fPIC -o $@ $< $(LIBS)
-
- all: depend $(PROGRAMS)
-
- depend: Makefile.depend
-
- Makefile.depend: $(SOURCES)
-- for file in $(SOURCES); do echo -n "../../bin/"; gcc $(CFLAGS) -MM $$file; done >Makefile.depend
-+ for file in $(SOURCES); do echo -n "../../bin/"; $(CXX) $(CXXFLAGS) $(LDFLAGS) -MM $$file; done >Makefile.depend
-
- include Makefile.depend
diff --git a/net-libs/hbci4java/hbci4java-2.5.12.ebuild b/net-libs/hbci4java/hbci4java-2.5.12.ebuild
deleted file mode 100644
index d997072..0000000
--- a/net-libs/hbci4java/hbci4java-2.5.12.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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
-
-DESCRIPTION="A Java Library for HBCI (Homebanking Computer Interface) / FinTS (Financial Transaction Services)"
-HOMEPAGE="http://hbci4java.kapott.org/"
-SRC_URI="http://hbci4java.kapott.org/${P}-src.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="+chipcard"
-
-COMMON_DEP="
- dev-java/xerces:2
- >=dev-java/log4j-1.2.8:0
- !net-libs/willuhn-hbci4java"
-
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
- ${COMMON_DEP}"
-
-S=${WORKDIR}/${P}-src
-
-# JNI libraries don't need SONAME
-QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so"
-
-EANT_BUILD_TARGET="package"
-
-pkg_setup() {
- use chipcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}"
-}
-
-java_prepare() {
- epatch "${FILESDIR}/${PV}-makefile.patch"
- epatch "${FILESDIR}/${PV}-build.patch"
- eant clean
-}
-
-src_install() {
- java-pkg_newjar dist/jar/${PN}.jar
-
- if use chipcard; then
- dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed"
- fi
-
- dodoc README* FEATURES BUGS ChangeLog || die "dodoc failed"
-
- use doc && java-pkg_dojavadoc doc/javadoc
- use source && java-pkg_dosrc src/org
-}