2013-03-17 10:34:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2013/03/17 14:34:26 jturner 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 04:07:52 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
|
|
|
|
|
|
|
|
COMMENT= portable, easy to use, and efficient C++ crypto library
|
|
|
|
|
2013-03-17 10:34:26 -04:00
|
|
|
DISTNAME= Botan-1.10.5
|
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 04:07:52 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${HOMEPAGE}files/
|
|
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
|
2012-07-04 08:03:42 -04:00
|
|
|
SHARED_LIBS= botan-1.10 0.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 04:07:52 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://botan.randombit.net/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2012-08-25 13:10:58 -04:00
|
|
|
WANTLIB= bz2 crypto gmp m pthread stdc++ 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 04:07:52 -05:00
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
|
|
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
|
|
devel/gmp
|
|
|
|
BUILD_DEPENDS= devel/boost
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_SCRIPT= ${MODPY_BIN} ./configure.py
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--cpu=${MACHINE_ARCH} \
|
|
|
|
--prefix=${PREFIX} \
|
|
|
|
--with-bzip2 \
|
|
|
|
--with-gnump \
|
|
|
|
--with-openssl \
|
2011-11-26 05:55:17 -05: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 04:07:52 -05:00
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
CONFIGURE_ARGS+=--disable-asm
|
|
|
|
PKG_ARGS+= -Damd64=1
|
|
|
|
.else
|
|
|
|
PKG_ARGS+= -Damd64=0
|
|
|
|
.endif
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
do-test:
|
|
|
|
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} \
|
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 04:07:52 -05:00
|
|
|
check && env LD_LIBRARY_PATH=${WRKBUILD} ./check --test
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|