blob: eac55b9014d79880f5c5a8f65cfac860db18211e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libreswan
pkgver=3.29
pkgrel=1
pkgdesc="IPsec implementation for Linux"
url="https://libreswan.org"
arch="all"
license="GPL-2.0"
depends="nss-tools iproute2"
provides="openswan"
makedepends="bison flex coreutils bash xmlto
gmp-dev linux-pam-dev nss-dev unbound-dev libcap-ng-dev
curl-dev nspr-dev bsd-compat-headers ldns-dev
"
subpackages="$pkgname-doc"
source="https://download.libreswan.org/libreswan-$pkgver.tar.gz
fix-includes.patch
Makefile.inc.local"
# secfixes:
# 3.29-r0:
# - CVE-2019-10155
# 3.28-r0:
# - CVE-2019-12312
build() {
cp $srcdir/Makefile.inc.local $builddir
make WERROR_CFLAGS="" \
INC_RCDEFAULT=/etc/init.d \
INC_USRLOCAL=/usr \
FINALBINDIR=/usr/libexec/ipsec \
FINALLIBEXECDIR=/usr/libexec/ipsec \
programs
}
package() {
make INC_MANDIR=share/man \
INC_RCDEFAULT=/etc/init.d \
INC_USRLOCAL=/usr \
DESTDIR="$pkgdir" \
INSTCONFFLAGS=-m644 \
FINALBINDIR=/usr/libexec/ipsec \
FINALLIBEXECDIR=/usr/libexec/ipsec \
install
}
sha512sums="4b4d91204d8b1724e0a9ad3ed55fc232c9a526211c3b47b6cc33fd160feb72538ef1661becca250bde815b9d7b75709bf16c7b372476605557b47c785cdf2535 libreswan-3.29.tar.gz
df503e349661a029f8f6569ea65b4ecceb67f18c0a133d4818d390c0e6e719c2c793c483881778685f1eedaa210ea815ae4f77a94fa84a1acb63a9ad5e8db501 fix-includes.patch
36415fae9b6674d66b7728fbc1df4bb3c4fcb16f0bbe88ead1f23e553bb51a9deb288a8659a0050a3fb1e14c3dbb8fb8524e9ef48fb6842dc94b11b758349c58 Makefile.inc.local"
|