Skip to content

Commit

Permalink
SmartcardCCID-55008
Browse files Browse the repository at this point in the history
Imported from SmartcardCCID-55008.tar.gz
  • Loading branch information
AppleOSSDistributions committed Oct 6, 2021
1 parent 128ea55 commit eb06001
Show file tree
Hide file tree
Showing 328 changed files with 61,192 additions and 83,759 deletions.
602 changes: 506 additions & 96 deletions COPYING

Large diffs are not rendered by default.

56 changes: 33 additions & 23 deletions SmartcardCCID.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,46 @@
<key>OpenSourceProject</key>
<string>ccid</string>
<key>OpenSourceVersion</key>
<string>1.3.11</string>
<string>1.4.14</string>
<key>OpenSourceWebsiteURL</key>
<string>http://alioth.debian.org/frs/?group_id=30105&amp;release_id=1192</string>
<string>http://pcsclite.alioth.debian.org/ccid.html</string>
<key>OpenSourceURL</key>
<string>http://alioth.debian.org/frs/download.php/3080/ccid-1.3.11.tar.bz2</string>
<string>https://alioth.debian.org/frs/download.php/file/3971/ccid-1.4.14.tar.bz2</string>
<key>OpenSourceImportDate</key>
<string>2010-04-13</string>
<string>2013-12-10</string>
<key>OpenSourceModifications</key>
<array>
<string>destDirFix.patch - makefile.in, customized destination directory</string>
<string>ForceWithoutPcsc.patch - Makefile.am, Makefile.in, define PROVIDED_BY_PCSC</string>
<string>ccid-info-plist.patch - Info.plist.src, ifdLogLevel 0x0001</string>
<string>osxConfigure.patch - configure, if [[ (&quot;$*&quot; =~ &quot;--no-configure&quot;) ]]; then exit 0 fi</string>
<string>scardcontrol.c.patch - scardcontrol.c, fix formating string warnings</string>
<string>RSA_SecurID_getpasswd.c.patch - RSA_SecurID_getpasswd.c, fix formating string warnings</string>
</array>
<key>OpenSourceLicense</key>
<string>GPL</string>
<string>LGPL</string>
<key>OpenSourceLicenseFile</key>
<string>ccid.txt</string>
<string>SmartcardCCID.txt</string>
</dict>
<dict>
<key>OpenSourceProject</key>
<string>libusb</string>
<key>OpenSourceVersion</key>
<string>0.1.13b</string>
<key>OpenSourceWebsiteURL</key>
<string>http://www.ellert.se/twain-sane/</string>
<key>OpenSourceURL</key>
<string>http://www.ellert.se/PKGS/libusb-2008-02-02/src/libusb-2008-02-02-svn-macosx.tar.gz</string>
<key>OpenSourceImportDate</key>
<string>2008-07-22</string>
<key>OpenSourceModifications</key>
<array>
</array>
<key>OpenSourceLicense</key>
<string>LGPL</string>
<key>OpenSourceLicenseFile</key>
<string>libusb.txt</string>
<key>OpenSourceProject</key>
<string>libusb</string>
<key>OpenSourceVersion</key>
<string>1.0.9</string>
<key>OpenSourceWebsiteURL</key>
<string>http://www.libusb.org</string>
<key>OpenSourceURL</key>
<string>http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2/download</string>
<key>OpenSourceImportDate</key>
<string>2013-12-10</string>
<key>OpenSourceModifications</key>
<array>
<string>darwin_no_seize.patch - darwin.c, replace USBDeviceOpenSeize by USBDeviceOpen</string>
</array>
<key>OpenSourceLicense</key>
<string>LGPL</string>
<key>OpenSourceLicenseFile</key>
<string>SmartcardCCID.txt</string>
</dict>
</array>
</plist>
14 changes: 8 additions & 6 deletions ccid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ UserType = Administrator
ToolType = Commands
GnuAfterInstall = post-install
Extra_Configure_Flags = --enable-usbdropdir=/usr/libexec/SmartCardServices/drivers \
PCSC_CFLAGS="-I$(SRCROOT)/ccid/MacOSX -DRESPONSECODE_DEFINED_IN_WINTYPES_H" \
PCSC_CFLAGS="-I$(SRCROOT)/ccid/MacOSX -DRESPONSECODE_DEFINED_IN_WINTYPES_H -DUSE_COMPOSITE_AS_MULTISLOT" \
PCSC_LIBS="-framework PCSC" \
LIBUSB_CFLAGS="-I$(DSTROOT)/usr/include" \
LIBUSB_LIBS="-L$(DSTROOT)/usr/lib -lusb -framework IOKit -framework CoreFoundation"
LIBUSB_CFLAGS="-I$(DSTROOT)/usr/include/libusb-1.0" \
LIBUSB_LIBS="-L$(DSTROOT)/usr/lib -lusb-1.0 -framework IOKit -framework CoreFoundation -framework Foundation"

Extra_Environment =

Expand All @@ -20,14 +20,16 @@ post-install:
find $(DSTROOT)/ -name '*.dylib*' -exec strip -S \{\} \;
find $(DSTROOT)/ -name 'libusb*' -exec rm \{\} \;
find $(DSTROOT)/ -name 'usb*.h' -exec rm \{\} \;
rm -r $(DSTROOT)/usr/include
rm -r $(DSTROOT)/usr/lib

# Automatic Extract & Patch
AEP_Project = ccid
AEP_Version = 1.3.11
AEP_Version = 1.4.14
AEP_ProjVers = $(AEP_Project)-$(AEP_Version)
AEP_Filename = $(AEP_ProjVers).tar.bz2
AEP_ExtractDir = $(AEP_ProjVers)
AEP_Patches = destDirFix.patch ForceWithoutPcsc.patch ccid-info-plist.patch osxConfigure.patch # ccid-info-plist.patch ForceWithoutPcsc.patch destDirFix.patch
AEP_Patches = destDirFix.patch ForceWithoutPcsc.patch ccid-info-plist.patch osxConfigure.patch scardcontrol.c.patch RSA_SecurID_getpasswd.c.patch

# Extract the source.
install_source::
Expand All @@ -37,5 +39,5 @@ install_source::
for patchfile in $(AEP_Patches); do \
(cd $(SRCROOT)/$(Project) && patch -p0 < $(SRCROOT)/files/$$patchfile) || exit 1; \
done
(cd $(SRCROOT)/$(Project) && MacOSX/configure --no-configure --disable-opensc --disable-pcsclite)
(cd $(SRCROOT)/$(Project) && MacOSX/configure --no-configure)

Binary file added ccid/ccid-1.4.14.tar.bz2
Binary file not shown.
Loading

0 comments on commit eb06001

Please sign in to comment.