View | Details | Raw Unified | Return to bug 223199
Collapse All | Expand All

(-)security/botan2/Makefile (+52 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	botan
4
DISTVERSION=	2.3.0
5
CATEGORIES=	security
6
MASTER_SITES=	http://botan.randombit.net/releases/
7
PKGNAMESUFFIX=	2
8
DISTNAME=	Botan-${PORTVERSION}
9
10
MAINTAINER=	tremere@cainites.net
11
COMMENT=	Portable, easy to use, and efficient C++ crypto library
12
13
LICENSE=	BSD2CLAUSE
14
LICENSE_FILE=	${WRKSRC}/license.txt
15
16
LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs
17
18
OPTIONS_DEFINE=		SQLITE3 SSL DOCS
19
OPTIONS_DEFAULT=	SSL
20
21
USES=		compiler:c++11-lang gmake python:build shebangfix tar:tgz
22
HAS_CONFIGURE=	yes
23
CONFIGURE_SCRIPT=	configure.py
24
CONFIGURE_ARGS=	--with-external-includedir=${PREFIX}/include \
25
		--with-external-libdir=${PREFIX}/lib \
26
		--with-boost --with-bzip2 --with-lzma --with-zlib
27
LDFLAGS+=	-pthread
28
USE_LDCONFIG=	yes
29
PLIST_FILES=	bin/botan lib/libbotan-2.a lib/libbotan-2.so \
30
		lib/libbotan-2.so.3 lib/libbotan-2.so.3.3.0 \
31
		%%PYTHON_SITELIBDIR%%/botan2.py libdata/pkgconfig/botan-2.pc
32
SHEBANG_FILES=	configure.py src/scripts/install.py
33
34
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
35
PORTDOCS=	*
36
37
SQLITE3_USES=		sqlite
38
SQLITE3_CONFIGURE_WITH=	sqlite3
39
40
SSL_USES=		ssl
41
SSL_CONFIGURE_WITH=	openssl
42
SSL_VARS=		BROKEN_SSL=	openssl-devel
43
44
post-stage:
45
.for i in bin/botan lib/libbotan-2.so.3.3.0
46
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${i}
47
.endfor
48
49
post-install:
50
	@(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-2 -not -type d) >> ${TMPPLIST}
51
52
.include <bsd.port.mk>
(-)security/botan2/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1508527395
2
SHA256 (Botan-2.3.0.tgz) = 39f970fee5986a4c3e425030aef50ac284da18596c004d1a9cce7688c4e6d47c
3
SIZE (Botan-2.3.0.tgz) = 5947072
(-)security/botan2/pkg-descr (+14 lines)
Line 0 Link Here
1
Botan is a crypto library written in C++. It provides a variety of
2
cryptographic algorithms, including common ones such as AES, MD5, SHA,
3
HMAC, RSA, Diffie-Hellman, DSA, and ECDSA, as well as many others that
4
are more obscure or specialized. It also offers X.509v3 certificates
5
and CRLs, and PKCS #10 certificate requests. A message processing
6
system that uses a filter/pipeline metaphor allows for many common
7
cryptographic tasks to be completed with just a few lines of code.
8
Assembly optimizations for common CPUs, including x86, x86-64, and
9
PowerPC, offers further speedups for critical tasks such as SHA-1
10
hashing and multiple precision integer operations.
11
12
Botan is licensed under the same permissive terms as FreeBSD itself.
13
14
WWW: http://botan.randombit.net/

Return to bug 223199