1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/opencryptoki/Makefile
Xin LI 3ba73dad6f net/openldap24-client: bump all dependent port
In the earlier net/openldap24-server commit, only those which depend on
net/openldap24-sasl-client were bumped. Bumping all dependent port that
didn't get a bump to force a rebuild of these packages.

Suggested by:	kib
2021-08-01 21:41:48 -07:00

52 lines
1.4 KiB
Makefile

# Created by: Ralf Meister
PORTNAME= opencryptoki
PORTVERSION= 3.11.0
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= hrs@FreeBSD.org
COMMENT= Open PKCS\#11 implementation library
LICENSE= CPL
LICENSE_NAME= Common Public License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libtspi.so:security/trousers
USES= alias autoreconf gmake libtool localbase ssl tar:tgz
USE_GCC= yes
USE_OPENLDAP= yes
USE_LDCONFIG= ${PREFIX}/lib/opencryptoki
USE_GITHUB= yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-swtok --enable-tpmtok \
--enable-icsftok \
--disable-crtok --disable-aeptok \
--disable-ccatok --disable-bcomtok \
--disable-pkcscca_migrate \
--with-lockdir=/var/run/opencryptoki \
--with-logdir=/var/log/opencryptoki \
--localstatedir=/var \
--with-openssl=${OPENSSLBASE} \
--with-pkcs11user=${USERS} \
--with-pkcs11group=${GROUPS} \
ac_cv_path_CHGRP=true
USE_RC_SUBR= pkcsslotd
SUB_FILES= pkg-message
SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}"
PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}"
USERS= _pkcs11
GROUPS= _pkcs11
post-install:
${MV} ${STAGEDIR}${ETCDIR}/opencryptoki.conf \
${STAGEDIR}${ETCDIR}/opencryptoki.conf.sample
${RMDIR} ${STAGEDIR}/var/run/opencryptoki/* \
${STAGEDIR}/var/run/opencryptoki
.include <bsd.port.mk>