Index: head/security/botan110/Makefile =================================================================== --- head/security/botan110/Makefile (revision 479921) +++ head/security/botan110/Makefile (revision 479922) @@ -1,65 +1,56 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= botan PORTVERSION= 1.10.13 PORTREVISION= 9 CATEGORIES= security MASTER_SITES= http://botan.randombit.net/releases/ PKGNAMESUFFIX= 110 DISTNAME= Botan-${PORTVERSION} MAINTAINER= lapo@lapo.it COMMENT= Portable, easy to use, and efficient C++ crypto library -BROKEN_SSL= openssl-devel -BROKEN_SSL_REASON_openssl-devel= error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') - LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/doc/license.txt +BROKEN_aarch64= Fails to configure: unknown or unidentifiable processor arm64 +BROKEN_SSL= openssl-devel +BROKEN_SSL_REASON_openssl-devel= error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') + OPTIONS_DEFINE= SSL GMP DOCS OPTIONS_DEFAULT= SSL GMP USES= compiler gmake python:build tar:tgz HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --prefix=${PREFIX} --cc ${CHOSEN_COMPILER_TYPE} \ --with-tr1-implementation=system --with-bzip2 --with-zlib MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" USE_LDCONFIG= yes PLIST_FILES= bin/botan-config-1.10 lib/libbotan-1.10.a lib/libbotan-1.10.so lib/libbotan-1.10.so.1 \ lib/libbotan-1.10.so.1.13 libdata/pkgconfig/botan-1.10.pc DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= * -BROKEN_aarch64= Fails to configure: unknown or unidentifiable processor arm64 +SSL_USES= ssl +SSL_CONFIGURE_WITH= openssl -.include +GMP_USES= localbase:ldflags +GMP_LIB_DEPENDS= libgmp.so:math/gmp +GMP_CONFIGURE_WITH= gnump -.if ${PORT_OPTIONS:MSSL} -USES+= ssl -CONFIGURE_ARGS+=--with-openssl -.endif - -.if ${PORT_OPTIONS:MGMP} -USES+= localbase:ldflags -LIB_DEPENDS+= libgmp.so:math/gmp -CONFIGURE_ARGS+=--with-gnump -.endif - -.include - post-patch: - ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ - ${WRKSRC}/configure.py -.if ! ${PORT_OPTIONS:MDOCS} - ${REINPLACE_CMD} -e '/DOCDIR/d' \ - ${WRKSRC}/src/build-data/makefile/unix_shr.in -.endif + @${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ + ${WRKSRC}/configure.py +post-patch-DOCS-off: + @${REINPLACE_CMD} -e '/DOCDIR/d' \ + ${WRKSRC}/src/build-data/makefile/unix_shr.in + post-install: @(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST} -.include +.include Index: head/security/botan110/pkg-descr =================================================================== --- head/security/botan110/pkg-descr (revision 479921) +++ head/security/botan110/pkg-descr (revision 479922) @@ -1,14 +1,14 @@ Botan is a crypto library written in C++. It provides a variety of cryptographic algorithms, including common ones such as AES, MD5, SHA, HMAC, RSA, Diffie-Hellman, DSA, and ECDSA, as well as many others that are more obscure or specialized. It also offers X.509v3 certificates and CRLs, and PKCS #10 certificate requests. A message processing system that uses a filter/pipeline metaphor allows for many common cryptographic tasks to be completed with just a few lines of code. Assembly optimizations for common CPUs, including x86, x86-64, and PowerPC, offers further speedups for critical tasks such as SHA-1 hashing and multiple precision integer operations. Botan is licensed under the same permissive terms as FreeBSD itself. -WWW: http://botan.randombit.net/ +WWW: https://botan.randombit.net/