summaryrefslogtreecommitdiff
path: root/user/mtr/handle-program-suffix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 04:22:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 04:22:38 +0000
commit4c1b18971f43a6fb16f4b6ccd6b7fab9416345af (patch)
tree6d02101b1c2a67c8d4b9c1789e4e62d6405072f4 /user/mtr/handle-program-suffix.patch
parente74c3fd8fe936eb4b7f0e51f115caba3c5c9fd6f (diff)
downloadpackages-4c1b18971f43a6fb16f4b6ccd6b7fab9416345af.tar.gz
packages-4c1b18971f43a6fb16f4b6ccd6b7fab9416345af.tar.bz2
packages-4c1b18971f43a6fb16f4b6ccd6b7fab9416345af.tar.xz
packages-4c1b18971f43a6fb16f4b6ccd6b7fab9416345af.zip
user/mtr: bump to 0.93, fix automake bull
Diffstat (limited to 'user/mtr/handle-program-suffix.patch')
-rw-r--r--user/mtr/handle-program-suffix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/mtr/handle-program-suffix.patch b/user/mtr/handle-program-suffix.patch
new file mode 100644
index 000000000..283966ff4
--- /dev/null
+++ b/user/mtr/handle-program-suffix.patch
@@ -0,0 +1,15 @@
+--- mtr-0.93/Makefile.am.old 2019-08-03 08:31:26.000000000 +0000
++++ mtr-0.93/Makefile.am 2019-08-06 03:44:08.329829268 +0000
+@@ -40,9 +40,10 @@
+ dist_man_MANS = mtr.8 mtr-packet.8
+ PATHFILES += man/mtr.8 man/mtr-packet.8
+
+ install-exec-hook:
+- `setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
+- || chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
++ f="`echo mtr-packet | sed '$(transform)'`"; \
++ `setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/$$f` \
++ || chmod u+s $(DESTDIR)$(sbindir)/$$f
+
+ mtr_SOURCES = ui/mtr.c ui/mtr.h \
+ ui/net.c ui/net.h \