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)
This commit is contained in:
parent
311c93876a
commit
044d76fd9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=518398
3 changed files with 15 additions and 10 deletions
|
@ -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 <bsd.port.mk>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue