[packages/mtr] - up to 0.87
adwol
adwol at pld-linux.org
Thu Jan 12 18:59:47 CET 2017
commit c26053e06b2a9298e6e65f25dae56bef91556665
Author: Adam Osuchowski <adwol at pld-linux.org>
Date: Thu Jan 12 18:59:29 2017 +0100
- up to 0.87
mtr-Makefile.patch | 11 +++++++----
mtr.spec | 6 +++---
2 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/mtr.spec b/mtr.spec
index 6e05654..a6faa23 100644
--- a/mtr.spec
+++ b/mtr.spec
@@ -9,13 +9,13 @@ Summary(pt_BR.UTF-8): Ferramenta para diagnóstico da rede, combinando ping/trac
Summary(ru.UTF-8): Matt's Traceroute - утилита для диагностики сети
Summary(uk.UTF-8): Matt's Traceroute - утиліта для діагностики мережі
Name: mtr
-Version: 0.86
-Release: 3
+Version: 0.87
+Release: 1
Epoch: 1
License: GPL v2
Group: Networking/Utilities
Source0: https://github.com/traviscross/mtr/archive/v%{version}.tar.gz
-# Source0-md5: fa1edf3015d5146790de260adaa5071c
+# Source0-md5: 23fa76f57fa67fbc95ecf4fb5901ff50
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-Makefile.patch
diff --git a/mtr-Makefile.patch b/mtr-Makefile.patch
index dd1b724..cce16dd 100644
--- a/mtr-Makefile.patch
+++ b/mtr-Makefile.patch
@@ -1,11 +1,14 @@
---- mtr-0.69.orig/Makefile.am 2002-11-23 18:18:31.000000000 +0100
-+++ mtr-0.69/Makefile.am 2004-02-09 11:35:53.305046136 +0100
-@@ -2,8 +2,6 @@
+diff -u mtr-0.87.orig/Makefile.am mtr-0.87/Makefile.am
+--- mtr-0.87.orig/Makefile.am 2016-08-03 07:27:03.000000000 +0200
++++ mtr-0.87/Makefile.am 2017-01-12 18:55:47.832246506 +0100
+@@ -2,9 +2,6 @@
sbin_PROGRAMS = mtr
man_MANS = mtr.8
-install-exec-hook:
-- chmod u+s $(DESTDIR)$(sbindir)/mtr
+- `setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr` \
+- || chmod u+s $(DESTDIR)$(sbindir)/mtr
mtr_SOURCES = mtr.c \
net.c net.h \
+Common subdirectories: mtr-0.87.orig/img and mtr-0.87/img
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mtr.git/commitdiff/c26053e06b2a9298e6e65f25dae56bef91556665
More information about the pld-cvs-commit
mailing list