53ecf4cdf8
Changelog: trust: Improve error handling if backed trust file is corrupted [#206] url: Prefer upper-case letters in hex characters when encoding [#193] trust/extract-jks.c: also honor SOURCE_DATE_EPOCH time [#202] virtual: Prefer fixed closures to libffi closures [#196] Fix issues spotted by coverity and cppcheck [#194, #204] Build and test fixes [#164, #191, #199, #201]
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2019/03/24 18:03:54 ryoon Exp $
|
|
|
|
DISTNAME= p11-kit-0.23.15
|
|
CATEGORIES= security
|
|
#MASTER_SITES= http://p11-glue.freedesktop.org/releases/
|
|
MASTER_SITES+= ${MASTER_SITE_GITHUB:=p11-glue/}
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://p11-glue.freedesktop.org/p11-kit.html
|
|
COMMENT= PKCS\#11 module manager
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts
|
|
|
|
CONFIGURE_ARGS+= --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c99
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
TEST_TARGET= check
|
|
|
|
# dirfd(3)
|
|
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
# reallocarray(3)
|
|
CFLAGS.NetBSD+= -D_OPENBSD_SOURCE
|
|
|
|
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
DLEXT.dylib= dylib
|
|
DLEXT= ${DLEXT.${SHLIB_TYPE}:Uso}
|
|
PLIST_SUBST+= DLEXT=${DLEXT:Q}
|
|
|
|
PKGCONFIG_OVERRIDE+= p11-kit/p11-kit-1.pc.in
|
|
|
|
PKG_SYSCONFSUBDIR= pkcs11
|
|
CONF_FILES+= share/examples/p11-kit/pkcs11.conf.example \
|
|
${PKG_SYSCONFDIR}/pkcs11.conf
|
|
|
|
.include "../../devel/libffi/buildlink3.mk"
|
|
.include "../../security/libtasn1/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|