mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 03:23:01 +02:00
mtr: update to 0.96.
This commit is contained in:
parent
9f13870fcb
commit
21ed18f029
2 changed files with 3 additions and 28 deletions
|
@ -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],
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mtr'
|
# Template file for 'mtr'
|
||||||
pkgname=mtr
|
pkgname=mtr
|
||||||
version=0.95
|
version=0.96
|
||||||
revision=3
|
revision=1
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
hostmakedepends="automake pkg-config gtk+3-devel"
|
hostmakedepends="automake pkg-config gtk+3-devel"
|
||||||
makedepends="ncurses-devel gtk+3-devel libcap-devel jansson-devel"
|
makedepends="ncurses-devel gtk+3-devel libcap-devel jansson-devel"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="http://www.bitwizard.nl/mtr/"
|
homepage="http://www.bitwizard.nl/mtr/"
|
||||||
distfiles="https://github.com/traviscross/mtr/archive/v${version}.tar.gz"
|
distfiles="https://github.com/traviscross/mtr/archive/v${version}.tar.gz"
|
||||||
checksum=12490fb660ba5fb34df8c06a0f62b4f9cbd11a584fc3f6eceda0a99124e8596f
|
checksum=73e6aef3fb6c8b482acb5b5e2b8fa7794045c4f2420276f035ce76c5beae632d
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
echo $version >.tarball-version
|
echo $version >.tarball-version
|
||||||
|
|
Loading…
Add table
Reference in a new issue