pwnat: rebuild for metadata

This commit is contained in:
Piotr Wójcik 2018-11-29 11:51:30 +01:00 committed by maxice8
parent 4962ccf903
commit 570cd65410
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,17 +1,17 @@
# Template file for 'pwnat'
pkgname=pwnat
version=0.3
revision=1
revision=2
# the git-hash of v0.3 as it isn't tagged
_githash=572fcfb76a1b4b46faaa6b36817a39671b6f3c7e
homepage="http://samy.pl/pwnat/"
distfiles="https://github.com/samyk/pwnat/archive/${_githash}.tar.gz"
short_desc="serverless NAT to NAT hole punching"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
checksum=365da981ba1a39d7e3c8427fbcd9e7fcd3dd16cd30ae7e3b0aca50511fd8e1b1
wrksrc="${pkgname}-${_githash}"
build_style=gnu-makefile
short_desc="Serverless NAT to NAT hole punching"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://samy.pl/pwnat/"
distfiles="https://github.com/samyk/pwnat/archive/${_githash}.tar.gz"
checksum=365da981ba1a39d7e3c8427fbcd9e7fcd3dd16cd30ae7e3b0aca50511fd8e1b1
do_configure() {
sed -i 's#sys/unistd.h#unistd.h#' $(find -name '*.[ch]')