summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-04-13 20:53:18 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-04-13 20:53:18 +0000
commitcc6b8bd3b4bb5dafcaec754939aaf7749cd84d4b (patch)
treebe66da1cf387c46b1a5b43ef5df2b8d3995cbd43 /net
parentAdded cscope (diff)
Upgrade to v0.37
99% of this update was from the original PR, which upgraded this port to 0.35 Because I sat on this for a week (sorry) another version was released. I did not include the ports version number in the DESCR file as patched in the PR, however, because I feel it is not needed. Also the patches below have been removed because the author included a a variation of them in the source code. PR: ports/11053 Submitted by: Gianmarco Giovanelli <gmarco@giovannelli.it>
Notes
Notes: svn path=/head/; revision=17854
Diffstat (limited to 'net')
-rw-r--r--net/mtr/Makefile34
-rw-r--r--net/mtr/distinfo2
-rw-r--r--net/mtr/pkg-descr6
3 files changed, 32 insertions, 10 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index d760d8a7f74e..4e0db7bc84e1 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -3,25 +3,43 @@
# Date created: 12 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
-# $Id: Makefile,v 1.6 1999/01/22 22:15:39 nectar Exp $
+# $Id:$
#
-DISTNAME= mtr-0.28
+DISTNAME= mtr-0.37
CATEGORIES= net
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/ \
- http://www.FreeBSD.org/~billf/distfiles/
+ http://www.giovannelli.it/~gmarco/files/
MAINTAINER= billf@FreeBSD.org
-LIB_DEPENDS= gtk10.1:${PORTSDIR}/x11-toolkits/gtk10
+HAS_CONFIGURE= yes
-USE_AUTOCONF= yes
+MAN8= mtr.8
+
+pre-fetch:
+.if !defined(USE_GTK)
+ @${ECHO} ""
+ @${ECHO} "If you want to compile with GTK support,"
+ @${ECHO} "hit Ctrl-C right now and use \"make USE_GTK=yes\" "
+ @${ECHO} ""
+CONFIGURE_ARGS=--with-gtk-prefix=/nopath
+.else
USE_XLIB= yes
-CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk10-config"
+LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
+CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+.endif
-MAN8= mtr.8
+do-install:
+ ${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8
post-install:
- @chown root ${PREFIX}/sbin/mtr
+ @${ECHO} ""
+ @${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" "
+ @${ECHO} ""
+ @${ECHO} "Please read about potential security iussues"
+ @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)"
+ @${ECHO} ""
.include <bsd.port.mk>
diff --git a/net/mtr/distinfo b/net/mtr/distinfo
index 8442c451400c..3797bf901ac5 100644
--- a/net/mtr/distinfo
+++ b/net/mtr/distinfo
@@ -1 +1 @@
-MD5 (mtr-0.28.tar.gz) = 40074f51f01fbd295f330401175f9223
+MD5 (mtr-0.37.tar.gz) = 4fdb4f0b8c3fcb65e9dafe0f6e9838d2
diff --git a/net/mtr/pkg-descr b/net/mtr/pkg-descr
index b16555d41976..b958727d2550 100644
--- a/net/mtr/pkg-descr
+++ b/net/mtr/pkg-descr
@@ -1,6 +1,10 @@
mtr combines the functionality of the "traceroute" and "ping" programs
into a single network diagnostic tool.
-http://www.bitwizard.nl/mtr
+Authors: Matt Kimball <mkimball@xmission.com> is the primary author of mtr.
+ Roger Wolff <R.E.Wolff@BitWizard.nl> is currently maintaing mtr.
+Homepage: http://www.bitwizard.nl/mtr
+Ported to FreeBSD by:
Bill Fumerola (billf@chc-chimes.com)
+Gianmarco Giovannelli (gmarco@giovannelli.it)