diff options
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 14 | ||||
-rw-r--r-- | net/mtr/pkg/MESSAGE | 9 | ||||
-rw-r--r-- | net/mtr/pkg/PLIST | 6 |
3 files changed, 17 insertions, 12 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index fcc06788a8d..73cd7ab27ba 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,5 +1,5 @@ -# $NetBSD: Makefile,v 1.14 2001/06/29 04:54:55 jlam Exp $ -# $FreeBSD: ports/net/mtr/Makefile,v 1.16 1999/10/28 08:06:00 mharo Exp $ +# $NetBSD: Makefile,v 1.15 2001/09/09 15:22:13 wiz Exp $ +# DISTNAME= mtr-0.42 CATEGORIES= net @@ -15,16 +15,10 @@ USE_GMAKE= yes USE_BUILDLINK_ONLY= yes do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr ${INSTALL} -c -s -m 4755 -o root -g wheel ${WRKSRC}/mtr ${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8 - -post-install: - @${ECHO} "" - @${ECHO} "${PREFIX}/sbin/mtr is setuid \"root\" " - @${ECHO} "" - @${ECHO} "Please read about potential security issues" - @${ECHO} "in file ${WRKSRC}/SECURITY (not installed)" - @${ECHO} "" + ${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/mtr .include "../../devel/ncurses/buildlink.mk" .include "../../x11/gtk/buildlink.mk" diff --git a/net/mtr/pkg/MESSAGE b/net/mtr/pkg/MESSAGE new file mode 100644 index 00000000000..a38ae7e0972 --- /dev/null +++ b/net/mtr/pkg/MESSAGE @@ -0,0 +1,9 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2001/09/09 15:22:14 wiz Exp $ + + ${PREFIX}/sbin/mtr is setuid "root". + + Please read about potential security issues in + ${PREFIX}/share/doc/mtr/SECURITY + +=========================================================================== diff --git a/net/mtr/pkg/PLIST b/net/mtr/pkg/PLIST index 0f60f7d3440..7ed0edaea45 100644 --- a/net/mtr/pkg/PLIST +++ b/net/mtr/pkg/PLIST @@ -1,3 +1,5 @@ -@comment $NetBSD: PLIST,v 1.2 1999/12/04 16:50:12 sommerfeld Exp $ -sbin/mtr +@comment $NetBSD: PLIST,v 1.3 2001/09/09 15:22:14 wiz Exp $ man/man8/mtr.8 +sbin/mtr +share/doc/mtr/SECURITY +@dirrm share/doc/mtr |