games/nethack-lib: updated NetHack to version 3.6.7. NetHack 3.6.7 is the official release of NetHack that follows NetHack 3.6.6. This release primarily corrects a security issue present in NetHack versions 3.6.2, 3.6.3, 3.6.4, 3.6.5, and 3.6.6. For details about the security issues please see https://www.nethack.org/security. You are encouraged to update to NetHack 3.6.7 as soon as possible. Here's a brief synopsis of the handful of bug fixes included in NetHack 3.6.7: invalid status highlight color could be maliciously used to corrupt memory formatting corpse names used internal buffers differently from formatting other objects and could potentially clobber memory during engraving, spaces were counted instead of non-space (cherry-pick of 4e0a1e04 from NetHack-3.7) avoid potential buffer overflow in append_str() resolve missing dependency in NetHack.sln code in include/tradstdc.h was trying to suppress warn_unused result by defining warn_unused_result to an empty string and that began causing a build error within a system-supplied header file cdefs.h when using Ubuntu Impish 21.10; disable that for any Linux and macOS gcc unless GCC_URWARN is defined to force it back into effect update_inventory() after leash goes slack player assigned name for monsters, specific objects, or object types could be longer than what was intented to be allowed; for 'curses', much longer curses: cherry-picked selectsaved code from 3.7 for menu of save files NetHackW: fix delayed rendering of cursor when using farlookdiff -r1.44 -r1.45 pkgsrc/games/nethack-lib/Makefile.common
(rhialto)
@@ -1,49 +1,49 @@ | @@ -1,49 +1,49 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.44 2022/04/24 22:21:33 tnn Exp $ | 1 | # $NetBSD: Makefile.common,v 1.45 2023/08/26 15:02:25 rhialto Exp $ | |
2 | # | 2 | # | |
3 | # used by games/nethack/Makefile | 3 | # used by games/nethack/Makefile | |
4 | # used by games/nethack-lib/Makefile | 4 | # used by games/nethack-lib/Makefile | |
5 | # used by games/nethack-x11/Makefile | 5 | # used by games/nethack-x11/Makefile | |
6 | # used by games/nethack-tty/Makefile | 6 | # used by games/nethack-tty/Makefile | |
7 | # | 7 | # | |
8 | # System-provided variables: | 8 | # System-provided variables: | |
9 | # | 9 | # | |
10 | # GAMEPERM | 10 | # GAMEPERM | |
11 | # The desired owner and the file mode of game executables. | 11 | # The desired owner and the file mode of game executables. | |
12 | # | 12 | # | |
13 | 13 | |||
14 | NETHACK_BASEVER= 3.6.6 | 14 | NETHACK_BASEVER= 3.6.7 | |
15 | NETHACK_VERSION= ${NETHACK_BASEVER} | 15 | NETHACK_VERSION= ${NETHACK_BASEVER} | |
16 | NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g} | 16 | NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g} | |
17 | NETHACK_DIR= nethackdir${NETHACK_SAVEVER:S/.//g} | 17 | NETHACK_DIR= nethackdir${NETHACK_SAVEVER:S/.//g} | |
18 | 18 | |||
19 | # The oldest compatible version of save files. Only change this when | 19 | # The oldest compatible version of save files. Only change this when | |
20 | # the upstream breaks save file compatibility. | 20 | # the upstream breaks save file compatibility. | |
21 | NETHACK_SAVEVER= 3.6.0 | 21 | NETHACK_SAVEVER= 3.6.0 | |
22 | 22 | |||
23 | DISTNAME= nethack-${NETHACK_DISTVER}-src | 23 | DISTNAME= nethack-${NETHACK_DISTVER}-src | |
24 | CATEGORIES= games | 24 | CATEGORIES= games | |
25 | MASTER_SITES= https://www.nethack.org/download/${NETHACK_BASEVER}/ | 25 | MASTER_SITES= https://www.nethack.org/download/${NETHACK_BASEVER}/ | |
26 | EXTRACT_SUFX= .tgz | 26 | EXTRACT_SUFX= .tgz | |
27 | 27 | |||
28 | MAINTAINER= pkgsrc-users@NetBSD.org | 28 | MAINTAINER= pkgsrc-users@NetBSD.org | |
29 | HOMEPAGE= https://www.nethack.org/ | 29 | HOMEPAGE= https://www.nethack.org/ | |
30 | LICENSE= nethack-license | 30 | LICENSE= nethack-license | |
31 | 31 | |||
32 | MAKE_JOBS_SAFE= no | 32 | MAKE_JOBS_SAFE= no | |
33 | 33 | |||
34 | .if !defined(META_PACKAGE) | 34 | .if !defined(META_PACKAGE) | |
35 | 35 | |||
36 | WRKSRC= ${WRKDIR}/NetHack-NetHack-${NETHACK_BASEVER}_Released | 36 | WRKSRC= ${WRKDIR}/NetHack-${NETHACK_BASEVER} | |
37 | HAS_CONFIGURE= yes | 37 | HAS_CONFIGURE= yes | |
38 | CONFIGURE_SCRIPT= ./sys/unix/setup.sh | 38 | CONFIGURE_SCRIPT= ./sys/unix/setup.sh | |
39 | USE_TOOLS+= gzip yacc lex awk | 39 | USE_TOOLS+= gzip yacc lex awk | |
40 | 40 | |||
41 | .include "../../mk/curses.buildlink3.mk" | 41 | .include "../../mk/curses.buildlink3.mk" | |
42 | .include "../../mk/termcap.buildlink3.mk" | 42 | .include "../../mk/termcap.buildlink3.mk" | |
43 | 43 | |||
44 | OPSYSVARS+= NETHACK_OS | 44 | OPSYSVARS+= NETHACK_OS | |
45 | NETHACK_OS.Linux= SYSV | 45 | NETHACK_OS.Linux= SYSV | |
46 | NETHACK_OS.*= BSD | 46 | NETHACK_OS.*= BSD | |
47 | 47 | |||
48 | SUBST_CLASSES+= os | 48 | SUBST_CLASSES+= os | |
49 | SUBST_MESSAGE.os= Configuring for ${NETHACK_OS} | 49 | SUBST_MESSAGE.os= Configuring for ${NETHACK_OS} |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: distinfo,v 1.29 2021/10/26 10:44:16 nia Exp $ | 1 | $NetBSD: distinfo,v 1.30 2023/08/26 15:02:25 rhialto Exp $ | |
2 | 2 | |||
3 | BLAKE2s (nethack-366-src.tgz) = 0557c802cef4346ccfe133d9db7c1d8d976fca4b485e031d60901e4afceb4247 | 3 | BLAKE2s (nethack-367-src.tgz) = 56c447099ddfdbd1c2dcb0d85b859031057c76fa6a885d9a0fcaae87d47cd371 | |
4 | SHA512 (nethack-366-src.tgz) = 579fde93a37a1b5df637d5bac2601194beeb455c175fbe3ef89342122c8567bb8221ce60d8a6168e6b45c67ade7d7b09c86bf202c8cbe2d6294d276be3e53055 | 4 | SHA512 (nethack-367-src.tgz) = 7890d17e087f4344d30e9a908fa1f24d7c72bc714c4a6415ed59800902cc0aa6b3ce94c5d73857b0222349b96b1fdc8bf3f93b3ac1153477ad1419af7b0d3fb5 | |
5 | Size (nethack-366-src.tgz) = 5577633 bytes | 5 | Size (nethack-367-src.tgz) = 5577415 bytes | |
6 | SHA1 (patch-ai) = 73c5b2ea1227531089474705f2f18bc411366365 | 6 | SHA1 (patch-ai) = 73c5b2ea1227531089474705f2f18bc411366365 | |
7 | SHA1 (patch-include_config.h) = d3e054a8b30d628513dcb445b10ce586685c7ea6 | 7 | SHA1 (patch-include_config.h) = d3e054a8b30d628513dcb445b10ce586685c7ea6 | |
8 | SHA1 (patch-include_system.h) = b1b53f513c3f6983e0e56eace74c71875b5df3f2 | 8 | SHA1 (patch-include_system.h) = b1b53f513c3f6983e0e56eace74c71875b5df3f2 | |
9 | SHA1 (patch-include_unixconf.h) = 6846c72526f3bda7fe3eccbce641e5feee14d901 | 9 | SHA1 (patch-include_unixconf.h) = 6846c72526f3bda7fe3eccbce641e5feee14d901 | |
10 | SHA1 (patch-src_mail.c) = 5b2a67e0b4d0fc9c715573d1bad6bcafa67b469e | 10 | SHA1 (patch-src_mail.c) = 5b2a67e0b4d0fc9c715573d1bad6bcafa67b469e | |
11 | SHA1 (patch-sys_unix_Makefile.doc) = 6219620c50dc7eac6601f87d4a295cb10f02e141 | 11 | SHA1 (patch-sys_unix_Makefile.doc) = 6219620c50dc7eac6601f87d4a295cb10f02e141 | |
12 | SHA1 (patch-sys_unix_Makefile.src) = 35eabd1ca5577988e48daf10835dfa335f7e67ac | 12 | SHA1 (patch-sys_unix_Makefile.src) = 35eabd1ca5577988e48daf10835dfa335f7e67ac | |
13 | SHA1 (patch-sys_unix_Makefile.top) = 0736aafda67dec45657f9f15338ce2f89add9747 | 13 | SHA1 (patch-sys_unix_Makefile.top) = 0736aafda67dec45657f9f15338ce2f89add9747 | |
14 | SHA1 (patch-sys_unix_Makefile.utl) = 142f267fdd9a94c212657b7242dea6a3716c738e | 14 | SHA1 (patch-sys_unix_Makefile.utl) = 142f267fdd9a94c212657b7242dea6a3716c738e | |
15 | SHA1 (patch-sys_unix_nethack.sh) = eec4b6619584d7e07ac5d9a086af9bc8f7e6285f | 15 | SHA1 (patch-sys_unix_nethack.sh) = eec4b6619584d7e07ac5d9a086af9bc8f7e6285f | |
16 | SHA1 (patch-util_recover.c) = 60e5ec35313a97cf788ff1ed4a4772bbcf24bc48 | 16 | SHA1 (patch-util_recover.c) = 60e5ec35313a97cf788ff1ed4a4772bbcf24bc48 |