2018-11-02 18:48:39 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2018/11/02 18:48:39 naddy Exp $
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
COMMENT = portable, easy to use, and efficient C++ crypto library
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-16 12:34:55 +00:00
|
|
|
PORTROACH = limit:^1\.10\.
|
2017-10-09 20:06:26 +00:00
|
|
|
VERSION = 1.10.17
|
2017-03-14 15:15:15 +00:00
|
|
|
DISTNAME = Botan-${VERSION}
|
|
|
|
PKGNAME = botan-${VERSION}
|
2018-11-02 18:48:39 +00:00
|
|
|
REVISION = 1
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-10-09 20:06:26 +00:00
|
|
|
SHARED_LIBS = botan-1.10 1.1
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
CATEGORIES = security
|
|
|
|
|
|
|
|
HOMEPAGE = https://botan.randombit.net/
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-13 01:31:20 +00:00
|
|
|
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
|
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
# BSD 2-Clause
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB = bz2 crypto gmp m pthread ${COMPILER_LIBCXX} z
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-12-14 22:50:45 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}releases/
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
SUPDISTFILES = ${DISTFILES}.asc
|
|
|
|
EXTRACT_SUFX = .tgz
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_RUNDEP = No
|
|
|
|
LIB_DEPENDS = archivers/bzip2 \
|
|
|
|
devel/gmp
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-12-14 22:50:45 +00:00
|
|
|
CXXFLAGS += -std=c++11 -Wno-c++11-narrowing -I${LOCALBASE}/include
|
2017-03-14 15:15:15 +00:00
|
|
|
MAKE_FLAGS = CXX="${CXX}" LIB_OPT="${CXXFLAGS} -finline-functions" \
|
|
|
|
CHECK_OPT="${CXXFLAGS}" LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBbotan_VERSION=${LIBbotan-1.10_VERSION}
|
|
|
|
FAKE_FLAGS = LIBbotan_VERSION=${LIBbotan-1.10_VERSION}
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_SCRIPT = ${WRKSRC}/configure.py
|
|
|
|
CONFIGURE_ARGS = --cpu=${MACHINE_ARCH} \
|
|
|
|
--prefix=${PREFIX} \
|
|
|
|
--with-bzip2 \
|
|
|
|
--with-gnump \
|
|
|
|
--with-openssl \
|
2017-12-14 22:50:45 +00:00
|
|
|
--with-tr1-implementation=system \
|
2017-03-14 15:15:15 +00:00
|
|
|
--with-zlib \
|
|
|
|
--without-sphinx
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
2017-03-14 15:15:15 +00:00
|
|
|
CONFIGURE_ARGS += --disable-asm
|
|
|
|
PKG_ARGS += -Damd64=1
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
.else
|
2017-03-14 15:15:15 +00:00
|
|
|
PKG_ARGS += -Damd64=0
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
.endif
|
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
pre-configure:
|
|
|
|
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
|
2017-03-14 15:15:15 +00:00
|
|
|
do-test:
|
|
|
|
cd ${WRKBUILD} && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} check
|
|
|
|
cd ${WRKSRC} && LD_LIBRARY_PATH=${WRKBUILD} ${WRKBUILD}/check --test
|
2014-01-24 21:56:18 +00:00
|
|
|
|
import botan 1.10.1
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.
from brad
tested by aja@ and me@
ok aja@
2011-11-26 09:07:52 +00:00
|
|
|
.include <bsd.port.mk>
|