summaryrefslogtreecommitdiff
path: root/security/ccid
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2008-04-30 13:32:21 +0000
committershannonjr <shannonjr@pkgsrc.org>2008-04-30 13:32:21 +0000
commit6c169bd86d93bd40f963aeb9f82f4f11c3b5a7a7 (patch)
treef2e529ea1d2eb88e2ad2926b6e211d540afee535 /security/ccid
parentcac1e925d4ae262d1620b99ed93ee1f98ad1ad09 (diff)
downloadpkgsrc-6c169bd86d93bd40f963aeb9f82f4f11c3b5a7a7.tar.gz
Re: pkg/38550 (Support for DragonFly to security/ccid)
Synopsis: Support for DragonFly to security/ccid Incorporated fix submitted by Hasso Tepper.
Diffstat (limited to 'security/ccid')
-rw-r--r--security/ccid/distinfo4
-rw-r--r--security/ccid/patches/patch-aa33
2 files changed, 32 insertions, 5 deletions
diff --git a/security/ccid/distinfo b/security/ccid/distinfo
index 271f3326f76..9453aed61a3 100644
--- a/security/ccid/distinfo
+++ b/security/ccid/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/03/04 11:30:08 shannonjr Exp $
+$NetBSD: distinfo,v 1.2 2008/04/30 13:32:21 shannonjr Exp $
SHA1 (ccid-1.3.5.tar.gz) = feb59183184203eda8d86f39f8f283954c0d05da
RMD160 (ccid-1.3.5.tar.gz) = dd163b4ec702fbd2c57b14f6392452232fcea543
Size (ccid-1.3.5.tar.gz) = 593801 bytes
-SHA1 (patch-aa) = a46b893c1410f876248a2e0d3972524a8ff50c9f
+SHA1 (patch-aa) = 7f04127d300d94b9c7a326301425bfcf5a8c4a7d
SHA1 (patch-ab) = 13db7c54d6c45aa1cb61489a7f2b38f4155793cd
SHA1 (patch-ac) = 8c6f47d173ccf3b7794e828b9f7887bf26920f44
SHA1 (patch-ad) = 1eaae5649357cafbb7b612d45d4522bce7148f55
diff --git a/security/ccid/patches/patch-aa b/security/ccid/patches/patch-aa
index 83fe37ae1eb..d1bb281a224 100644
--- a/security/ccid/patches/patch-aa
+++ b/security/ccid/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:30:08 shannonjr Exp $
+$NetBSD: patch-aa,v 1.2 2008/04/30 13:32:21 shannonjr Exp $
---- configure.in.orig 2008-01-22 12:33:34.000000000 -0700
+--- configure.in.orig 2008-02-22 06:42:28.000000000 -0700
+++ configure.in
-@@ -93,6 +93,10 @@ case "$host" in
+@@ -94,6 +94,10 @@ case "$host" in
BUNDLE_HOST="FreeBSD"
DYN_LIB_EXT="so"
;;
@@ -13,3 +13,30 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/03/04 11:30:08 shannonjr Exp $
*-*-openbsd*)
BUNDLE_HOST="OpenBSD"
DYN_LIB_EXT="so.0.0"
+@@ -102,6 +106,10 @@ case "$host" in
+ BUNDLE_HOST="Solaris"
+ DYN_LIB_EXT="so"
+ ;;
++*-*-dragonfly*)
++ BUNDLE_HOST="DragonFly"
++ DYN_LIB_EXT="so"
++ ;;
+ *)
+ BUNDLE_HOST="Linux"
+ DYN_LIB_EXT="so"
+@@ -251,12 +259,15 @@ AC_ARG_ENABLE(pcsclite,
+ if test "${pcsclite}" != no ; then
+ # check that pcsc-lite is installed
+ OLD_LIBS="$LIBS"
++ OLD_CFLAGS="$CFLAGS"
+ LIBS="$LIBS $PCSC_LIBS"
++ CFLAGS="$CFLAGS $PCSC_CFLAGS"
+ AC_MSG_CHECKING([for SCardEstablishContext])
+ AC_TRY_LINK_FUNC(SCardEstablishContext,
+ [ AC_MSG_RESULT([yes]) ],
+ [ AC_MSG_ERROR([SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta9 or later,or use PCSC_LIBS=... ./configure]) ])
+ LIBS="$OLD_LIBS"
++ CFLAGS"$OLD_CFLAGS"
+
+ pcsclite=yes
+ fi