openbsd-netcat: update to 1.178.

This commit is contained in:
Leah Neukirchen 2017-06-18 16:50:42 +02:00
parent e4aa5de752
commit 84d3a0698e

View file

@ -1,26 +1,27 @@
# Template file for 'openbsd-netcat'
pkgname=openbsd-netcat
version=1.130
version=1.178
revision=1
wrksrc="netcat-openbsd-${version%p*}"
hostmakedepends="pkg-config"
makedepends="libbsd-devel"
short_desc="TCP/IP swiss army knife (OpenBSD/Debian variant)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="3-clause-BSD,2-clause-BSD"
homepage="http://packages.debian.org/sid/netcat-openbsd"
distfiles="
${DEBIAN_SITE}/main/n/netcat-openbsd/netcat-openbsd_${version%p*}.orig.tar.gz
${DEBIAN_SITE}/main/n/netcat-openbsd/netcat-openbsd_${version}-1.debian.tar.xz"
checksum="fd7205065d0b47898851f31f33e614de5d47a5b9dc81fd50d2ff51b63d091e5b
f35f72984df2c5a8d9e9e1b23e72875a0f9aa78ef9eb97f92f191b7390dbffda"
checksum="918330a41ee8ea938144ab1c59fa27533654ebff983bfb5255f730a3d9b06239
73693228bf10df0dfa9f14b13814bb06561476310c7b08b50fe04de897bee3ab"
alternatives="
nc:nc:/usr/bin/openbsd-nc
nc:nc.1:/usr/share/man/man1/openbsd-nc.1"
do_build() {
cat ../debian/patches/*.patch | patch -p1
# XXX TODO re-enable TLS
( cd ../debian/patches; xargs cat <series; ) | patch -p1
case "$XBPS_TARGET_MACHINE" in
*-musl) # Add missing b64_ntop() and b64_pton() functions
cp ${FILESDIR}/base64.c .