Date: Tue, 19 Jul 2011 07:58:46 -0700 (PDT) From: "Jason E. Hale" <bsdkaffee@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159032: [MAINTAINER] devel/gwenhywfar, devel/libchipcard, finance/aqbanking: Update to latest versions Message-ID: <4e259ba6.08bfdc0a.6902.4e87@mx.google.com> Resent-Message-ID: <201107191500.p6JF0KZ8025131@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159032 >Category: ports >Synopsis: [MAINTAINER] devel/gwenhywfar, devel/libchipcard, finance/aqbanking: Update to latest versions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 15:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 8.2-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Feb 22 19:19:42 EST 2011 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA8 i386 >Description: Update the AqBanking suite to their latest versions. These should be done together. - Update devel/gwenhywfar to 4.2.0 - Update devel/libchipcard to 5.0.2 - Update finance/aqbanking to 5.0.14 devel/gwenhywfar has a shlib version bump, so increase the PORTREVSION on the following ports: - finance/gnucash - finance/kmymoney-kde4 Notes: devel/gwenhywfar: - Move LICENSE block (portlint) - Depend on security/gcrypt directly since gnutls no longer depends on it - Add a patch to fix symbol visibility support with cc devel/libchipcard: - Add LICENSE block - Add OPTIONS for full documentation and memory debugger - Fix pkg-plist to satisfy portlint and to be in line with the other AqBanking-related ports finance/aqbanking: - Move LICENSE block (portlint) - Add a patch to fix symbol visibility support with cc >How-To-Repeat: Use attached diffs. devel/gwenhywfar: Add files/patch-configure devel/libchipcard: Remove files/patch-readerstate (applied upstream) Remove pkg-message (not really that informative) finance/aqbanking: Add files/patch-configure >Fix: --- 2011-07-19-gwenhywfar.diff begins here --- diff -ruN gwenhywfar.orig/Makefile gwenhywfar/Makefile --- gwenhywfar.orig/Makefile 2011-06-05 14:43:03.000000000 -0400 +++ gwenhywfar/Makefile 2011-07-19 09:39:10.000000000 -0400 @@ -6,16 +6,18 @@ # PORTNAME= gwenhywfar -PORTVERSION= 4.0.9 -PORTREVISION= 1 +PORTVERSION= 4.2.0 CATEGORIES= devel net security -MASTER_SITES= http://www2.aquamaniac.de/sites/download/ -DISTFILES= download.php\?package=01\&release=60\&file=01\&dummy=${DISTNAME}${EXTRACT_SUFX} +MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=01&release=62&file=01&dummy=/ MAINTAINER= bsdkaffee@gmail.com COMMENT= Multi-platform helper library for networking and security applications -LIB_DEPENDS= gnutls.47:${PORTSDIR}/security/gnutls +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt \ + gnutls.47:${PORTSDIR}/security/gnutls USE_GMAKE= yes USE_GETTEXT= yes @@ -23,9 +25,6 @@ USE_AUTOTOOLS= libtool USE_GNOME= gnomehack pkgconfig -LICENSE= LGPL21 -LICENSE_FILE= ${WRKSRC}/COPYING - OPTIONS= APIDOC "Full API documentation (requires Doxygen)" off \ MEMDEBUG "Enable memory debugger statistic" off \ FOX16 "Build FOX 1.6 GUI" off \ @@ -47,7 +46,8 @@ .include <bsd.port.options.mk> .if !defined(NOPORTDOCS) && defined(WITH_APIDOC) -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz CONFIGURE_ARGS+=--enable-full-doc PORTDOCS= apidoc .endif diff -ruN gwenhywfar.orig/distinfo gwenhywfar/distinfo --- gwenhywfar.orig/distinfo 2011-03-17 05:33:04.000000000 -0400 +++ gwenhywfar/distinfo 2011-07-17 19:51:12.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (download.php?package=01&release=60&file=01&dummy=gwenhywfar-4.0.9.tar.gz) = 4cbc83b3c29e2c54e5448a01a7001c79263d8a1c657e951c1f781490649e3b52 -SIZE (download.php?package=01&release=60&file=01&dummy=gwenhywfar-4.0.9.tar.gz) = 2062015 +SHA256 (gwenhywfar-4.2.0.tar.gz) = fbfc7ee4799a594af689d04d32937e799a61358dd42db6e693ddd68bf99d56e4 +SIZE (gwenhywfar-4.2.0.tar.gz) = 2315292 diff -ruN gwenhywfar.orig/files/patch-configure gwenhywfar/files/patch-configure --- gwenhywfar.orig/files/patch-configure 1969-12-31 19:00:00.000000000 -0500 +++ gwenhywfar/files/patch-configure 2011-07-19 09:08:34.000000000 -0400 @@ -0,0 +1,11 @@ +--- ./configure.orig 2011-07-19 09:08:26.000000000 -0400 ++++ ./configure 2011-07-19 09:08:11.000000000 -0400 +@@ -20457,7 +20457,7 @@ + $as_echo_n "checking if symbol visibility is supported... " >&6; } + visibility_cflags="" + case `$CC --version|head -n1|cut -f1 -d " "` in +- *gcc*) ++ cc|*gcc*) + gccversion="` ${CC} -dumpversion `" + case $gccversion in + 4.*) diff -ruN gwenhywfar.orig/pkg-plist gwenhywfar/pkg-plist --- gwenhywfar.orig/pkg-plist 2011-02-28 14:49:20.000000000 -0500 +++ gwenhywfar/pkg-plist 2011-07-17 19:51:12.000000000 -0400 @@ -1,4 +1,5 @@ bin/gct-tool +bin/gsa bin/gwenhywfar-config bin/mklistdoc bin/typemaker @@ -53,6 +54,7 @@ include/gwenhywfar4/gwenhywfar/fslock.h include/gwenhywfar4/gwenhywfar/gui.h include/gwenhywfar4/gwenhywfar/gui_be.h +include/gwenhywfar4/gwenhywfar/gwen_sar_fileheader.h include/gwenhywfar4/gwenhywfar/gwendate.h include/gwenhywfar4/gwenhywfar/gwenhywfar.h include/gwenhywfar4/gwenhywfar/gwenhywfarapi.h @@ -98,6 +100,7 @@ include/gwenhywfar4/gwenhywfar/process.h include/gwenhywfar4/gwenhywfar/refptr.h include/gwenhywfar4/gwenhywfar/ringbuffer.h +include/gwenhywfar4/gwenhywfar/sar.h include/gwenhywfar4/gwenhywfar/sighead.h include/gwenhywfar4/gwenhywfar/sigtail.h include/gwenhywfar4/gwenhywfar/smalltresor.h @@ -163,7 +166,7 @@ lib/libgwenhywfar.a lib/libgwenhywfar.la lib/libgwenhywfar.so -lib/libgwenhywfar.so.%%GWEN_SHLIB_VER%% +lib/libgwenhywfar.so.62 %%WITH_FOX16%%libdata/pkgconfig/gwengui-fox16.pc %%WITH_GTK2%%libdata/pkgconfig/gwengui-gtk2.pc %%WITH_QT4%%libdata/pkgconfig/gwengui-qt4.pc @@ -188,6 +191,7 @@ share/gwenhywfar/typemaker2/c/struct_base.tm2 share/gwenhywfar/typemaker2/c/tree_base.tm2 share/gwenhywfar/typemaker2/c/uint32_t.tm2 +share/gwenhywfar/typemaker2/c/uint64_t.tm2 share/locale/de/LC_MESSAGES/gwenhywfar.mo @dirrm share/gwenhywfar/typemaker2/c @dirrm share/gwenhywfar/typemaker2 --- 2011-07-19-gwenhywfar.diff ends here --- --- 2011-07-19-libchipcard.diff begins here --- diff -ruN libchipcard.orig/Makefile libchipcard/Makefile --- libchipcard.orig/Makefile 2011-07-17 19:59:23.000000000 -0400 +++ libchipcard/Makefile 2011-07-19 09:24:42.000000000 -0400 @@ -6,36 +6,69 @@ # PORTNAME= libchipcard -DISTVERSION= 5.0.1test +PORTVERSION= 5.0.2 CATEGORIES= devel -MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=02&release=25&file=01&dummy= +MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=02&release=26&file=01&dummy=/ MAINTAINER= bsdkaffee@gmail.com COMMENT= A library for easy access to chipcards +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite \ - gwenhywfar.60:${PORTSDIR}/devel/gwenhywfar + gwenhywfar.62:${PORTSDIR}/devel/gwenhywfar -FETCH_ARGS+= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} USE_AUTOTOOLS= libtool USE_GMAKE= yes USE_OPENSSL= yes + +OPTIONS= APIDOC "Full API documentation (requires Doxygen)" off \ + MEMDEBUG "Enable memory debugger statistic" off + GNU_CONFIGURE= yes -USE_LDCONFIG= yes CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" aq_distrib_name="FreeBSD" -CONFIGURE_ARGS+=--with-pcsc-includes=${LOCALBASE}/include \ - --with-pcsc-libs=${LOCALBASE}/lib -PLIST_SUB= GWEN_PLUGINS="${GWEN_PLUGINS}" +CONFIGURE_ARGS+=--enable-release="yes" \ + --with-pcsc-includes=${LOCALBASE}/include \ + --with-pcsc-libs=${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +MAKE_JOBS_SAFE= yes + +PLIST_SUB= GWEN_SHLIB_VER="${GWEN_SHLIB_VER}" USE_LDCONFIG= yes GWEN_SHLIB_VER= 60 -GWEN_PLUGINS= ${LOCALBASE}/lib/gwenhywfar/plugins/${GWEN_SHLIB_VER} + +.include <bsd.port.options.mk> + +.if defined(WITH_APIDOC) +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz +CONFIGURE_ARGS+=--enable-full-doc +PORTDOCS= apidoc +.endif + +.if defined(WITH_MEMDEBUG) +CONFIGURE_ARGS+=--enable-memtrace +.endif post-patch: ${REINPLACE_CMD} -e 's|aq_endian\" ==|aq_endian\" =|g' \ ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|find chipcard|find libchipcard5|' \ + ${WRKSRC}/Makefile.in + +post-build: +.if defined(WITH_APIDOC) + @cd ${WRKSRC} && ${GMAKE} srcdoc +.endif post-install: - @${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE} +.if defined(WITH_APIDOC) + ${MKDIR} ${DOCSDIR}/apidoc + cd ${WRKSRC}/apidoc && \ + ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc +.endif .include <bsd.port.mk> diff -ruN libchipcard.orig/distinfo libchipcard/distinfo --- libchipcard.orig/distinfo 2011-07-17 19:59:23.000000000 -0400 +++ libchipcard/distinfo 2011-07-18 08:07:25.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (libchipcard-5.0.1test.tar.gz) = c4ea0408972bf906342a3f8d904a7ffa1f0f2df9f649377568fcbeef44ea02b7 -SIZE (libchipcard-5.0.1test.tar.gz) = 736433 +SHA256 (libchipcard-5.0.2.tar.gz) = d0968594c8ed0fc4cb6d681a74a5f000b48b0ac7a9375648b57d397ac49c1808 +SIZE (libchipcard-5.0.2.tar.gz) = 736107 diff -ruN libchipcard.orig/files/patch-readerstate libchipcard/files/patch-readerstate --- libchipcard.orig/files/patch-readerstate 2011-07-17 19:59:23.000000000 -0400 +++ libchipcard/files/patch-readerstate 1969-12-31 19:00:00.000000000 -0500 @@ -1,31 +0,0 @@ ---- src/lib/client/base/client_p.h.orig 2011-04-18 13:47:27.000000000 +0200 -+++ src/lib/client/base/client_p.h 2011-04-18 13:47:49.000000000 +0200 -@@ -42,7 +42,7 @@ - SCARDCONTEXT scardContext; - - int pnpAvailable; -- SCARD_READERSTATE_A readerStates[MAX_READERS]; -+ SCARD_READERSTATE readerStates[MAX_READERS]; - int readerCount; - int lastUsedReader; - LPSTR readerList; ---- src/lib/client/base/client.c.orig 2011-04-18 13:50:21.000000000 +0200 -+++ src/lib/client/base/client.c 2011-04-18 13:50:42.000000000 +0200 -@@ -872,7 +872,7 @@ - DBG_INFO(LC_LOGDOMAIN, "Creating reader \"%s\"", p); - i=cl->readerCount; - /* preset */ -- memset((void*) &(cl->readerStates[i]), 0, sizeof(SCARD_READERSTATE_A)); -+ memset((void*) &(cl->readerStates[i]), 0, sizeof(SCARD_READERSTATE)); - cl->readerStates[i].szReader=p; - cl->readerStates[i].dwCurrentState=SCARD_STATE_UNAWARE; - /* reader added */ -@@ -948,7 +948,7 @@ - assert(cl); - - /* clear reader list and reader status list */ -- memset((void*) &cl->readerStates, 0, sizeof(SCARD_READERSTATE_A)*MAX_READERS); -+ memset((void*) &cl->readerStates, 0, sizeof(SCARD_READERSTATE)*MAX_READERS); - cl->readerCount=0; - free(cl->readerList); - cl->readerList=NULL; diff -ruN libchipcard.orig/pkg-message libchipcard/pkg-message --- libchipcard.orig/pkg-message 2011-07-17 19:59:23.000000000 -0400 +++ libchipcard/pkg-message 1969-12-31 19:00:00.000000000 -0500 @@ -1,7 +0,0 @@ -******************************************************************************* -* * -* Example configuration has been installed in: * -* * -* %%PREFIX%%/etc/chipcard/chipcardc.conf * -* * -******************************************************************************* diff -ruN libchipcard.orig/pkg-plist libchipcard/pkg-plist --- libchipcard.orig/pkg-plist 2011-07-17 19:59:23.000000000 -0400 +++ libchipcard/pkg-plist 2011-07-18 08:38:52.000000000 -0400 @@ -1,9 +1,9 @@ -bin/kvkcard bin/cardcommander -bin/memcard -bin/geldkarte -bin/chipcard-tool bin/chipcard-config +bin/chipcard-tool +bin/geldkarte +bin/kvkcard +bin/memcard etc/chipcard/chipcardc.conf.default etc/chipcard/chipcardc.conf.example include/libchipcard5/chipcard/card.h @@ -32,6 +32,14 @@ include/libchipcard5/chipcard/sharedstuff/pininfo.h include/libchipcard5/chipcard/tlv.h include/libchipcard5/chipcard/version.h +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ddvcard.a +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ddvcard.la +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ddvcard.so +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ddvcard.xml +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/starcoscard.a +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/starcoscard.la +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/starcoscard.so +lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/starcoscard.xml lib/libchipcard.a lib/libchipcard.la lib/libchipcard.so @@ -70,24 +78,15 @@ share/chipcard/cards/zkacard.xml share/chipcard/drivers/cyberjack_pcsc.xml share/chipcard/drivers/generic_pcsc.xml -@dirrmtry share/chipcard/drivers -@dirrmtry share/chipcard/cards/generic_pcsc -@dirrmtry share/chipcard/cards/cyberjack_pcsc -@dirrmtry share/chipcard/cards -@dirrmtry share/chipcard/apps -@dirrmtry share/chipcard -@dirrmtry include/libchipcard5/chipcard/sharedstuff -@dirrmtry include/libchipcard5/chipcard/ct -@dirrmtry include/libchipcard5/chipcard/cards -@dirrmtry include/libchipcard5/chipcard -@dirrmtry include/libchipcard5 -@dirrmtry etc/chipcard -@cwd %%GWEN_PLUGINS%% -ct/ddvcard.a -ct/ddvcard.la -ct/ddvcard.so -ct/ddvcard.xml -ct/starcoscard.a -ct/starcoscard.la -ct/starcoscard.so -ct/starcoscard.xml +@dirrm share/chipcard/drivers +@dirrm share/chipcard/cards/generic_pcsc +@dirrm share/chipcard/cards/cyberjack_pcsc +@dirrm share/chipcard/cards +@dirrm share/chipcard/apps +@dirrm share/chipcard +@dirrm include/libchipcard5/chipcard/sharedstuff +@dirrm include/libchipcard5/chipcard/ct +@dirrm include/libchipcard5/chipcard/cards +@dirrm include/libchipcard5/chipcard +@dirrm include/libchipcard5 +@dirrm etc/chipcard --- 2011-07-19-libchipcard.diff ends here --- --- 2011-07-19-aqbanking.diff begins here --- diff -ruN aqbanking.orig/Makefile aqbanking/Makefile --- aqbanking.orig/Makefile 2011-06-02 04:10:58.000000000 -0400 +++ aqbanking/Makefile 2011-07-19 09:54:15.000000000 -0400 @@ -6,14 +6,17 @@ # PORTNAME= aqbanking -DISTVERSION= 5.0.7 +PORTVERSION= 5.0.14 CATEGORIES= finance -MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=03&release=80&file=01&dummy=/ +MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=03&release=85&file=01&dummy=/ MAINTAINER= bsdkaffee@gmail.com COMMENT= Online banking interface and financial data framework -LIB_DEPENDS= gwenhywfar.60:${PORTSDIR}/devel/gwenhywfar \ +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= gwenhywfar.62:${PORTSDIR}/devel/gwenhywfar \ gmp.10:${PORTSDIR}/math/gmp USE_GMAKE= yes @@ -21,9 +24,6 @@ USE_AUTOTOOLS= libtool USE_GNOME= gnomehack pkgconfig -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - OPTIONS= APIDOC "Full API documentation (requires Doxygen)" off \ KTOBLZCHECK "KtoBlzCheck support" off \ PAYPAL "Build PayPal backend (separate license)" off @@ -45,7 +45,8 @@ .include <bsd.port.options.mk> .if !defined(NOPORTDOCS) && defined(WITH_APIDOC) -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen +BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz CONFIGURE_ARGS+=--enable-full-doc PORTDOCS= apidoc .endif diff -ruN aqbanking.orig/distinfo aqbanking/distinfo --- aqbanking.orig/distinfo 2011-06-01 17:49:38.000000000 -0400 +++ aqbanking/distinfo 2011-07-17 19:53:45.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (aqbanking-5.0.7.tar.gz) = 9a3e3e51f182dc6b64ca5b1eeda6ad9393d9bf9a7d765e2a3b718f54fa83af73 -SIZE (aqbanking-5.0.7.tar.gz) = 3543105 +SHA256 (aqbanking-5.0.14.tar.gz) = fbd52d3ac712673db2d67a04c9a3d8c07f4180c1591c006fd86ff66c5dfeef06 +SIZE (aqbanking-5.0.14.tar.gz) = 3549299 diff -ruN aqbanking.orig/files/patch-configure aqbanking/files/patch-configure --- aqbanking.orig/files/patch-configure 1969-12-31 19:00:00.000000000 -0500 +++ aqbanking/files/patch-configure 2011-07-19 08:52:46.000000000 -0400 @@ -0,0 +1,11 @@ +--- ./configure.orig 2011-07-19 08:50:54.000000000 -0400 ++++ ./configure 2011-07-19 08:52:38.000000000 -0400 +@@ -18448,7 +18448,7 @@ + $as_echo_n "checking if symbol visibility is supported... " >&6; } + visibility_cflags="" + case `basename $CC` in +- *gcc*) ++ cc|*gcc*) + gccversion="` ${CC} --version | head -1 | ${SED} 's/.*\([0-9]\.[0-9]\.[0-9]*\).*/\1/' `" + case $gccversion in + 4.*) --- 2011-07-19-aqbanking.diff ends here --- --- 2011-07-19-gnucash.diff begins here --- diff -ruN gnucash.orig/Makefile gnucash/Makefile --- gnucash.orig/Makefile 2011-07-19 10:31:41.000000000 -0400 +++ gnucash/Makefile 2011-07-19 10:32:18.000000000 -0400 @@ -8,6 +8,7 @@ PORTNAME= gnucash PORTVERSION= 2.4.7 +PORTREVISION= 1 CATEGORIES= finance gnome MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} --- 2011-07-19-gnucash.diff ends here --- --- 2011-07-19-kmymoney-kde4.diff begins here --- diff -ruN kmymoney-kde4.orig/Makefile kmymoney-kde4/Makefile --- kmymoney-kde4.orig/Makefile 2011-07-19 10:30:21.000000000 -0400 +++ kmymoney-kde4/Makefile 2011-07-19 10:31:07.000000000 -0400 @@ -7,6 +7,7 @@ PORTNAME= kmymoney PORTVERSION= 4.5.3 +PORTREVISION= 1 CATEGORIES= finance kde MASTER_SITES= SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION} --- 2011-07-19-kmymoney-kde4.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e259ba6.08bfdc0a.6902.4e87>