svn commit: r518398 - branches/2019Q4/security/botan2
Dima Panov
fluffy at FreeBSD.org
Mon Nov 25 11:13:36 UTC 2019
Author: fluffy
Date: Mon Nov 25 11:13:34 2019
New Revision: 518398
URL: https://svnweb.freebsd.org/changeset/ports/518398
Log:
MFH: r518379
- Update botan to 2.12.1 security release
- OPTIONify python dependency
PR: 242194
Submitted by: fluffy
Approved by: maintainer
Approved by: ports-secteam (joneum)
Modified:
branches/2019Q4/security/botan2/Makefile
branches/2019Q4/security/botan2/distinfo
branches/2019Q4/security/botan2/pkg-plist
Directory Properties:
branches/2019Q4/ (props changed)
Modified: branches/2019Q4/security/botan2/Makefile
==============================================================================
--- branches/2019Q4/security/botan2/Makefile Mon Nov 25 11:01:43 2019 (r518397)
+++ branches/2019Q4/security/botan2/Makefile Mon Nov 25 11:13:34 2019 (r518398)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= botan
-DISTVERSION= 2.11.0
+DISTVERSION= 2.12.1
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
PKGNAMESUFFIX= 2
@@ -17,10 +17,10 @@ BROKEN_armv6= include/arm_neon.h:28:2: error: "NEON su
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs
-USES= compiler:c++11-lang gmake python:build shebangfix tar:xz
+USES= compiler:c++11-lang gmake shebangfix tar:xz
USE_LDCONFIG= yes
-SHEBANG_FILES= configure.py src/scripts/install.py
+SHEBANG_FILES= configure.py src/python/botan2.py src/scripts/install.py
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.py
@@ -39,10 +39,15 @@ _SHLIBVER= ${DISTVERSION:S/./ /g:[2]}
PLIST_SUB= SHLIBVER=${_SHLIBVER}
PORTDOCS= *
-OPTIONS_DEFINE= DOCS SQLITE3 SSL
+OPTIONS_DEFINE= DOCS PYTHON SQLITE3 SSL
OPTIONS_DEFAULT= SSL
OPTIONS_SUB= yes
+PYTHON_USES= python
+PYTHON_USES_OFF= python:build
+PYTHON_CONFIGURE_ON= --with-python-versions=${PYTHON_VER}
+PYTHON_CONFIGURE_OFF= --no-install-python-module
+
SQLITE3_USES= sqlite
SQLITE3_CONFIGURE_WITH= sqlite3
@@ -70,6 +75,6 @@ post-patch:
${WRKSRC}/src/build-data/cc/clang.txt
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/botan ${STAGEDIR}${PREFIX}/lib/libbotan-2.so.${_SHLIBVER}.${_SHLIBVER}.0
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/botan ${STAGEDIR}${PREFIX}/lib/libbotan-2.so.${_SHLIBVER}.${_SHLIBVER}.1
.include <bsd.port.mk>
Modified: branches/2019Q4/security/botan2/distinfo
==============================================================================
--- branches/2019Q4/security/botan2/distinfo Mon Nov 25 11:01:43 2019 (r518397)
+++ branches/2019Q4/security/botan2/distinfo Mon Nov 25 11:13:34 2019 (r518398)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1568364010
-SHA256 (Botan-2.11.0.tar.xz) = f7874da2aeb8c018fd77df40b2137879bf90b66f5589490c991e83fb3e8094be
-SIZE (Botan-2.11.0.tar.xz) = 5765712
+TIMESTAMP = 1574608870
+SHA256 (Botan-2.12.1.tar.xz) = 7e035f142a51fca1359705792627a282456d49749bf62a37a8e48375d41baaa9
+SIZE (Botan-2.12.1.tar.xz) = 5844528
Modified: branches/2019Q4/security/botan2/pkg-plist
==============================================================================
--- branches/2019Q4/security/botan2/pkg-plist Mon Nov 25 11:01:43 2019 (r518397)
+++ branches/2019Q4/security/botan2/pkg-plist Mon Nov 25 11:13:34 2019 (r518398)
@@ -316,6 +316,6 @@ include/botan-2/botan/zlib.h
lib/libbotan-2.a
lib/libbotan-2.so
lib/libbotan-2.so.%%SHLIBVER%%
-lib/libbotan-2.so.%%SHLIBVER%%.%%SHLIBVER%%.0
-%%PYTHON_SITELIBDIR%%/botan2.py
+lib/libbotan-2.so.%%SHLIBVER%%.%%SHLIBVER%%.1
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/botan2.py
libdata/pkgconfig/botan-2.pc
More information about the svn-ports-all
mailing list