Fri Apr 24 12:59:00 2020 UTC ()
The NetHack DevTeam is announcing the release of NetHack 3.6.6 on
March 8, 2020

NetHack 3.6.6 is the official release of NetHack that follows NetHack 3.6.5.

This release primarily corrects a security issue present in NetHack
versions 3.6.1, 3.6.2, 3.6.3, 3.6.4 and 3.6.5.
For details about the security issues please see https://www.nethack.org/security.
You are encouraged to update to NetHack 3.6.6 as soon as possible.

Here's a brief synopsis of the handful of bug fixes included in NetHack 3.6.6:

 *  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
 *  avoid divide by 0 crash if 'bogusmon' (file of bogus monster types) is empty
 *  avoid #wizrumorcheck crash if either 'rumors.tru' or 'rumors.fal' or both
 *      were empty when makedefs built 'rumors'
 *  avoid "<mon>'s glorkum pass harmlessly through the shade" for weaponless mon

All of the fixes have been published on the public Git repository for the game.
A more complete list can be found in the game's sources in doc/fixes36.6. As usual,
a warning that some entries in that file may also be "spoilers".

Existing saved games and bones files from 3.6.0 through to 3.6.5 should work with
3.6.6, assuming that the same build configuration options were used.

The following command can be used on most platforms to help confirm the location of
various files that NetHack may use:
    nethack --showpaths


(rhialto)
diff -r1.42 -r1.43 pkgsrc/games/nethack-lib/Makefile.common
diff -r1.26 -r1.27 pkgsrc/games/nethack-lib/distinfo

cvs diff -r1.42 -r1.43 pkgsrc/games/nethack-lib/Makefile.common (expand / switch to unified diff)

--- pkgsrc/games/nethack-lib/Makefile.common 2020/01/28 21:11:30 1.42
+++ pkgsrc/games/nethack-lib/Makefile.common 2020/04/24 12:59:00 1.43
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile.common,v 1.42 2020/01/28 21:11:30 rhialto Exp $ 1# $NetBSD: Makefile.common,v 1.43 2020/04/24 12:59:00 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
14NETHACK_BASEVER= 3.6.5 14NETHACK_BASEVER= 3.6.6
15NETHACK_VERSION= ${NETHACK_BASEVER} 15NETHACK_VERSION= ${NETHACK_BASEVER}
16NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g} 16NETHACK_DISTVER= ${NETHACK_BASEVER:S/.//g}
17NETHACK_DIR= nethackdir${NETHACK_SAVEVER:S/.//g} 17NETHACK_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.
21NETHACK_SAVEVER= 3.6.0 21NETHACK_SAVEVER= 3.6.0
22 22
23DISTNAME= nethack-${NETHACK_DISTVER}-src 23DISTNAME= nethack-${NETHACK_DISTVER}-src
24CATEGORIES= games 24CATEGORIES= games
25MASTER_SITES= https://www.nethack.org/download/${NETHACK_BASEVER}/ 25MASTER_SITES= https://www.nethack.org/download/${NETHACK_BASEVER}/
26EXTRACT_SUFX= .tgz 26EXTRACT_SUFX= .tgz
27 27

cvs diff -r1.26 -r1.27 pkgsrc/games/nethack-lib/distinfo (expand / switch to unified diff)

--- pkgsrc/games/nethack-lib/distinfo 2020/01/28 21:11:30 1.26
+++ pkgsrc/games/nethack-lib/distinfo 2020/04/24 12:59:00 1.27
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: distinfo,v 1.26 2020/01/28 21:11:30 rhialto Exp $ 1$NetBSD: distinfo,v 1.27 2020/04/24 12:59:00 rhialto Exp $
2 2
3SHA1 (nethack-365-src.tgz) = fdf458c94b82876734e3b55fb93af14c3bb4d36d 3SHA1 (nethack-366-src.tgz) = d425d447892157c2efa612e31d02a062e72040e2
4RMD160 (nethack-365-src.tgz) = 3c340be88f707ac0ab3c7f12e0758fa8fdcccb9d 4RMD160 (nethack-366-src.tgz) = de937e31c2046900ef8c6f2eb0da0da09f8e136f
5SHA512 (nethack-365-src.tgz) = 3ac1aeaa4a5e283bc3ee9520d0f37ccd8a0f973840d2116edd50f52a2f53088370203023579519eae98e56e0f90c9d0f87b38cf1ffa73aba5ee69ef32d1aa617 5SHA512 (nethack-366-src.tgz) = 579fde93a37a1b5df637d5bac2601194beeb455c175fbe3ef89342122c8567bb8221ce60d8a6168e6b45c67ade7d7b09c86bf202c8cbe2d6294d276be3e53055
6Size (nethack-365-src.tgz) = 5576401 bytes 6Size (nethack-366-src.tgz) = 5577633 bytes
7SHA1 (patch-ai) = 73c5b2ea1227531089474705f2f18bc411366365 7SHA1 (patch-ai) = 73c5b2ea1227531089474705f2f18bc411366365
8SHA1 (patch-include_config.h) = d3e054a8b30d628513dcb445b10ce586685c7ea6 8SHA1 (patch-include_config.h) = d3e054a8b30d628513dcb445b10ce586685c7ea6
9SHA1 (patch-include_system.h) = b1b53f513c3f6983e0e56eace74c71875b5df3f2 9SHA1 (patch-include_system.h) = b1b53f513c3f6983e0e56eace74c71875b5df3f2
10SHA1 (patch-include_unixconf.h) = 6846c72526f3bda7fe3eccbce641e5feee14d901 10SHA1 (patch-include_unixconf.h) = 6846c72526f3bda7fe3eccbce641e5feee14d901
11SHA1 (patch-src_mail.c) = 5b2a67e0b4d0fc9c715573d1bad6bcafa67b469e 11SHA1 (patch-src_mail.c) = 5b2a67e0b4d0fc9c715573d1bad6bcafa67b469e
12SHA1 (patch-sys_unix_Makefile.doc) = 6219620c50dc7eac6601f87d4a295cb10f02e141 12SHA1 (patch-sys_unix_Makefile.doc) = 6219620c50dc7eac6601f87d4a295cb10f02e141
13SHA1 (patch-sys_unix_Makefile.src) = 35eabd1ca5577988e48daf10835dfa335f7e67ac 13SHA1 (patch-sys_unix_Makefile.src) = 35eabd1ca5577988e48daf10835dfa335f7e67ac
14SHA1 (patch-sys_unix_Makefile.top) = 0736aafda67dec45657f9f15338ce2f89add9747 14SHA1 (patch-sys_unix_Makefile.top) = 0736aafda67dec45657f9f15338ce2f89add9747
15SHA1 (patch-sys_unix_Makefile.utl) = 142f267fdd9a94c212657b7242dea6a3716c738e 15SHA1 (patch-sys_unix_Makefile.utl) = 142f267fdd9a94c212657b7242dea6a3716c738e
16SHA1 (patch-sys_unix_nethack.sh) = eec4b6619584d7e07ac5d9a086af9bc8f7e6285f 16SHA1 (patch-sys_unix_nethack.sh) = eec4b6619584d7e07ac5d9a086af9bc8f7e6285f
17SHA1 (patch-util_recover.c) = 60e5ec35313a97cf788ff1ed4a4772bbcf24bc48 17SHA1 (patch-util_recover.c) = 60e5ec35313a97cf788ff1ed4a4772bbcf24bc48