Package Details: mtr-git v0.93.r36.gb4d3983-1

Git Clone URL: https://aur.archlinux.org/mtr-git.git (read-only, click to copy)
Package Base: mtr-git
Description: Combines the functionality of traceroute and ping into one tool (CLI version, git)
Upstream URL: http://www.bitwizard.nl/mtr/
Licenses: GPL
Conflicts: mtr
Provides: mtr
Submitter: Narthorn
Maintainer: Narthorn
Last Packager: Narthorn
Votes: 5
Popularity: 0.24
First Submitted: 2015-10-12 11:17 (UTC)
Last Updated: 2022-11-21 21:32 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

Narthorn commented on 2022-11-21 21:33 (UTC) (edited on 2022-11-21 21:35 (UTC) by Narthorn)

Fixed, thanks for the heads-up!

(Unfortunately, this seems to break some aur helpers because they think the repository changed.)

carbolymer commented on 2022-11-21 17:03 (UTC)

PKGBUILD times out for me when building. Source url needs to be updated:

diff --git a/PKGBUILD b/PKGBUILD
index 7b7945c..927db92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=mtr
 pkgname=$_pkgname-git
-pkgver=v0.93.r36.gb4d3983
+pkgver=v0.95.r17.g826ffa9
 pkgrel=1
 arch=('any')
 pkgdesc='Combines the functionality of traceroute and ping into one tool (CLI version, git)'
@@ -13,7 +13,7 @@ depends=('ncurses')
 provides=($_pkgname)
 conflicts=($_pkgname)
 install=$_pkgname.install
-source=('git://github.com/traviscross/mtr')
+source=('git+https://github.com/traviscross/mtr')
 sha256sums=('SKIP')

 pkgver() {

Narthorn commented on 2016-06-10 17:25 (UTC)

Hey, thanks for the heads-up ! I added a post-install script to set the capability. There was a pacman patch (https://lists.archlinux.org/pipermail/pacman-dev/2014-April/018998.html) that was supposed to let makepkg retain the file capabilities during packaging, but it apparently never made it into the main build.

zorun commented on 2016-06-09 12:56 (UTC)

Hi, A recent commit has switched from setuid root to a capability: https://github.com/traviscross/mtr/commit/9e4b090e856f0a89b4104e7cb440e4a90a17a853 However, it does not seem to work on my system: $ mtr www.example.com mtr: unable to get raw sockets. According to https://wiki.archlinux.org/index.php/Capabilities the capability is missing: $ getcap /usr/bin/ping /usr/bin/ping = cap_net_raw+ep $ getcap /usr/bin/mtr $ So, the binary has no capability and is no longer setuid root, so it does not have enough permissions to work as non-root. Is it possible that makepkg removes capabilities when packaging? A workaround would be to add the capability in a post-install script.