8df9f1bd04
V0.87 Antonio Querubin (1): Use setcap instead of setuid when installing the binary. Baptiste Jonglez (4): Allow enabling IP info and ASN lookup from the curses interface Document the -y option in the manpage Cosmetic cleanup of the option-parsing code Fix wrap-around bug when displaying IP info (-y option) Danek Duvall (1): Fix issue #76: rationalize the discovery of a terminal handling library Gareth Randall (6): Corrected the "without gtk" reference to "./configure --without-gtk" Filled in some of the missing man page sections. Remove a warning message at compile time. Fix typos and update mailing list references. Add a section about granting limited security capabilities. State that Github is the preferred way to report bugs. Guo Yixuan (1): Raw output: add x for a ping-packet-sent event. Hajimu UMEMOTO (1): Add aslookup support to gtk interface Jakub Wilk (1): Fix typos. Kris Coward (1): Added --displaymode option Narthorn (1): curses: Fix background transparency in terminal Nikolai R Kristiansen (1): Add support for JSON as report output format R.E. Wolff (9): explanation of the version numbers in NEWS. Merge branch 'master' of github.com:traviscross/mtr removed warning about IPV6 socket when IPV6 is not available at runtime fix for printing space field in XML. modified name of timeout variable to prevent warning on solaris. changed the name of the ping timout timer from 'tag' to 'ping timeout timer' net.c fix from AQ. issue 128: compile should be in .gitignore The release script bumped the version number Rogier Wolff (1): added use-default-colors... Theo Baschak (1): Update asn.c - 32bit asn widths Tobias Rittweiler (5): Fix typo in csv_close() that prevented any of the data columns from being printed. --csv: Don't print spaces in columns. --csv: Print a header line as the first line which names all columns. asn.h: Guard against being included twice. Fix setting length field of UDP header to broken value on BSD systems. Vojtech Kurka (1): Fixed behaviour of Pause button aquerubin (3): Correct psize for IPv6. Fix Avg and Best column order to match column headers in GTK display. Update Tony's email address in the GTK credits. penyu (1): add max-unknown option russor (10): allow setting local and remote port for UDP probing fix checksum for odd sized packets set the local address for display if it was bound automatically set udp address if needed fix improper aliasing fix placement of zeros when running alternate udp checksum endian neutral placement of alternate checksum copy odd byte into a 16-bit temp value; used bit-sized types for calrity correct checksum calculation when adding the overflow overflows add option to set graceperiod swordfeng (3): Add SCTP support (same way with tcp) remove comment fix sctp header structure
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.94 2016/08/19 13:42:58 wiz Exp $
|
|
|
|
DISTNAME= mtr-0.87
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.bitwizard.nl/mtr/
|
|
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= pkg-config
|
|
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
|
|
|
|
.if !empty(MACHINE_PLATFORM:MDarwin-??.*-*)
|
|
LIBS+= -lresolv
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mtr ${DESTDIR}${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
${INSTALL_DATA} ${WRKSRC}/SECURITY ${DESTDIR}${PREFIX}/share/doc/mtr
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|