Commit Graph

235 Commits

Author SHA1 Message Date
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
Ludovic Rousseau 3656b478f0 Use AX_PTHREAD instead of ACX_PTHREAD
configure.ac:304: warning: The macro `ACX_PTHREAD' is obsolete.
configure.ac:304: You should run autoupdate.
m4/ax_pthread.m4:87: ACX_PTHREAD is expanded from...
2012-09-25 23:03:38 +02:00
Viktor Tarasov 2a88453aaa build: Illegal char '-' in: 'Version: 0.13.0-pre1' 2012-09-16 22:39:12 +02:00
Viktor Tarasov a305f4a99b build: increase minor version number
let's start to prepare next release
2012-06-10 14:32:46 +02:00
Viktor Tarasov cfd5aaba7d SM: initial implementation of secure messaging framework 2012-06-08 20:17:35 +02:00
Alon Bar-Lev df8715849d Remove libltdl: Remove ltld references
http://www.opensc-project.org/pipermail/opensc-devel/2011-December/017490.html
cherry-picked from 'libtool' branch of Alon Barlev's github project git://github.com/alonbl/OpenSC.git
and rebased

Remove libltdl: Remove ltld references
(cherry picked from commit a350326c520c5b0cb185f90946648633f4d0e456)

Remove libltdl: Detect libdl
(cherry picked from commit 51e7de45c11823460e776492dcbd40e60583a7eb)

Remove libltdl: Use libscdl
(cherry picked from commit 09f3eadb8a1a47407c011dcd3d5ce461516f3b87)

Remove libltdl: Cleanup libscdl
(cherry picked from commit 52d5f1be01146079e3a6fad1c88ebb0f577d0a94)

Remove libltdl: Cleanup libscdl usage at Microsoft VC build

Untested, I don't have the environment, Martin, please test.
(cherry picked from commit 7fb18f8d0b0bae6d181981a0c71190440e917c2c)

Change-Id: I73c98ccb9365584b12f4b0b97b69316a190b6e45
2012-03-17 20:55:05 +01:00
Ludovic Rousseau 3f7db42878 Merge pull request #5 from marschap/doc-for-staging
Doc updates for staging
2012-01-09 01:25:36 -08:00
Martin Paljak e0748e2bdb Staging builds must include the new version for PreReleases. 2011-09-13 22:02:01 +03:00
Peter Marschall dbc5f75969 doc/tools/Makefile.am: new Makefile template for autotools
Created doc/tools/Makefile.am in order to generate a Makefile in doc/tools/.
Use pattern rules in doc/tools/Makefile.am; clean up doc/Makefile.am.
2011-08-21 13:47:41 +02:00
Martin Paljak d505a55483 Release OpenSC 0.12.2 2011-07-15 13:40:07 +03:00
Martin Paljak a8df0b37cd PreReleases: publish 0.12.2 RC2, the final RC. 2011-07-13 17:27:13 +03:00
Ludovic Rousseau e8b22f63e7 Silent build rules by default
Use make V=1 for the verbose mode (as used before)
2011-06-30 13:24:56 +03:00
Martin Paljak 2680a55abd Amend previous commit, configure.ac was unpublished. 2011-06-28 13:10:43 +03:00
Martin Paljak d4e90c171a Changes to build scripts requires for Git transition 2011-06-15 10:58:37 +03:00
martin 0dcab4abef NightlyBuilds: trunk shall be 0.12.2
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5452 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-17 17:07:37 +00:00
martin a449ab4d1b Release r5449 as OpenSC 0.12.1
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5450 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-17 16:59:49 +00:00
vtarasov c3294c9f74 suspend commit of SM support until the nearest release
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5442 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-13 14:04:55 +00:00
vtarasov d04dd5c649 configure: add configuration option for support of 'Secure Messaging', desabled by default
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5441 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-13 13:27:25 +00:00
martin e477d66d07 NightlyBuilds: prepare for OpenSC 0.12.1-rc1 PreReleases
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5408 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-29 09:02:09 +00:00
martin a7934b307e MacInstaller: use autoconf to write the correct version to ReadMe files of installers.
* Better version tagging of generated files
 * Bundle files necessary for OS X installer generation to the distribution targzip

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5376 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-20 12:14:44 +00:00
martin 44cf3d06ae MiniDriver: rename cardmod to minidriver in source.
Also change some grammar, whitespace (reported by git) and wording (Opensc->OpenSC) issues.
Add some comments here and there.

See http://www.opensc-project.org/pipermail/opensc-devel/2011-April/016261.html

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5329 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-12 07:40:12 +00:00
martin db3ebb1514 WindowsInstaller: set the product version programmatically for MSI
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5293 c6295689-39f2-0310-b995-f0e70906c6a9
2011-04-04 10:35:28 +00:00
martin ffb46d2573 core: reanimate the sc_dlopen API for dynamic loading
* shift libpkcs11 from src/pkcs11 to src/common as it is not used to implement the OpenSC PKCS#11 module
 * invent a "libscdl" mini library that implements either libltdl based dynamic loading or uses native interfaces
 * drop hard requirement for libltl to build OpenSC
 * native Windows build does not need libltdl any more
 * specify CNGSDK include dir to find cardmod.h. CNGSDK only registers with a handful of compilers

Deals with #323

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5201 c6295689-39f2-0310-b995-f0e70906c6a9
2011-02-16 19:02:11 +00:00
martin 3dce2e08d4 WindowsInstaller: generate OpenSC.iss with autotools
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5008 c6295689-39f2-0310-b995-f0e70906c6a9
2010-12-30 15:10:06 +00:00
martin c514da444e Move towards 0.12.1
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4982 c6295689-39f2-0310-b995-f0e70906c6a9
2010-12-22 17:42:41 +00:00
martin 72c0474dde Prepare for 0.12.0
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4980 c6295689-39f2-0310-b995-f0e70906c6a9
2010-12-22 17:12:11 +00:00
martin 7f32e7a079 Build 0.12.0-rc2
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4961 c6295689-39f2-0310-b995-f0e70906c6a9
2010-12-17 10:15:11 +00:00
martin ab6511cb63 Trac #264: fix mingw32 build with mingw32-runtime versions <= 3.13
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4871 c6295689-39f2-0310-b995-f0e70906c6a9
2010-11-08 11:17:09 +00:00
martin 50f4ba5ad0 build: detect xsl-stylesheet location for latest opensuse.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4824 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-21 13:53:58 +00:00
alonbl ed81328db6 detect man by xslstylesheetsdir too
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4823 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-21 12:17:51 +00:00
alonbl 8ebde203ee bug#262 - force xsl-stylesheets when using man/doc
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4822 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-21 04:28:01 +00:00
martin 2d6e3bd262 EstonianEid: remove the iconv dependency and use the common name from the certificate as the card label.
This makes it universal, as some cards don't have the personal data file (Digi-ID)
It also makes it a bit ugly, as the common name is the name and personal ID code
concatenated like "FIRSTNAME,LASTNAME,123456789"

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4817 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-19 11:25:25 +00:00
martin 4a79acd827 Prepare for OpenSC 0.12.0-rc1
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4797 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-06 07:54:03 +00:00
alonbl 8a1903345e Simplify build system, remove the generated distributed files.
Thread is at [1].

Build with docs or man now requires xsltproc.

http://www.mail-archive.com/opensc-devel@lists.opensc-project.org/msg06750.html



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4791 c6295689-39f2-0310-b995-f0e70906c6a9
2010-10-05 20:34:58 +00:00
alonbl 6ebd49397e Don't dump wiki content into distribution package.
As requested by Martin[1].

Before releasing a new formal version, run:
$ make Generate-ChangeLog

It generates the ChangeLog out of svn and autoreconf again for package inclusion.

[1] http://www.opensc-project.org/pipermail/opensc-devel/2010-September/015014.html



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4776 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-26 21:30:44 +00:00
martin dd6c9006b8 build: darwin specific customizations not needed, need_dash_r for solaris not used.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4758 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-22 12:06:05 +00:00
martin 6ff0f85292 build: remove ancient and unsupported platform checks, added in [94]
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4755 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-22 11:47:26 +00:00
martin ec2befb5c5 build: add --disable-assert (enabled by default)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4717 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-14 08:17:48 +00:00
martin 72d961beb2 Fix #216: initial go with multiple reader subsystem removal.
* One sc_context has only a single reader driver.
 * remove dynamic reader driver loading capabilities
 * remove opensc-tool -R command
 * change the internal API, we don't need to pass around a "driver data" pointer as it can be found directly from the context.
 * check in ./configure for only a single enabled reader driver

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4709 c6295689-39f2-0310-b995-f0e70906c6a9
2010-09-11 13:00:47 +00:00
martin 2b1a8b5828 build: don't check for unused functions and headers.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4643 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-23 10:32:17 +00:00
ep b279287701 strlcat(3) implementation
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4634 c6295689-39f2-0310-b995-f0e70906c6a9
2010-08-18 13:42:26 +00:00
martin a8c438fde1 configure: Add possible docbook paths on OS X (Fink, MacPorts)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4612 c6295689-39f2-0310-b995-f0e70906c6a9
2010-07-27 08:05:31 +00:00
viktor.tarasov f17ca0fd74 tools: in local 'getpass' procedure getline() is not used any more
Without GNU C extention 'getline()' the same code of the local 'getpass' procedure is used for Mac OS and Linux.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4272 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-28 09:20:18 +00:00
viktor.tarasov 122d357fde tools: thanks to Ludovic; check for getline() in configure.ac and use 'HAVE_GETLINE' macro in get password procedure.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4266 c6295689-39f2-0310-b995-f0e70906c6a9
2010-04-26 12:29:42 +00:00
aj 921a2cc39f Start documenting changes and increse libary version (we are no longer
compatible with 0.11.* line).


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4120 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-16 13:51:39 +00:00
aj d22a2483c0 Header file cleanup.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4081 c6295689-39f2-0310-b995-f0e70906c6a9
2010-03-04 08:14:36 +00:00
martin 6f887e5b62 #185: drop opensc-config. If required, pkg-config and libopensc.pc can be used instead.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4070 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-24 12:20:59 +00:00
aj 9e64de79e4 Remove openssh/ directory and our patch for openssh,
as they removed the opensc code in favor or new pkcs#11 code.
This new code works out of the box with opensc-pkcs11.so, 
so we don't need the patch any more.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4066 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-24 08:25:13 +00:00
martin e88839475a Missing piece from [4055]
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4056 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-21 11:10:30 +00:00
aj 462f7ac7e8 automake gets packge name and version from AC_INIT.
the old AM_INIT_AUTOMAKE syntax is deprecated now, switch to the new one.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4034 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-16 07:10:45 +00:00
alonbl f636cc1862 cardmod - build fixups and mingw stuff
1. Add --enable-cardmod to autoconf to enable feature explicitly.

2. Modify opensc-cardmod.dll to always have bitness suffix eg opensc-cardmod32.dll

3. Remove complex cardmod.h detection, could not find any reason for this.

4. Make cardmod.inf a template and inject opensc version into its version string.

5. More minor autoconf/automake cleanups.

6. Remove internal-winscard.h usage in cardmod.c as cardmod.h already includes winscard.h

7. DllMain is not exportable.

Notes:

1. I may caused other build not to work, will happy to work it out.

2. Cannot find reason why cardmod.inf cardmod-westcos.reg should reside in bin directory.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4003 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-05 21:39:28 +00:00
flc 0e03c6d5cf add cardmod a minidrivers for windows
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4001 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-05 13:05:25 +00:00
alonbl a6f9f023a0 [WINDOWS] Remove tool specific file description support resource file
The implementation was based on the previous MSC build, each tool had its own
description in version resource.

This change sets a single version resource to all files, and produces much
simpler build.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3980 c6295689-39f2-0310-b995-f0e70906c6a9
2010-02-02 14:50:42 +00:00
alonbl ff8912c600 Remove plugindir as plugin was removed
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3852 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-16 07:32:46 +00:00
martin c398f55373 Allow to turn off CT-API support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3850 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-15 18:03:04 +00:00
martin ca0976ba6f Remove signer and related configure elements
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3840 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-13 11:48:17 +00:00
martin 450e1fc5ae Merge [3794:3803/trunk]
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3804 c6295689-39f2-0310-b995-f0e70906c6a9
2009-11-05 18:27:56 +00:00
martin 95a5ab0654 Re-implement PIN cache on PKCS#15 layer; remove it from PKCS#11. Re-name and log PKCS#15 options to better reflect the purpose.
Data objects and PKCS#15 init are left broken currently.



git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3784 c6295689-39f2-0310-b995-f0e70906c6a9
2009-10-22 08:59:59 +00:00
martin 6fd2220311 Bump the version number
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3742 c6295689-39f2-0310-b995-f0e70906c6a9
2009-09-20 10:57:11 +00:00
aj 886fa8931f trunk is now post release.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3716 c6295689-39f2-0310-b995-f0e70906c6a9
2009-07-29 07:03:59 +00:00
aj a495162259 Prepare for new release
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3714 c6295689-39f2-0310-b995-f0e70906c6a9
2009-07-29 07:02:37 +00:00
aj 0db85da76a prep next release.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3689 c6295689-39f2-0310-b995-f0e70906c6a9
2009-05-07 13:09:03 +00:00
alonbl 23e247cafe Fix GNU libiconv detection
By Kalev Lember

The attached patch fixes GNU libiconv detection by adding an additional
libiconv symbol check to autoconf -liconv link test. Right now some
iconv implementations have only iconv* symbols (GNU libc), some have
only libiconv* (GNU libiconv), and some have both defined (Mac OS X's
iconv), so it's necessary to check for both variants.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3684 c6295689-39f2-0310-b995-f0e70906c6a9
2009-04-21 16:43:00 +00:00
alonbl dc3f8f6509 Default PCSC CFLAGS from pkg-config
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3650 c6295689-39f2-0310-b995-f0e70906c6a9
2009-02-03 20:11:30 +00:00
aj fe195e9b33 trunk code is now working towards 0.11.8
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3647 c6295689-39f2-0310-b995-f0e70906c6a9
2009-02-01 08:19:49 +00:00
alonbl 98841d1e61 Finally remove eval stuff from autoconf
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3636 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-23 09:00:11 +00:00
alonbl ef38618c34 Remove unused OPENSC_ETC_PATH
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3635 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-22 14:29:25 +00:00
alonbl 78ac13a96a Add PACKAGE_SUFFIX
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3629 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-19 13:39:52 +00:00
alonbl 584e0a1b2f Expose version components into config.h
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3628 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-19 13:32:29 +00:00
alonbl cdbd4c1193 More iconv build fixes
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3623 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-16 20:52:36 +00:00
alonbl 96d387b5e9 Fix external iconv override
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3622 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-16 20:21:27 +00:00
alonbl c9c6f9f2b2 Correct iconv support
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3621 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-16 17:48:26 +00:00
alonbl 51824acab7 Revert r3612, the autoconf warning is correct and be the default in future
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3620 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-16 17:13:32 +00:00
martin 300dfeb088 link with iconv on Mac OS X, to support [3616]
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3617 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-15 23:55:00 +00:00
martin 6ffec42055 Linux compatible PKCS#11-friendly changes to EstEID PKCS#15 emulation driver to display the name of the cardholder in token label field.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3616 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-15 23:20:48 +00:00
martin 6f72e22b31 Get rid of configure warnings:
{{{
configure: WARNING: winscard.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: winscard.h: proceeding with the compiler's result
}}}


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3612 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-15 20:05:09 +00:00
martin 86fe58e326 Provide default system PCSC_CFLAGS on Mac OS X
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3611 c6295689-39f2-0310-b995-f0e70906c6a9
2009-01-15 20:01:52 +00:00
alonbl bb6f6f7952 mingw32->mingw*
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3591 c6295689-39f2-0310-b995-f0e70906c6a9
2008-10-27 19:17:36 +00:00
alonbl d7941bf850 Re-add pcsc-lite compile-time dependency
Win64 changed the SCARDCONTEXT from LONG to ULONG_PTR,
pcsc-lite did not follow this on 64bit platforms.
This breaks the pcsc module.

To solve this we use installed winscard.h in order to get proper
declerations.

As mingw32 does not have winscard.h we keep current types. mingw64 and
pcsc-lite system have winscard.h.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3590 c6295689-39f2-0310-b995-f0e70906c6a9
2008-10-27 19:16:28 +00:00
aj 29ee5e116c Update trunk for new release.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3559 c6295689-39f2-0310-b995-f0e70906c6a9
2008-08-27 06:19:36 +00:00
aj 59dc6f5157 update configure and NEWS file.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3543 c6295689-39f2-0310-b995-f0e70906c6a9
2008-07-30 11:57:40 +00:00
alonbl a3796270d4 Detect libtool-1 or libtool-2 at runtime
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3534 c6295689-39f2-0310-b995-f0e70906c6a9
2008-06-11 10:14:43 +00:00
alonbl 555dcd912e Revert autoconf version prereq
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3530 c6295689-39f2-0310-b995-f0e70906c6a9
2008-06-05 20:21:30 +00:00
alonbl a9db36f7bb Rename aclocal->m4 to be more standard
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3529 c6295689-39f2-0310-b995-f0e70906c6a9
2008-06-05 17:06:27 +00:00
alonbl 7d6cf6b694 Prepare for libtool-2
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3528 c6295689-39f2-0310-b995-f0e70906c6a9
2008-06-05 17:03:47 +00:00
alonbl 0d71a75b1a Fixup configure help strings
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3514 c6295689-39f2-0310-b995-f0e70906c6a9
2008-05-14 18:34:32 +00:00
alonbl d84077749b Distribute autoconf generated files for MSVC build
Construct resource files and winconfig.h using autoconf
substitutions.



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3468 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-08 18:36:42 +00:00
alonbl 94d884922c Fix default PC/SC provider for darwin, thanks to Martin Paljak
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3456 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-02 19:48:12 +00:00
alonbl 0e2c664d34 Rename PC/SC library into PC/SC provider.
Sync symbols between configuration and source.
Put default provider in opensc.conf, opensc-tool.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3455 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-02 05:44:12 +00:00
alonbl 47c7cf2bbe Readd -svn version suffix, removed at revision 3446
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3453 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 20:32:28 +00:00
alonbl 3f7aa03520 Add --with-pcsc-module to configure
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3452 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 20:10:43 +00:00
alonbl 87db3c96c2 More separate srcdir fixups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3450 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 19:04:33 +00:00
ludovic.rousseau 69dd0baf30 use $(srcdir) for dist_noinst_DATA
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3446 c6295689-39f2-0310-b995-f0e70906c6a9
2008-04-01 13:01:43 +00:00
alonbl 9d20a071d6 Trivial
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3442 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-29 20:34:38 +00:00
alonbl d0e0dd2820 Cleanup conventions to meet other OpenSC projects
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3438 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-24 16:05:31 +00:00
alonbl 500b36ae08 Revert last
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3434 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-20 13:36:50 +00:00
alonbl 622e3425e3 Need AC_LIBTOOL_DLOPEN for PKCS#11 module
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3433 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-20 13:06:57 +00:00
alonbl 97a3455e6c Fix typo
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3423 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-15 13:24:44 +00:00
alonbl 5e5a053e9a Fixup autoconf detection
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3422 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-15 13:24:05 +00:00
alonbl f49f765ac6 Fix libtool versioning issues
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3421 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-15 11:05:26 +00:00
alonbl 1635782e62 Fixup autoconf help
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3420 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-14 21:26:42 +00:00
alonbl 3e78a50edc Minor cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3419 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-14 07:44:09 +00:00
alonbl c7d2788f01 Support >=autoconf-2.60
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3418 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-10 18:17:56 +00:00
alonbl 7ec2b320d6 Remove emptyline
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3416 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-10 07:10:53 +00:00
alonbl 5e4abcc675 Some build cleanups
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3413 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 19:44:12 +00:00
alonbl 440ea331db Windows DLL suffix is actually delta
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3410 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 12:01:22 +00:00
alonbl c9af12d475 Add some missing AC_PROG
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3409 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-09 11:48:03 +00:00
alonbl 0a809dd5cb Complete rewrite of OpenSC build system.
1.  Build system now supports MinGW (Windows) compilation using msys and cross compilation.
2.  Ability to explicitly disable and enable dependencies of the package.
3.  openct, pcsc and nsplugins features are disabled by default.
4.  Modified pcsc driver to use pcsc dynamically, no compile time dependency is required.
5.  --enable-pcsc-lite configuration option renamed to --enable-pcsc.
6.  Install opensc.conf file (as opensc.conf.new if opensc.conf exists).
7.  Add--enable-doc configuration option, allow installing documentation into target.
8.  Add --disable-man configuration option, allow msys mingw32 users to
    build from svn without extra dependencies.
9.  Add export files to each library in order to export only required symbols.
    Windows native build may use these files instead of scanning objects' symbols.
10. Add opensc-tool --info to display some general information about the build.
11. Create compatibility library to be linked against library instread of recompiling the
    same source files in different places.
12. Add different win32 version resource to each class of outputs.
13. Make xsl-stylesheets location selectable.
14. Some win32 fixups.
15. Some warning fixups.
16. Many other autoconf/automake cleanups.

Alon Bar-Lev

svn diff -r 3315:3399 https://www.opensc-project.org/svn/opensc/branches/alonbl/mingw

_M   .
D    configure.in
_M   src
_M   src/openssh
M    src/openssh/Makefile.am
_M   src/tools
M    src/tools/rutoken-tool.c
M    src/tools/opensc-tool.c
M    src/tools/cardos-info.c
M    src/tools/pkcs15-crypt.c
M    src/tools/pkcs15-init.c
M    src/tools/piv-tool.c
M    src/tools/netkey-tool.c
M    src/tools/eidenv.c
M    src/tools/cryptoflex-tool.c
M    src/tools/util.c
M    src/tools/pkcs11-tool.c
M    src/tools/pkcs15-tool.c
M    src/tools/util.h
M    src/tools/opensc-explorer.c
M    src/tools/Makefile.am
_M   src/pkcs11
M    src/pkcs11/pkcs11-global.c
M    src/pkcs11/framework-pkcs15.c
M    src/pkcs11/mechanism.c
M    src/pkcs11/pkcs11-display.c
M    src/pkcs11/pkcs11-object.c
A    src/pkcs11/opensc-pkcs11.exports
M    src/pkcs11/sc-pkcs11.h
M    src/pkcs11/pkcs11-spy.c
M    src/pkcs11/openssl.c
M    src/pkcs11/Makefile.am
A    src/pkcs11/pkcs11-spy.exports
_M   src/tests
_M   src/tests/regression
M    src/tests/regression/Makefile.am
M    src/tests/sc-test.c
M    src/tests/pintest.c
M    src/tests/Makefile.am
_M   src/include
_M   src/include/opensc
M    src/include/opensc/Makefile.am
A    src/include/opensc/svnignore
M    src/include/Makefile.am
_M   src/signer
_M   src/signer/npinclude
M    src/signer/npinclude/Makefile.am
M    src/signer/Makefile.am
A    src/signer/signer.exports
_M   src/common
A    src/common/compat_dummy.c
D    src/common/getopt.txt
D    src/common/strlcpy.c
D    src/common/LICENSE
A    src/common/compat_getopt.txt
A    src/common/compat_strlcpy.c
A    src/common/LICENSE.compat_getopt
A    src/common/compat_getopt.c
D    src/common/strlcpy.h
D    src/common/ChangeLog
D    src/common/getpass.c
D    src/common/my_getopt.c
A    src/common/compat_strlcpy.h
A    src/common/compat_getpass.c
A    src/common/compat_getopt.h
A    src/common/ChangeLog.compat_getopt
D    src/common/README.strlcpy
D    src/common/my_getopt.h
A    src/common/compat_getpass.h
A    src/common/README.compat_strlcpy
D    src/common/strlcpy.3
A    src/common/README.compat_getopt
D    src/common/getopt.3
D    src/common/README.my_getopt
A    src/common/compat_strlcpy.3
A    src/common/compat_getopt.3
M    src/common/Makefile.am
M    src/Makefile.am
_M   src/pkcs15init
M    src/pkcs15init/pkcs15-oberthur.c
M    src/pkcs15init/profile.c
M    src/pkcs15init/pkcs15-lib.c
M    src/pkcs15init/pkcs15-rutoken.c
A    src/pkcs15init/pkcs15init.exports
M    src/pkcs15init/pkcs15-gpk.c
M    src/pkcs15init/Makefile.am
_M   src/scconf
M    src/scconf/Makefile.am
M    src/scconf/parse.c
A    src/scconf/scconf.exports
_M   src/libopensc
M    src/libopensc/card-rutoken.c
M    src/libopensc/compression.c
M    src/libopensc/sc.c
M    src/libopensc/card-piv.c
M    src/libopensc/pkcs15-openpgp.c
M    src/libopensc/pkcs15-postecert.c
M    src/libopensc/pkcs15-tcos.c
M    src/libopensc/opensc-config.in
M    src/libopensc/reader-pcsc.c
A    src/libopensc/internal-winscard.h
M    src/libopensc/ctx.c
A    src/libopensc/libopensc.exports
M    src/libopensc/pkcs15-piv.c
M    src/libopensc/pkcs15-infocamere.c
M    src/libopensc/internal.h
M    src/libopensc/pkcs15-actalis.c
M    src/libopensc/pkcs15-starcert.c
M    src/libopensc/card-oberthur.c
M    src/libopensc/pkcs15-atrust-acos.c
M    src/libopensc/p15card-helper.c
D    src/libopensc/part10.h
M    src/libopensc/ui.c
M    src/libopensc/card-gpk.c
M    src/libopensc/pkcs15-wrap.c
M    src/libopensc/pkcs15-gemsafeGPK.c
M    src/libopensc/log.c
M    src/libopensc/pkcs15-esteid.c
M    src/libopensc/pkcs15-prkey-rutoken.c
M    src/libopensc/log.h
M    src/libopensc/Makefile.am
M    src/libopensc/reader-openct.c
_M   aclocal
M    aclocal/Makefile.am
_M   win32
M    win32/Makefile.am
A    win32/versioninfo.rc.in
A    win32/ltrc.inc
A    configure.ac
_M   doc
_M   doc/tools
M    doc/tools/pkcs15-profile.xml
D    doc/changelog.sh
D    doc/export-wiki.xsl
_M   doc/api
_M   doc/api/file
M    doc/api/man.xsl
_M   doc/api/asn1
_M   doc/api/apps
_M   doc/api/init
_M   doc/api/types
_M   doc/api/card
M    doc/api/html.xsl
_M   doc/api/misc
_M   doc/api/util
M    doc/Makefile.am
D    doc/export-wiki.sh
AM   doc/nonpersistent
A    doc/nonpersistent/export-wiki.xsl
A    doc/nonpersistent/Makefile.am
A    doc/nonpersistent/export-wiki.sh
A    doc/nonpersistent/svn2cl.xsl
D    doc/generate-man.sh
D    doc/svn2cl.xsl
M    Makefile.am
A    svnignore
_M   etc
M    etc/opensc.conf.in
M    etc/Makefile.am
D    man
_M   solaris
M    solaris/Makefile



git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3405 c6295689-39f2-0310-b995-f0e70906c6a9
2008-03-06 16:06:59 +00:00