28 lines
846 B
Bash
28 lines
846 B
Bash
# Template file for 'stunnel'
|
|
pkgname=stunnel
|
|
version=5.67
|
|
revision=1
|
|
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/downloads/stunnel-${version}.tar.gz"
|
|
checksum=3086939ee6407516c59b0ba3fbf555338f9d52f459bcab6337c0f00e91ea8456
|
|
|
|
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
|
|
}
|