aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/mrtg-ping-probe
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-27 20:39:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-27 20:39:36 +0800
commit8a54aa5248c5c880b7d5b0a315bd76607973d782 (patch)
treefbf61c95301cae49b4538f974ab6b579ca2eab0e /net-mgmt/mrtg-ping-probe
parent07632498cee8692de4c5acb29558b14041059c70 (diff)
downloadfreebsd-ports-gnome-8a54aa5248c5c880b7d5b0a315bd76607973d782.tar.gz
freebsd-ports-gnome-8a54aa5248c5c880b7d5b0a315bd76607973d782.tar.zst
freebsd-ports-gnome-8a54aa5248c5c880b7d5b0a315bd76607973d782.zip
- Add LICENSE
- Add NO_ARCH - Pet portlint - Regenerate patches - Clean up pkg-descr
Diffstat (limited to 'net-mgmt/mrtg-ping-probe')
-rw-r--r--net-mgmt/mrtg-ping-probe/Makefile14
-rw-r--r--net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-cfg4
-rw-r--r--net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-probe6
-rw-r--r--net-mgmt/mrtg-ping-probe/pkg-descr3
4 files changed, 13 insertions, 14 deletions
diff --git a/net-mgmt/mrtg-ping-probe/Makefile b/net-mgmt/mrtg-ping-probe/Makefile
index b4e1c1e61805..45461a8c6150 100644
--- a/net-mgmt/mrtg-ping-probe/Makefile
+++ b/net-mgmt/mrtg-ping-probe/Makefile
@@ -10,18 +10,20 @@ MASTER_SITES= https://opsec.eu/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Round Trip Time and Packet Loss Probe for MRTG
-RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:net-mgmt/mrtg
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-FETCH_BEFORE_ARGS= -p # MASTER_SITE needs PASSIVE FTP.
+RUN_DEPENDS= ${LOCALBASE}/bin/mrtg:net-mgmt/mrtg
USES= perl5 shebangfix
SHEBANG_FILES= mrtg-ping-probe
+NO_ARCH= yes
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- @${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/mrtg-ping-cfg ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mrtg
- @${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${STAGEDIR}${PREFIX}/etc/mrtg
- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/mrtg.cfg-ping ${STAGEDIR}${PREFIX}/etc/mrtg
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-cfg b/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-cfg
index f16832bbc659..f2ca25845cfc 100644
--- a/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-cfg
+++ b/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-cfg
@@ -1,5 +1,5 @@
---- mrtg-ping-cfg.org Sat Jan 17 22:28:55 2004
-+++ mrtg-ping-cfg Sat Jan 17 22:35:40 2004
+--- mrtg-ping-cfg.orig 1997-02-19 06:55:51 UTC
++++ mrtg-ping-cfg
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
diff --git a/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-probe b/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-probe
index 10928fbb3fea..78370027b7a6 100644
--- a/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-probe
+++ b/net-mgmt/mrtg-ping-probe/files/patch-mrtg-ping-probe
@@ -1,6 +1,6 @@
---- mrtg-ping-probe.orig 2003-09-14 03:20:24.000000000 +0900
-+++ mrtg-ping-probe 2009-03-10 08:01:20.000000000 +0900
-@@ -284,7 +284,7 @@
+--- mrtg-ping-probe.orig 2003-09-13 18:20:24 UTC
++++ mrtg-ping-probe
+@@ -284,7 +284,7 @@ sub ext_ping {
# try to find packet loss
# ToDo: only if requested?)
diff --git a/net-mgmt/mrtg-ping-probe/pkg-descr b/net-mgmt/mrtg-ping-probe/pkg-descr
index 7ae2841fb75e..42c8ecec3aa8 100644
--- a/net-mgmt/mrtg-ping-probe/pkg-descr
+++ b/net-mgmt/mrtg-ping-probe/pkg-descr
@@ -4,6 +4,3 @@ its output to generate graphs visualizing minimum and maximum round
trip times or packet loss.
WWW: http://pwo.de/projects/mrtg/
-
-Yoshiro MIHIRA
-<sanpei@FreeBSD.org>