diff options
author | pho <pho@pkgsrc.org> | 2020-01-08 16:55:13 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2020-01-08 16:55:13 +0000 |
commit | 6ba4f5b629a1e69db00d002135f6262ddd0a3a5a (patch) | |
tree | 844e0a6ea8a034f6246b807914d94c16761c8a90 /games/nethack-lib/Makefile | |
parent | 071e1e5a4d43bc8360d28ff188b5276cc3b7da60 (diff) | |
download | pkgsrc-6ba4f5b629a1e69db00d002135f6262ddd0a3a5a.tar.gz |
Set a setuid bit on bin/recover too
Also corrected the default directory where bin/recover searches for
save files.
Diffstat (limited to 'games/nethack-lib/Makefile')
-rw-r--r-- | games/nethack-lib/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile index 45513e7529a..417bf875ddc 100644 --- a/games/nethack-lib/Makefile +++ b/games/nethack-lib/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.32 2019/10/24 11:51:23 pho Exp $ +# $NetBSD: Makefile,v 1.33 2020/01/08 16:55:13 pho Exp $ # .include "../../games/nethack-lib/Makefile.common" PKGNAME= nethack-lib-${NETHACK_VERSION} +PKGREVISION= 1 COMMENT= Data files for Nethack @@ -47,4 +48,9 @@ CHECK_FILES_SKIP+= ${VARDIR}/logfile \ ${VARDIR}/xlogfile \ ${HACKDIR}/sysconf +# Like bin/nethack-*, bin/recover also has to operate on save files +# owned by ${NETHACK_USER}:${NETHACK_GROUP}. This means bin/recover +# can only work when it's setuid'ed to that user/group. +SPECIAL_PERMS+= ${PREFIX}/bin/recover ${GAMEPERM} + .include "../../mk/bsd.pkg.mk" |