iputils: update to 20180629

This commit is contained in:
prspkt 2018-08-03 13:55:34 +03:00 committed by maxice8
parent 1929155964
commit 05da86bb55
2 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,13 @@
--- a/ping.h
+++ b/ping.h
@@ -44,6 +44,10 @@
#define getnameinfo_flags 0
#endif
+#ifndef AI_CANONIDN
+#define AI_CANONIDN 0x0080
+#endif
+
#ifndef WITHOUT_IFADDRS
#include <ifaddrs.h>
#endif

View file

@ -1,17 +1,17 @@
# Template file for 'iputils'
pkgname=iputils
version=20161105
revision=3
version=20180629
revision=1
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
makedepends="libcap-devel libressl-devel"
depends="libcap-progs"
short_desc="Useful utilities for Linux networking (including ping)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, BSD"
license="BSD-3-Clause, GPL-2.0-or-later"
homepage="https://github.com/iputils/iputils"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/s${version}.tar.gz"
checksum=f813092f03d17294fd23544b129b95cdb87fe19f7970a51908a6b88509acad8a
checksum=da14105291dd491f28ea91ade854ed10aee8ba019641c80eed233de3908be7c5
alternatives="
ping:ping:/usr/bin/${pkgname}-ping
@ -35,4 +35,5 @@ do_install() {
vman doc/${f}.8
done
mv ${DESTDIR}/usr/share/man/man8/{ping,${pkgname}-ping}.8
vlicense LICENSE.BSD3
}