Skip to content

Commit

Permalink
ctapimkt-1.0.1 (rebuild on x86_64)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Mar 9, 2016
1 parent 54f573d commit 2d154e1
Show file tree
Hide file tree
Showing 8 changed files with 129 additions and 94 deletions.
48 changes: 26 additions & 22 deletions ctapimkt/README
@@ -1,42 +1,44 @@
ctapimkt
------------------------------------------
Library and program to read the german health insurance card (KVK) and the
german electronic health card (eGK) from a certified card reading device.
german electronic health card (eGK) from a certified card reading device on
the serial port in Linux with kernel 2.6.x.

Runtime requirements:
cygwin-1.7.9-1
cygwin-2.4.1-1
libctapimkt-devel-1.0.1-1bl2
libctapimkt0-1.0.1-1bl2

Build requirements:
(besides corresponding -devel packages)
autoconf-10-1
automake-4-10
binutils-2.21-1
cygport-0.10.4-1
gawk-3.1.8-1
gcc4-core-4.5.3-1
libtool-2.4-1
make-3.81-2
autoconf-13-1
automake-9-1
binutils-2.25-4
cygport-0.20.2-1
gcc-core-5.3.0-3
libtool-2.4.6-3
make-4.1-1

Canonical website:
http://ctapi-mkt.sourceforge.net/
http://ctapi-mkt.sf.net/

Canonical download:
mirror://sourceforge/ctapi-mkt/ctapimkt-1.0.1.tar.gz

-------------------------------------------

Build instructions:
unpack ctapimkt-1.0.1-X-src.tar.bz2
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
cd /usr/src
cygport ./ctapimkt-1.0.1-X.cygport all
1. unpack ctapimkt-1.0.1-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./ctapimkt-1.0.1-X.cygport all

This will create:
/usr/src/ctapimkt-1.0.1-X-src.tar.bz2
/usr/src/ctapimkt-1.0.1-X.tar.bz2
/usr/src/libctapimkt0-1.0.1-X.tar.bz2
/usr/src/libctapimkt-devel-1.0.1-X.tar.bz2
/usr/src/ctapimkt-1.0.1-X-src.tar.xz
/usr/src/ctapimkt-1.0.1-X.tar.xz
/usr/src/libctapimkt0-1.0.1-X.tar.xz
/usr/src/libctapimkt-devel-1.0.1-X.tar.xz

-------------------------------------------

Expand All @@ -57,12 +59,14 @@ Files included in the binary package:
(libctapimkt-devel)
/usr/include/ctapi.h
/usr/lib/libctapimkt.dll.a
/usr/lib/libctapimkt.la
/usr/lib/pkgconfig/ctapimkt.pc

------------------

Port Notes:

----- version 1.0.1-1bl2 -----
Rebuild on x86_64

----- version 1.0.1-1bl1 -----
Initial release for Cygwin-1.7 by fd0 <http://d.hatena.ne.jp/fd0>

10 changes: 0 additions & 10 deletions ctapimkt/ctapimkt-1.0.1-1bl1.cygport

This file was deleted.

45 changes: 0 additions & 45 deletions ctapimkt/ctapimkt-1.0.1-1bl1.src.patch

This file was deleted.

28 changes: 28 additions & 0 deletions ctapimkt/ctapimkt-1.0.1-1bl2.cygport
@@ -0,0 +1,28 @@
HOMEPAGE="http://ctapi-mkt.sf.net/"
SRC_URI="mirror://sourceforge/ctapi-mkt/${P}.tar.gz"

CATEGORY="Libs"
SUMMARY="Library and program to read KVK and eGK"
DESCRIPTION="Library and program to read the german health insurance card (KVK) and the
german electronic health card (eGK) from a certified card reading device on
the serial port in Linux with kernel 2.6.x."

PKG_NAMES="
${PN}
lib${PN}0
lib${PN}-devel
"
ctapimkt_CONTENTS="
usr/bin/*.exe
usr/share
"
libctapimkt0_CONTENTS="
usr/bin/*.dll
"
libctapimkt_devel_CONTENTS="
usr/include
usr/lib
"
ctapimkt_SUMMARY="${SUMMARY} (utilities)"
libctapimkt0_SUMMARY="${SUMMARY} (runtime)"
libctapimkt_devel_SUMMARY="${SUMMARY} (development)"
75 changes: 75 additions & 0 deletions ctapimkt/ctapimkt-1.0.1-1bl2.src.patch
@@ -0,0 +1,75 @@
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/ctapimkt-1.0.1/Makefile.am src/ctapimkt-1.0.1/Makefile.am
--- origsrc/ctapimkt-1.0.1/Makefile.am 2008-03-22 21:28:08.000000000 +0900
+++ src/ctapimkt-1.0.1/Makefile.am 2016-03-09 23:34:48.394552700 +0900
@@ -7,13 +7,19 @@ EXTRA_DIST = README

lib_LTLIBRARIES = libctapimkt.la

-libctapimkt_la_SOURCES = ctapi.c ctapi.h
+libctapimkt_la_SOURCES = ctapi.c
+libctapimkt_la_LDFLAGS = -no-undefined
+
+include_HEADERS = ctapi.h

bin_PROGRAMS = mktlin mkter
mktlin_SOURCES = mktlin.c
mktlin_LDADD = $(LDADD)
mkter_SOURCES = mkter.c
mkter_LDADD = $(LDADD)
-LDADD = -lctapimkt
+LDADD = libctapimkt.la

MAINTAINERCLEANFILES = autom4te.cache
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(PACKAGE).pc
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/ctapimkt-1.0.1/configure.in src/ctapimkt-1.0.1/configure.in
--- origsrc/ctapimkt-1.0.1/configure.in 2008-03-22 21:19:42.000000000 +0900
+++ src/ctapimkt-1.0.1/configure.in 2016-03-09 23:34:34.550922300 +0900
@@ -60,7 +60,7 @@ AC_CHECK_LIB([m], [cos])

AC_FUNC_VPRINTF

-AC_CONFIG_FILES([
+AC_CONFIG_FILES([ctapimkt.pc
Makefile
])
AC_OUTPUT
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/ctapimkt-1.0.1/ctapi.c src/ctapimkt-1.0.1/ctapi.c
--- origsrc/ctapimkt-1.0.1/ctapi.c 2008-04-04 05:56:47.000000000 +0900
+++ src/ctapimkt-1.0.1/ctapi.c 2016-03-09 23:36:06.909604300 +0900
@@ -110,6 +110,9 @@ char CT_init ( unsigned short ctn, uns
tios.c_oflag&=~OPOST;
tios.c_cflag&=~(CSTOPB|PARODD|CRTSCTS);
tios.c_cflag|=PARENB|CLOCAL;
+#if !defined(XCASE)
+#define XCASE 0x0
+#endif
tios.c_lflag&=~(ISIG|ICANON|XCASE|ECHO);
tios.c_cc[VTIME]=0;
cfsetspeed(&tios,B9600);
@@ -336,10 +339,3 @@ char CT_close ( unsigned short ctn )
ctn2fd[ctn] = 0;
return OK;
}
-
-
-
-
-
-
-
diff -buprN -x CYGWIN-PATCHES -x aclocal.m4~ -x aclocal.m4t -x autom4te.cache -x config.cache -x config.guess -x config.log -x config.status -x config.sub -x '*SlackBuild*' -x '*.egg-info' -x '*.dll' -x '*.exe' -x '*.o' -x '*.gch' -x '*.gem' -x .gitignore -x '*.jpg' -x '*.png' -x '*.qm' -x '*.svgz' -x '*.tif' -x '*.class' -x '*.jlc' -x '*.pyc' -x '*.pyo' -x '*.mo' -x '*.gmo' -x '*.orig' -x '*.rej' -x '*.spec' -x '*.temp' -x '*~' -x '*.stackdump' -x aclocal.m4 -x configure -x config.h -x '*.h.in' -x COPYING -x INSTALL -x ansi2knr.c -x ar-lib -x config-ml.in -x elisp-comp -x mdate-sh -x mkinstalldirs -x py-compile -x symlink-tree -x test-driver -x texinfo.tex -x ylwrap -x Makefile.in -x GNUmakefile.in -x makefile.in -x libtool.m4 -x ltoptions.m4 -x ltsugar.m4 -x ltversion.m4 -x lt~obsolete.m4 -x ltmain.sh -x compile -x depcomp -x install-sh -x missing -x omf.make -x xmldocs.make -x gnome-doc-utils.make -x gnome-doc-utils.m4 -x mate-doc-utils.make -x mate-doc-utils.m4 origsrc/ctapimkt-1.0.1/ctapimkt.pc.in src/ctapimkt-1.0.1/ctapimkt.pc.in
--- origsrc/ctapimkt-1.0.1/ctapimkt.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/ctapimkt-1.0.1/ctapimkt.pc.in 2016-03-09 23:34:39.634515800 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ctapimkt
+Description: Library and program to read KVK and eGK
+Version: @VERSION@
+Libs: -L${libdir} -lctapimkt
+Cflags: -I${includedir}
5 changes: 0 additions & 5 deletions ctapimkt/ctapimkt.hint

This file was deleted.

6 changes: 0 additions & 6 deletions ctapimkt/libctapimkt-devel.hint

This file was deleted.

6 changes: 0 additions & 6 deletions ctapimkt/libctapimkt0.hint

This file was deleted.

0 comments on commit 2d154e1

Please sign in to comment.