-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 848 Bytes
/
template
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
# Template file for 'stunnel'
pkgname=stunnel
version=5.69
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl"
makedepends="openssl-devel"
checkdepends="nmap procps-ng iproute2 python3"
short_desc="SSL encryption wrapper"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.stunnel.org/"
changelog="https://www.stunnel.org/NEWS.html"
distfiles="https://www.stunnel.org/archive/5.x/stunnel-${version}.tar.gz"
checksum=1ff7d9f30884c75b98c8a0a4e1534fa79adcada2322635e6787337b4e38fdb81
pre_check() {
# GitHub's CI doesn't support IPv6
rm tests/plugins/p08_ipv6.py
}
post_install() {
rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8
vsconf tools/stunnel.conf-sample
rm -r ${DESTDIR}/etc/stunnel ${DESTDIR}/usr/share/doc/stunnel
}