diff options
author | kris <kris@FreeBSD.org> | 2000-08-17 14:50:45 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-08-17 14:50:45 +0800 |
commit | 94b12eea8d7e30e71b2375a86c5b88fc3a03d91f (patch) | |
tree | fd8c791a8c1da342c8da5ed6be124c73d5aed9d0 /games/xdigger | |
parent | 9fa515b893148d1f341f903f89c00b54ca32e457 (diff) | |
download | freebsd-ports-gnome-94b12eea8d7e30e71b2375a86c5b88fc3a03d91f.tar.gz freebsd-ports-gnome-94b12eea8d7e30e71b2375a86c5b88fc3a03d91f.tar.zst freebsd-ports-gnome-94b12eea8d7e30e71b2375a86c5b88fc3a03d91f.zip |
Make this setgid games to avoid a world-writable file
Diffstat (limited to 'games/xdigger')
-rw-r--r-- | games/xdigger/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile index 2fdedd90e472..70b5def80e1d 100644 --- a/games/xdigger/Makefile +++ b/games/xdigger/Makefile @@ -22,13 +22,14 @@ post-patch: @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xdigger ${PREFIX}/bin + ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/xdigger ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/xdigger.man ${PREFIX}/man/man6/xdigger.6 @${MKDIR} ${PREFIX}/share/xdigger ${INSTALL_DATA} ${WRKSRC}/xdigger.level ${PREFIX}/share/xdigger ${INSTALL_DATA} ${WRKSRC}/audio/*.au ${PREFIX}/share/xdigger @${TOUCH} ${PREFIX}/share/xdigger/xdigger.hiscore - @${CHMOD} a+rw ${PREFIX}/share/xdigger/xdigger.hiscore + @${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore + @${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/xdigger ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/xdigger |