diff options
author | obache <obache@pkgsrc.org> | 2008-08-10 05:02:23 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-08-10 05:02:23 +0000 |
commit | 03a12249f1d0a8cadf1131a60b91dfb8a3ef57e4 (patch) | |
tree | 66dd78bab72bba3956092a115b6b8a307d80a993 /net/mtr | |
parent | 1e63f82b1ef2c3c39bdf1f97efaddb5297c4a0e7 (diff) | |
download | pkgsrc-03a12249f1d0a8cadf1131a60b91dfb8a3ef57e4.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 |