aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtkballs
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-08-17 14:25:03 +0800
committerkris <kris@FreeBSD.org>2000-08-17 14:25:03 +0800
commit93eba540fbe2ceeb1348c559f1cdad4a1b23dfd1 (patch)
tree635ccc2e53deb6bf388a338e64acfb5ae6725673 /games/gtkballs
parent2eb10c0572c0b2a425b2a811cabe2e37332f19f0 (diff)
downloadfreebsd-ports-gnome-93eba540fbe2ceeb1348c559f1cdad4a1b23dfd1.tar.gz
freebsd-ports-gnome-93eba540fbe2ceeb1348c559f1cdad4a1b23dfd1.tar.zst
freebsd-ports-gnome-93eba540fbe2ceeb1348c559f1cdad4a1b23dfd1.zip
Make this setgid games to avoid a world-writable file
Diffstat (limited to 'games/gtkballs')
-rw-r--r--games/gtkballs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile
index 3a6d776dbfce..ff5ff422c6c9 100644
--- a/games/gtkballs/Makefile
+++ b/games/gtkballs/Makefile
@@ -22,12 +22,13 @@ MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
MAN6= gtkballs.6
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gtkballs ${PREFIX}/bin
+ ${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/gtkballs ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gtkballs.6 ${PREFIX}/man/man6
@${MKDIR} ${PREFIX}/share/gtkballs
${INSTALL_DATA} ${WRKSRC}/gtkballs-data/*.xpm ${PREFIX}/share/gtkballs
${INSTALL_DATA} ${WRKSRC}/score ${PREFIX}/share/gtkballs/score
- @${CHMOD} a+rw ${PREFIX}/share/gtkballs/score
+ @${CHMOD} g+rw ${PREFIX}/share/gtkballs/score
+ @${CHOWN} root:games ${PREFIX}/share/gtkballs/score
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/gtkballs
.for file in README README.russian TODO