[pacman-dev] [PATCH] bump to latest version

Fabian Bläse fabian at blaese.de
Fri Jul 26 15:12:46 UTC 2019


This fixes a tracepath bug which caused IPv6 tracepaths
to use a wrong IPv6 address.

iputils now uses the meson build system.
The build commands are adjusted accordingly.

perl-sgmls doesn't seem to be necessary anymore.
It therefore is removed from the build dependency list.

Signed-off-by: Fabian Bläse <fabian at blaese.de>
---
 trunk/PKGBUILD | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 64a0ecb..7aed567 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -4,9 +4,9 @@
 
 pkgname=iputils
 # Commit date + git rev-parse --short origin/master
-_rev=f6aac8d
-pkgver=20180629.${_rev}
-pkgrel=4
+_rev=13e0084
+pkgver=20190709.${_rev}
+pkgrel=1
 pkgdesc="Network monitoring tools, including ping"
 arch=('x86_64')
 license=('GPL')
@@ -14,7 +14,7 @@ url="http://www.skbuff.net/iputils/"
 groups=('base')
 depends=('openssl' 'libcap' 'libidn2')
 optdepends=('xinetd: for tftpd')
-makedepends=('perl-sgmls' 'git' 'docbook-xsl')
+makedepends=('meson' 'git' 'docbook-xsl')
 conflicts=('netkit-base' 'arping' 'netkit-tftpd')
 replaces=('netkit-base')
 backup=(etc/xinetd.d/tftp)
@@ -27,14 +27,13 @@ sha1sums=('SKIP'
 build() {
   cd "${srcdir}/${pkgname}"
 
-  make USE_NETTLE=no USE_GNUTLS=no CCOPTOPT="$CFLAGS"
-  # fix perl-sgmls
-  sed -i -e 's#sgmlspl#sgmlspl.pl#g' "${srcdir}/${pkgname}/doc/Makefile"
-  make -C doc man
+  meson --prefix=/usr -DBUILD_RARPD=true . build
+
+  ninja -C build
 }
 
 package() {
-  cd "${srcdir}/${pkgname}"
+  cd "${srcdir}/${pkgname}/build"
 
   install -dm755 "${pkgdir}"/usr/bin
 
-- 
2.22.0


More information about the pacman-dev mailing list