diff --git a/security/botan2/Makefile b/security/botan2/Makefile index a223749ba406..c61453e3d579 100644 --- a/security/botan2/Makefile +++ b/security/botan2/Makefile @@ -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 support not enabled" 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 diff --git a/security/botan2/distinfo b/security/botan2/distinfo index 4ea9cbd42bb0..3633a18df3fe 100644 --- a/security/botan2/distinfo +++ b/security/botan2/distinfo @@ -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 diff --git a/security/botan2/pkg-plist b/security/botan2/pkg-plist index 586142c92221..5505618a1cc3 100644 --- a/security/botan2/pkg-plist +++ b/security/botan2/pkg-plist @@ -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