Commit Graph

80 Commits

Author SHA1 Message Date
Frank Morgner c524930e2b use a user defined PKG_CONFIG_PATH
closes https://github.com/OpenSC/OpenSC/pull/779
2016-06-04 01:36:53 +02:00
Frank Morgner 8dcdf204af build OpenSSL on OS X if needed 2016-05-23 11:29:34 +02:00
Frank Morgner 4a3e986f8e build 64 bit binaries only
Starting with OS X 10.8 only 64 bit binaries are needed
2016-05-23 11:29:28 +02:00
Ludovic Rousseau b3f5910c27 macosx: do not ignore CFLAGS
Reused the previously defined CFLAGS to add new arguments.
2016-02-29 20:19:42 +01:00
Frank Morgner 5422887f9b reflect dependency to OS X 10.10 in dmg description 2015-10-14 14:34:20 +02:00
Frank Morgner bccf2120cd use PREFIX as shortcut in build script 2015-10-13 15:05:28 +02:00
Frank Morgner da1d4cc78a Fix locking issue on OS X
Works around Apple shipping PCSC-Lite headers without PCSC-Lite. Let's
say they do it for "backward compatibility"...
2015-10-08 08:24:40 +02:00
Frank Morgner 989c06b25d OSX: don't ship with libp11/engine_pkcs11 anymore
both spin off projects should ship with a separate installer. See
discussion here https://github.com/OpenSC/OpenSC/issues/488
2015-09-16 03:52:00 +02:00
Frank Morgner a52b2928cd retry on error with hdiutil 2015-09-03 08:22:50 +02:00
Raul Metsma 4fedad53dd Fix tokend install on OSX 10.11
Install to /Library/Security/tokend instead /System/Library/Security/tokend
http://forums.macrumors.com/threads/os-x-10-11-all-the-little-things.1890519/
/System folder is readonly

Depends https://github.com/OpenSC/OpenSC.tokend/pull/16

Signed-off-by: Raul Metsma <raul@metsma.ee>
2015-07-30 20:31:09 +03:00
Frank Morgner a251b9335c use xcodebuild with `-target OpenSC`
patch by Dirk-Willem van Gulik
2015-03-31 23:57:19 +02:00
Martin Paljak 5448901160 macosx: update the minimal building instructions. 2014-10-26 11:48:57 +02:00
Martin Paljak 82624a98b7 macosx: locate and target the latest SDK to build against. 2014-10-25 20:07:36 +03:00
Raul Metsma f80759b65e Target minimum OSX version to 10.7 2014-09-07 22:07:57 +02:00
Raul Metsma cd7fbe3f8c MacOSX: Build fat binaries i386...
revert part of 6e255a95

Chrome is still 32 bit only
This allows plugins running in Chrome (32bit) to use OpenSC PKCS#11, which would otherwise be only 64bit. Tokend "hides" the cpu architecture issue otherwise.
2014-06-26 17:56:09 +02:00
Martin Paljak 4c31128bef macosx: add "graphical uninstaller" to distribution DMG.
This allows to uninstall the software by people who don't use Terminal.
2014-01-04 16:43:36 +00: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
Martin Paljak cfe0e7368d macosx: silence the deprecation warnings about OpenSSL 2013-12-11 10:41:19 +00:00
Ludovic Rousseau a18a7d8ecf Fix typo 2013-11-01 18:00:49 +01:00
Martin Paljak 6e255a9503 osx: target 10.9 (a free upgrade to anyone using 10.6+) from now on. 2013-10-24 13:29:34 +03:00
Martin Paljak d887083998 macosx: add new tool and SDK paths for OS X 10.8
Also:
 * Don't do a debug build
 * Don't download Tokend build pieces if already present.
 * Check the md5 of the "external binary"

See https://github.com/OpenSC/OpenSC/pull/148
2013-03-30 12:28:05 +02:00
Martin Paljak 025d8c8caf macosx: move the binary build components from martinpaljak.net to opensc-project.org 2013-02-25 11:59:59 +02:00
Martin Paljak 578cf06910 Fixup: somehow a double "make make" slipped through.
Thanks to Pohjalainen Pietu for noticing it.
2013-02-22 15:15:09 +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
Martin Paljak 6f8dcc9172 Make the Mac OS X package builder script more resilient.
Don't fail if not needed .la files are nout found in the target.

This is actually a test commit for github<->opensc-project.org sync
2011-12-08 12:18:22 +02:00
martin 7cc559ec39 MacInstaller: when building OpenSC.tokend, refresh remote branches before trying to switch.
Old checkout is used by build slaves, where new branches might not be visible

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5560 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 13:13:43 +00:00
martin 203eb871d6 MacInstaller: when building the engine on 10.6, extent the pkg-config search path with freshly built libp11 location instead of replacing the path.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5559 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 13:06:41 +00:00
martin f2da113f54 MacInstaller: r5550/[d888b3fd55] changed ABI, bump OpenSC.tokend branch revision.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5557 c6295689-39f2-0310-b995-f0e70906c6a9
2011-06-07 10:49:04 +00:00
martin 5deeef69c9 MacInstaller: fix distribution style, which accidentially got changed in r5376.
This only affects (corrects) Mac OS X binary packaging.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5453 c6295689-39f2-0310-b995-f0e70906c6a9
2011-05-18 05:33:40 +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