Commit Graph

157 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos 2059f79793 install opensc.pc
This allows applications to detect opensc version, as well as
link against opensc's pkcs11 library if needed.
2016-09-20 01:47:37 +02:00
Viktor Tarasov a2a17186c2 autoconf: option to disable -Werror=declaration-after-statement
old GCCs (distributed with RedHat 5) do not understand this option
2016-06-03 11:13:09 +02:00
Frank Morgner 630e7ee08e use so file extension for OS X bundles
partially reverts c3527f4a5b
2016-05-23 11:29:36 +02:00
Viktor Tarasov b233274151 branch to work on release 0.16.0
tag RC1
2016-03-16 15:10:59 +01:00
Frank Morgner d41eaaea24 use ticks for strings 2016-03-07 10:39:42 +01:00
Frank Morgner 2e92ba8b70 use a conditional lib prefix for dll/so 2016-03-07 10:39:42 +01:00
Frank Morgner c3527f4a5b fixed dylib extensions 2016-03-07 10:39:42 +01:00
Viktor Tarasov 36b945aa22 tools: print package revision 2016-03-04 14:16:06 +01:00
Viktor Tarasov 848ce1947a iasecc: fix default name of SM module 2016-01-25 13:38:13 +01:00
Frank Morgner 89f9d9e85d add compatibility implementation for strnlen
fixes https://github.com/OpenSC/OpenSC/issues/660
2016-01-20 10:47:27 +01:00
Michał Trojnara fa9da7ad01 configurable OS thread locking 2015-12-01 09:19:03 +01:00
Frank Morgner 094179ce5c '.so' is also the OS X suffix for pkcs11 2015-10-14 14:34:20 +02:00
Frank Morgner b9b3b2a86e check for OpenSSL headers in auto-detection
OpenSSL headers have been removed on El Capitane which renders it
unusable for us.
2015-10-14 14:34:19 +02:00
Frank Morgner ac65af0669 Fixes unreleased locks with pcsc-lite
This is a bug in PCSC-Lite propably won't be fixed, see
https://alioth.debian.org/tracker/index.php?func=detail&aid=315083&group_id=30105&atid=410088

Fixes https://github.com/OpenSC/OpenSC/issues/480
Closes https://github.com/OpenSC/OpenSC/pull/487
2015-10-03 12:55:15 +02:00
Frank Morgner e0a4e0bfec Merge pull request #532 from frankmorgner/sloppy
implemented sloppy initialization for C_GetSlotInfo
2015-10-02 15:13:07 +02:00
Frank Morgner 1480a4ef4a use one configuration file for all systems 2015-10-01 12:44:41 +02:00
Frank Morgner ffd85adae7 Decouples SM from OpenSSL 2015-09-24 14:46:30 +02:00
Frank Morgner 69783f4e6c Unifies project wide vendor/product strings 2015-09-15 15:04:32 +02:00
Frank Morgner d7d64ee8d4 Merge pull request #494 from frankmorgner/fork
After a fork do not release resources shared with parent
2015-08-04 10:32:01 +02:00
Frank Morgner 7cec500e54 added flags to sc_context_t
- is initialized in sc_context_create with parm->flags
- removes members paranoid_memory and enable_default_driver
2015-07-22 17:30:21 +02:00
Carl Hörberg e5ae77cae3 Restore compability on os x
Fallback to
/System/Library/Frameworks/PCSC.framework/Versions/Current/Headers when
there are no OS X SDKs installed. Fixes bugs introduced in #308
2015-06-17 18:34:52 +02:00
Viktor Tarasov 31cb40db17 revision: 0.15.0 2015-05-16 21:45:40 +02:00
vletoux 2f6d1b5c97 avoid the failure: "Failed to get file version of custom action dll" 2015-05-10 15:04:44 +02:00
vletoux 9e07a75968 detect the wix components installed on the build machine 2015-05-10 15:04:44 +02:00
Frank Morgner 291e9dab9e use OpenSC as default PKCS#11 provider
closes #229
2014-12-19 22:27:34 +01:00
Martin Paljak 1145bed320 macosx: locate the best newest SDK present on the computer.
With recent versions of XCode, PC/SC headers are hidden inside
the SDK folder inside XCode app, and the global path is not
guaranteed to be present. This allows to build easily from source
without depending on a specific XCode/OSX version.
2014-10-25 20:01:38 +03:00
Ludovic Rousseau fb7bbf1e80 build: disable Secure Messaging if OpenSSL is not used
If OpenSSL is not present or --disable-openssl then Secure Messaging is
disabled.

The problem was that some Secure Messaging code is missing if OpenSSL is
absent. The build/link failed with some missing symbols.

Fix issue #293
2014-10-01 22:11:38 +02:00
Ludovic Rousseau 99281793e0 Fix secure messaging library name on Mac OS X
Mac OS X uses "libsmm-local.3.dylib" as library name. The default value
"libsmm-local.so.3" is correct for Linux but not for Mac OS X.

This bug prevented the "opensc-tool -a" to work correctly and return the
ATR if an IAS card is present in the reader.
2014-09-16 20:53:48 +02:00
Viktor Tarasov db60f8da59 release 0.14.0 2014-06-26 19:15:33 +02:00
Viktor Tarasov 852a4719cf
release: OpenSC-0.14.0 RTM 2014-06-09 16:34:06 +02:00
Viktor Tarasov f87a364ddc release: candidate for the next stable version 2014-05-31 20:06:30 +02:00
Viktor Tarasov 3418e9c146 OpenSC 0.13.1 rc1 2014-05-16 09:18:17 +02:00
Viktor Tarasov 24fa9d8cc2 build: by default enable SM support 2014-05-11 17:44:34 +02:00
Viktor Tarasov d4195e297c build: bootstrap script has expected content
added CI specific 'bootstrap' script version: with parameters it creates the 'm4.version.ci' -- CI specific 'm4.version'
2014-05-11 09:15:27 +02:00
Viktor Tarasov 4bed397fbc build: return to standard use of 'autoconf'
Following http://sourceforge.net/p/opensc/mailman/message/32009859/

* 'configure.ac' is not mored created by bootstrap script, but present in source
* 'version.m4' is introduced and contains the 'volatile' package settings:
   settings that can be changed for the needs of particular build (ex. change PACKAGE_SUFFIX using the Git 'describe' or 'commit' data)
* 'bootstrap' script facilitate change of the package setting during the 'autoconf' phase
2014-05-07 09:53:08 +02:00
Viktor Tarasov b3baf9e75d build: delete 'configure.ac', bootstrap creates it from 'configure.ac.in'
'configure.ac' has to be with the context related information,
as 'fix number', 'release number', fields of MSDN version-info, ...

Using supplied (or not) options,
bootstrap will create the working 'configure.ac' as a modified version of 'configure.ac.in'.
2013-12-30 10:30:03 +01:00
Viktor Tarasov 53ed5dc502 win32: build: 'version-info' resource for each target 2013-12-29 22:00:29 +01:00
Viktor Tarasov b928e814e5 build: bootstrap can be used with options
'branch', 'revision' and 'suffix'
2013-12-29 22:00:29 +01:00
Viktor Tarasov db9e4c9039 build: suppress warning 'unused-parameter' 2013-12-29 17:38:44 +01:00
Martin Paljak d4a3edac08 macosx: update package building to modern tools
PackageMaker has been deprecated since Xcode 4.6.
pkgbuild and productbuild have been available since 10.6.6
2013-12-18 09:49:44 +00:00
Ludovic Rousseau 02727a1406 Merge pull request #168 from germanblanco/opendnie
Adding support for DNIe.
2013-08-27 01:52:55 -07:00
Frank Morgner f597a7e50a enable compiler warnings by default 2013-08-02 15:21:17 +02:00
German Blanco 63ce563d76 Adding support for DNIe. 2013-06-13 17:31:56 +02:00
Viktor Tarasov 7cbd42a2d0 build: 'declaration-after-statement' is an error
not allowed in Windows VS, so make it also not allowed with GCC

Thanks to Martin,
https://github.com/OpenSC/OpenSC/pull/156#issuecomment-17538586
2013-05-07 15:48:07 +02:00
Martin Paljak 11ff81367a build: check for dlopen() in a BSD-friendly way.
From http://www.flameeyes.eu/autotools-mythbuster/autoconf/finding.html
2013-03-16 00:30:11 +02:00
Martin Paljak 32ed309037 pkcs11: use calloc instead of malloc; remove obsolete malloc.h references. 2013-03-15 23:02:02 +02:00
Martin Paljak 3fc2dbc9f1 Upgrade the MacOSX package build script to current state of affairs.
- Target only Intel (available since 2006) and OS X 10.6+ (released in 2009)
 - Use sources only from https://github.com/OpenSC/
2013-02-20 14:34:08 +02:00
Viktor Tarasov 3f30e14087 sm: move SM common crypto procedures to the dedicated library
rename 'sm' source directory
2013-01-04 22:29:59 +01:00
Viktor Tarasov 98ca66b1a0 release 0.13.0 2012-12-04 14:58:10 +01:00
Viktor Tarasov 6b7d8af08e build: release candidate 0.13.0 RC1 2012-10-03 16:24:47 +02:00