ports/188442: [PATCH] URGENT: security/pkcs11-helper: update to 1.11
Matthias Andree
mandree at FreeBSD.org
Thu Apr 10 20:20:00 UTC 2014
>Number: 188442
>Category: ports
>Synopsis: [PATCH] URGENT: security/pkcs11-helper: update to 1.11
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 10 20:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014
>Description:
- Update to 1.11
- chase move of MASTER_SITES and WWW
- update license BSD -> BSD3CLAUSE
- modernize USE_BZIP2 -> USES=tar:bzip2, update NOPORTDOCS
- move OPTIONS_DEFINE down to please portlint
Alex, please approve quickly because this version is the minimum
required version in the new OpenVPN 2.3.3. Thank you.
Port maintainer (ale at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: update, diff: SVN)
>How-To-Repeat:
>Fix:
--- pkcs11-helper-1.11.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 350846)
+++ Makefile (working copy)
@@ -2,27 +2,26 @@
# $FreeBSD$
PORTNAME= pkcs11-helper
-PORTVERSION= 1.09
+PORTVERSION= 1.11
CATEGORIES= security devel
-MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
+MASTER_SITES= SF/opensc/pkcs11-helper/
MAINTAINER= ale at FreeBSD.org
COMMENT= A helper library for multiple PKCS\#11 providers
-OPTIONS_DEFINE= DOCS
-
-LICENSE= BSD GPLv2
+LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
-LICENSE_FILE_BSD= ${WRKSRC}/COPYING.BSD
+LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING.BSD
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL
-USE_BZIP2= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
@@ -31,12 +30,14 @@
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \
${WRKSRC}/doc/api/Makefile.in
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} 's|install-data-am: install-man install-nodist_htmlDATA|install-data-am: install-man|' \
Index: distinfo
===================================================================
--- distinfo (revision 350846)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (pkcs11-helper-1.09.tar.bz2) = ed4f6db68458253599fbf0f8803f044a3448a49007ad072d54d0624953521885
-SIZE (pkcs11-helper-1.09.tar.bz2) = 375671
+SHA256 (pkcs11-helper-1.11.tar.bz2) = 05a078efe1261247f26751fa616de732a64dbe1ed6c83e8ea5e6e85d8f70ff2f
+SIZE (pkcs11-helper-1.11.tar.bz2) = 380697
Index: pkg-descr
===================================================================
--- pkg-descr (revision 350846)
+++ pkg-descr (working copy)
@@ -13,4 +13,4 @@
application need to access existing objects in order to
perform signature and decryption.
-WWW: http://www.opensc-project.org/pkcs11-helper/
+WWW: https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper
--- pkcs11-helper-1.11.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list