pkgsrc/security/softhsm/Makefile
pettai 78e4d81360 SoftHSM 1.3.0
* Can now read CKA_ALWAYS_AUTHENTICATE but does not use it.
* Encryption and decryption using CKM_RSA_PKCS.
* Support X.509 certificates. (Patch from Thomas Calderon)
* Updated backup instructions.
* Only a Security Officer can set CKA_TRUSTED to true.
* The softhsm tool can set the value of CKA_TRUSTED.
* Support Botan 1.10.0.
* Better signing performance with a single element cache for
  the PK_Signer object.
* Document README.MinGW describes how to build on Windows.
  (Text and patches contributed by Jaroslav Imrich)

Bugfixes:
* API changes in Botan created a namespace collision.
* API changes in Botan's state handling.
* BigInt::to_u32bit was accidently dropped in Botan. Adding it
  as a compatibility function to SoftHSM.
* Better exception handling.
* CKF_USER_PIN_COUNT_LOW and CKF_SO_PIN_COUNT_LOW must be set
  if an incorrect PIN has been entered at least once.
* Windows: Detect LoadLibrary.
* Windows: Set CRYPTOKI_EXPORTS.
* Windows: Load library correctly in softhsm.
* Windows: Compatibility function for getpass.
* Windows: Use _putenv and not setenv.
* Windows: Generate the DLL file.
* Windows: The softhsm tool will use the DLL file by default.
* Windows: Log to EventLog.
* Windows: Fix parsing of configuration file.
* Windows: The check program now links with a shared libgcc in order to
  make the exceptions work.

Known issue:
* Firefox does improper setting of CKA_DERIVE attribute during PKCS#12
  import. See https://bugzilla.mozilla.org/show_bug.cgi?id=515663
2011-09-17 21:47:30 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2011/09/17 21:47:30 pettai Exp $
#
DISTNAME= softhsm-1.3.0
CATEGORIES= security
MASTER_SITES= http://www.opendnssec.org/files/source/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.opendnssec.org/softhsm/
COMMENT= Cryptographic store accessible through a PKCS\#11 interface
LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
EGDIR= ${PREFIX}/share/examples/softhsm
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/Makefile.in
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
CONF_FILES= ${EGDIR}/softhsm.conf ${PKG_SYSCONFDIR}/softhsm.conf
INSTALLATION_DIRS= ${EGDIR} etc bin lib
OWN_DIRS= ${VARBASE}/softhsm
pre-install:
${INSTALL_DATA} ${WRKSRC}/softhsm.conf ${DESTDIR}${EGDIR}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../security/botan/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"