mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
iputils: update to 20180629
This commit is contained in:
parent
1929155964
commit
05da86bb55
2 changed files with 18 additions and 4 deletions
13
srcpkgs/iputils/patches/fix-musl-defines.patch
Normal file
13
srcpkgs/iputils/patches/fix-musl-defines.patch
Normal 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
|
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'iputils'
|
# Template file for 'iputils'
|
||||||
pkgname=iputils
|
pkgname=iputils
|
||||||
version=20161105
|
version=20180629
|
||||||
revision=3
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc="${pkgname}-s${version}"
|
wrksrc="${pkgname}-s${version}"
|
||||||
makedepends="libcap-devel libressl-devel"
|
makedepends="libcap-devel libressl-devel"
|
||||||
depends="libcap-progs"
|
depends="libcap-progs"
|
||||||
short_desc="Useful utilities for Linux networking (including ping)"
|
short_desc="Useful utilities for Linux networking (including ping)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
homepage="https://github.com/iputils/iputils"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/s${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/s${version}.tar.gz"
|
||||||
checksum=f813092f03d17294fd23544b129b95cdb87fe19f7970a51908a6b88509acad8a
|
checksum=da14105291dd491f28ea91ade854ed10aee8ba019641c80eed233de3908be7c5
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
ping:ping:/usr/bin/${pkgname}-ping
|
ping:ping:/usr/bin/${pkgname}-ping
|
||||||
|
@ -35,4 +35,5 @@ do_install() {
|
||||||
vman doc/${f}.8
|
vman doc/${f}.8
|
||||||
done
|
done
|
||||||
mv ${DESTDIR}/usr/share/man/man8/{ping,${pkgname}-ping}.8
|
mv ${DESTDIR}/usr/share/man/man8/{ping,${pkgname}-ping}.8
|
||||||
|
vlicense LICENSE.BSD3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue