diff options
author | obache <obache> | 2008-08-10 05:02:23 +0000 |
---|---|---|
committer | obache <obache> | 2008-08-10 05:02:23 +0000 |
commit | f07bd778918c491db90b02828b2d56c506254969 (patch) | |
tree | 66dd78bab72bba3956092a115b6b8a307d80a993 /net/mtr | |
parent | 2b647478fa781593d0ecbdeea233bad842f6ff68 (diff) | |
download | pkgsrc-f07bd778918c491db90b02828b2d56c506254969.tar.gz |
Switch to use normal INSTALL_PROGRAM and SPECIAL_PERMS combination
instead of custom setuid root installation.
Part of fixes PR 15107.
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile index 6b221bb9c4a..2803e8d3808 100644 --- a/net/mtr/Makefile +++ b/net/mtr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2008/05/22 12:10:49 tron Exp $ +# $NetBSD: Makefile,v 1.50 2008/08/10 05:02:23 obache Exp $ DISTNAME= mtr-0.72 PKGREVISION= 1 @@ -23,8 +23,10 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/mtr # -lcurses on the appropriate platforms). BUILDLINK_TRANSFORM+= l:termcap:ncurses +SPECIAL_PERMS= sbin/mtr ${SETUID_ROOT_PERMS} + do-install: - ${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${DESTDIR}${PREFIX}/sbin + ${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 |