Index: head/security/libp11/Makefile =================================================================== --- head/security/libp11/Makefile (revision 547360) +++ head/security/libp11/Makefile (revision 547361) @@ -1,45 +1,46 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= libp11 PORTVERSION= 0.4.10 +PORTREVISION= 1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= security devel MAINTAINER= ale@FreeBSD.org COMMENT= Small layer on top of PKCS\#11 API LICENSE= LGPL21 LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf libtool pkgconfig ssl OPTIONS_DEFINE= DOCS EXAMPLES USE_GITHUB= yes GH_ACCOUNT= OpenSC GNU_CONFIGURE= yes USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \ LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines INSTALL_TARGET= install-strip PORTDOCS= * post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include Index: head/security/libp11/files/patch-configure.ac =================================================================== --- head/security/libp11/files/patch-configure.ac (revision 547360) +++ head/security/libp11/files/patch-configure.ac (revision 547361) @@ -1,11 +1,20 @@ ---- configure.ac.orig 2016-03-28 16:04:04 UTC +--- configure.ac.orig 2019-04-03 20:14:33 UTC +++ configure.ac -@@ -191,7 +191,7 @@ if test -n "${pkcs11_module}"; then +@@ -39,7 +39,7 @@ case "`$PKG_CONFIG --modversion --silence-errors libcr + LIBP11_LT_OLDEST="2" + debian_ssl_prefix="openssl-1.0.0";; + *) # Engines directory prefix for OpenSSL 0.9.x +- LIBP11_LT_OLDEST="2" ++ LIBP11_LT_OLDEST="3" # FreeBSD base has openssl 1.1.* + debian_ssl_prefix="ssl";; + esac + +@@ -208,7 +208,7 @@ if test -n "${pkcs11_module}"; then [Default PKCS#11 module.]) fi -pkgconfigdir="\$(libdir)/pkgconfig" +pkgconfigdir="\$(prefix)/libdata/pkgconfig" AC_SUBST([pkgconfigdir]) AC_SUBST([apidocdir]) Index: head/security/libp11/pkg-plist =================================================================== --- head/security/libp11/pkg-plist (revision 547360) +++ head/security/libp11/pkg-plist (revision 547361) @@ -1,15 +1,15 @@ include/libp11.h include/p11_err.h lib/engines/libpkcs11.so lib/engines/pkcs11.so lib/libp11.a lib/libp11.so -lib/libp11.so.2 -lib/libp11.so.2.5.2 +lib/libp11.so.3 +lib/libp11.so.3.4.2 libdata/pkgconfig/libp11.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/auth.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/decrypt.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/getrandom.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/listkeys.c Index: head/security/pam_p11/Makefile =================================================================== --- head/security/pam_p11/Makefile (revision 547360) +++ head/security/pam_p11/Makefile (revision 547361) @@ -1,41 +1,42 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pam_p11 PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/OpenSC/pam_p11/releases/download/pam_p11-${PORTVERSION}/ MAINTAINER= ale@FreeBSD.org COMMENT= PAM module using crypto tokens for auth LICENSE= LGPL21 LIB_DEPENDS= libp11.so:security/libp11 USES= libtool pkgconfig ssl OPTIONS_DEFINE= DOCS NLS GNU_CONFIGURE= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_PLIST_FILES=share/locale/de/LC_MESSAGES/pam_p11.mo \ share/locale/it/LC_MESSAGES/pam_p11.mo CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" INSTALL_TARGET= install-strip PLIST_FILES= lib/security/pam_p11.so PORTDOCS= * post-install: ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} .include