aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/2ping
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2014-05-07 23:28:14 +0800
committerak <ak@FreeBSD.org>2014-05-07 23:28:14 +0800
commit1e2f832dbc4dd17ab9b8f57848e50e4ed8c196fd (patch)
tree8df7c68c3538b06493411872f405a73d5ddd3c02 /net-mgmt/2ping
parentd37f4753ba6ae84a5c4b7d1977e9d2a1ca92b94d (diff)
downloadfreebsd-ports-gnome-1e2f832dbc4dd17ab9b8f57848e50e4ed8c196fd.tar.gz
freebsd-ports-gnome-1e2f832dbc4dd17ab9b8f57848e50e4ed8c196fd.tar.zst
freebsd-ports-gnome-1e2f832dbc4dd17ab9b8f57848e50e4ed8c196fd.zip
- Update to 2.1.1
- Use a single space for WWW in pkg-descr - Switch to PLIST_FILES PR: ports/189187 Submitted by: Gea-Suan Lin <gslin@gslin.org> (maintainer)
Diffstat (limited to 'net-mgmt/2ping')
-rw-r--r--net-mgmt/2ping/Makefile11
-rw-r--r--net-mgmt/2ping/distinfo4
-rw-r--r--net-mgmt/2ping/files/patch-Makefile17
-rw-r--r--net-mgmt/2ping/pkg-descr2
-rw-r--r--net-mgmt/2ping/pkg-plist4
5 files changed, 11 insertions, 27 deletions
diff --git a/net-mgmt/2ping/Makefile b/net-mgmt/2ping/Makefile
index b9aa572e99fc..caa6e747722d 100644
--- a/net-mgmt/2ping/Makefile
+++ b/net-mgmt/2ping/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= 2ping
-PORTVERSION= 2.0
+PORTVERSION= 2.1.1
CATEGORIES= net-mgmt perl5
MASTER_SITES= http://www.finnie.org/software/2ping/
@@ -15,7 +15,12 @@ RUN_DEPENDS= p5-Digest-CRC>=0:${PORTSDIR}/security/p5-Digest-CRC \
p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA \
p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
-USES= gmake perl5 shebangfix
-SHEBANG_FILES= src/2ping.pl
+USES= perl5
+USE_PERL5= configure
+
+PLIST_FILES= bin/2ping man/man1/2ping.1.gz
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/2ping.1p/2ping.1/' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>
diff --git a/net-mgmt/2ping/distinfo b/net-mgmt/2ping/distinfo
index 27f150f55337..09e0b82cc1d9 100644
--- a/net-mgmt/2ping/distinfo
+++ b/net-mgmt/2ping/distinfo
@@ -1,2 +1,2 @@
-SHA256 (2ping-2.0.tar.gz) = c6c9c16969cd6b0541a2b0d5d8b1694f176ba7e32448bfa500f6ff8763cf75df
-SIZE (2ping-2.0.tar.gz) = 33048
+SHA256 (2ping-2.1.1.tar.gz) = 20fc09dbbc7fa37b90bfa415bad801697bd56c16c653cda551bfadbad3936f65
+SIZE (2ping-2.1.1.tar.gz) = 27232
diff --git a/net-mgmt/2ping/files/patch-Makefile b/net-mgmt/2ping/files/patch-Makefile
deleted file mode 100644
index a0e455186b56..000000000000
--- a/net-mgmt/2ping/files/patch-Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2010-11-23 22:18:10.000000000 +0800
-+++ Makefile 2010-11-23 22:19:16.000000000 +0800
-@@ -34,11 +34,11 @@
-
- install: all
- install -d -m 0755 $(DESTDIR)$(PREFIX)/bin
-- install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man8
-+ install -d -m 0755 $(DESTDIR)$(PREFIX)/man/man8
- install -m 0755 2ping $(DESTDIR)$(PREFIX)/bin
- ln -sf 2ping $(DESTDIR)$(PREFIX)/bin/2ping6
-- install -m 0644 2ping.8 $(DESTDIR)$(PREFIX)/share/man/man8
-- ln -sf 2ping.8 $(DESTDIR)$(PREFIX)/share/man/man8/2ping6.8
-+ install -m 0644 2ping.8 $(DESTDIR)$(PREFIX)/man/man8
-+ cp $(DESTDIR)$(PREFIX)/man/man8/2ping.8 $(DESTDIR)$(PREFIX)/man/man8/2ping6.8
-
- distclean: clean
-
diff --git a/net-mgmt/2ping/pkg-descr b/net-mgmt/2ping/pkg-descr
index 35d3c9cd86ea..418204e71023 100644
--- a/net-mgmt/2ping/pkg-descr
+++ b/net-mgmt/2ping/pkg-descr
@@ -3,4 +3,4 @@ TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a
2ping listener and a 2ping client to determine which direction packet
loss occurs.
-WWW: http://www.finnie.org/software/2ping/
+WWW: http://www.finnie.org/software/2ping/
diff --git a/net-mgmt/2ping/pkg-plist b/net-mgmt/2ping/pkg-plist
deleted file mode 100644
index b70114898faf..000000000000
--- a/net-mgmt/2ping/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/2ping
-bin/2ping6
-man/man8/2ping.8.gz
-man/man8/2ping6.8.gz