pkgsrc/net/mtr/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.52 2008/08/28 20:05:24 tron Exp $
DISTNAME= mtr-0.74
CATEGORIES= net
Update to 0.65, based on PR 27562 by Andreas Wrede. Changes since 0.54: v0.65 Dancer Vesperman noted that mtr no longer traces past a section of non-responding hosts. Apparently I added a line in net.c that didn't make sense in mtr-0.56. I can't find the reason for adding that line, so someone who thinks (s)he needs it, should holler. v0.64 Philippe suggests to do the time_t thingy before socket.h. Apparently, MAC OS X doesn't compile socket.h otherwise. v0.63 Suggestion by RCW: Add -lm at line 70 of Configure.in. On my system no ill effects ensued, so this version released so that he can test if it still works on his sytem. Let me add that it's stupid that I have to specify that this this program now requires Automake version 1.5 to build, where Automake was intended to make software independent of different versions of build software! For those concerned about the above statement: If you're just trying to compile and use MTR, there is no need for automake. Just when you're messing with the configure and build system of mtr is automake a tool you need. v0.62 Apparently someone changed gethostbyname into gethostbyname2 in mtr.c in an attempt to add IPV6 support. For systems without ipv6 support, the old gethostbyname should be used! Linux has the call even if you don't enable IPV6. Thanks Gary (rsub) v0.61 Attempt to get/print the local IP address. Now shows as 0.0.0.0 :-( Hints and tips appreciated! -- REW Lots of blank space reformatting. moved the interface address setting to net.c (where it belongs). v0.60 John Thacker submitted a surprisingly simple patch to enable linking against GTK2. (up to 2.4.0) v0.59 Josh Martin suggested to add some bounds checking to the dynamic field code. This caused me to delve in, and rewrite some things. Now 50 lines of code less, but cleaner code. :-) v0.58 I don't remember. Fogot to update this. :-( Check the patch. v0.57 Lots of whitespace cleanups. And a DNS fix: Don't do DNS lookups in raw mode with -n specified. v0.56 Fixed compile warnings. Now compiles with -Wall. If your compiler finds things mine didn't feel free to shout. v0.55 Cleanup patch. I'm going to do some maintenance on MTR, but I want to be able to say: Can you see which version fixed/broke things for you, so you're going to see a bunch of new releases soon.
2004-10-27 18:18:31 +02:00
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
2003-07-18 00:50:55 +02:00
MAINTAINER= sommerfeld@NetBSD.org
1999-12-04 17:50:10 +01:00
HOMEPAGE= http://www.bitwizard.nl/mtr/
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
1999-12-04 17:50:10 +01:00
2004-01-06 08:05:24 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2007-08-17 01:12:20 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-01-06 08:05:24 +01:00
2001-10-27 00:05:31 +02:00
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
2007-08-17 01:12:20 +02:00
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/mtr
.include "options.mk"
# mtr uses libtermcap by default, but needs wattr_{on,off} from (n)curses,
# so we rewrite -ltermcap to -lncurses (which will be auto-mangled into
# -lcurses on the appropriate platforms).
BUILDLINK_TRANSFORM+= l:termcap:ncurses
SPECIAL_PERMS= sbin/mtr ${SETUID_ROOT_PERMS}
# Remove hard-coded compiler option that GCC 3.x doesn't support.
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-3.*)
BUILDLINK_TRANSFORM+= rm:-Wno-pointer-sign
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtr ${DESTDIR}${PREFIX}/sbin
2007-08-17 01:12:20 +02:00
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA} ${WRKSRC}/SECURITY ${DESTDIR}${PREFIX}/share/doc/mtr
2004-01-06 08:05:24 +01:00
.include "../../devel/ncurses/buildlink3.mk"
1999-12-04 17:50:10 +01:00
.include "../../mk/bsd.pkg.mk"