From 21ed18f029a4666eec03592a739f06962df6d895 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 19 Aug 2025 16:11:51 +0200 Subject: [PATCH] mtr: update to 0.96. --- srcpkgs/mtr/patches/libcap-fix.patch | 25 ------------------------- srcpkgs/mtr/template | 6 +++--- 2 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/mtr/patches/libcap-fix.patch diff --git a/srcpkgs/mtr/patches/libcap-fix.patch b/srcpkgs/mtr/patches/libcap-fix.patch deleted file mode 100644 index e564f38e409..00000000000 --- a/srcpkgs/mtr/patches/libcap-fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -Upstream fix: https://github.com/traviscross/mtr/pull/472 - -Makes sure `libcap` gets linked and dropping of capabilities is enabled:w - -diff --git a/configure.ac b/configure.ac -index 3175d56b..286ede60 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -127,9 +127,13 @@ AS_IF([test "x$with_ncurses" = "xyes"], - ]) - AM_CONDITIONAL([WITH_CURSES], [test "x$with_ncurses" = xyes]) - --AC_CHECK_LIB([cap], [cap_set_proc], [have_cap="yes"], -- AS_IF([test "$host_os" = linux-gnu], -- AC_MSG_WARN([Capabilities support is strongly recommended for increased security. See SECURITY for more information.]))) -+have_cap="yes" -+AC_CHECK_LIB([cap], [cap_set_proc], [], [ -+ have_cap="no" -+ AS_IF([test "$host_os" = linux-gnu], [ -+ AC_MSG_WARN([Capabilities support is strongly recommended for increased security. See SECURITY for more information.]) -+ ]) -+]) - - # Enable ipinfo - AC_ARG_WITH([ipinfo], diff --git a/srcpkgs/mtr/template b/srcpkgs/mtr/template index 7235cf0444a..0c7e648169a 100644 --- a/srcpkgs/mtr/template +++ b/srcpkgs/mtr/template @@ -1,7 +1,7 @@ # Template file for 'mtr' pkgname=mtr -version=0.95 -revision=3 +version=0.96 +revision=1 build_style="gnu-configure" hostmakedepends="automake pkg-config gtk+3-devel" makedepends="ncurses-devel gtk+3-devel libcap-devel jansson-devel" @@ -11,7 +11,7 @@ maintainer="Orphaned " license="GPL-2.0-only" homepage="http://www.bitwizard.nl/mtr/" distfiles="https://github.com/traviscross/mtr/archive/v${version}.tar.gz" -checksum=12490fb660ba5fb34df8c06a0f62b4f9cbd11a584fc3f6eceda0a99124e8596f +checksum=73e6aef3fb6c8b482acb5b5e2b8fa7794045c4f2420276f035ce76c5beae632d pre_configure() { echo $version >.tarball-version