blob: 756c09a6bf637d245442be4c5b99c1a4db03f607 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Contributor: tcely <tcely@users.noreply.github.com>
# Maintainer: tcely <botan+aports@tcely.33mail.com>
pkgname=botan
_pkgname=Botan
pkgver=2.9.0
pkgrel=0
pkgdesc="Crypto and TLS for C++11"
url="https://botan.randombit.net/"
arch="all"
license="BSD-2-Clause"
depends=""
depends_dev="boost-dev bzip2-dev openssl-dev sqlite-dev xz-dev zlib-dev"
makedepends="$depends_dev python2"
subpackages="$pkgname-dev $pkgname-doc"
source="https://botan.randombit.net/releases/$_pkgname-$pkgver.tgz"
builddir="$srcdir/$_pkgname-$pkgver"
install=""
# secfixes:
# 2.9.0-r0:
# - CVE-2018-20187
# 2.7.0-r0:
# - CVE-2018-12435
# 2.6.0-r0:
# - CVE-2018-9860
# 2.5.0-r0:
# - CVE-2018-9127
build() {
cd "$builddir"
./configure.py \
--prefix=/usr \
--mandir=/usr/share/man \
--with-boost \
--with-bzip2 \
--with-lzma \
--with-openmp \
--with-openssl \
--with-sqlite3 \
--with-zlib
make
}
check() {
cd "$builddir"
./botan-test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/python*
}
sha512sums="b88f3894a4a5b7b2fbff9be6eb0b774bf679a014bd2364811b7e63d4f323e22ca9ef916491afbc2cdf9db68727c1449fbeb6fd417e591560add0955517db3f65 Botan-2.9.0.tgz"
|