summaryrefslogtreecommitdiff
path: root/games/nethack-lib
AgeCommit message (Collapse)AuthorFilesLines
2022-04-24nethack-lib: add CHECK_PORTABILITY_SKIPtnn1-1/+3
2021-10-26games: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07games: Remove SHA1 hashes for distfilesnia1-2/+1
2020-04-24The NetHack DevTeam is announcing the release of NetHack 3.6.6 onrhialto2-7/+7
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
2020-01-28games/nethack: update to 3.6.5.rhialto3-9/+8
The NetHack DevTeam is announcing the release of NetHack 3.6.5 on January 27, 2020 NetHack 3.6.5 is the official release of NetHack that follows NetHack 3.6.4. This release primarily corrects security issues present in NetHack versions 3.6.0, 3.6.1, 3.6.2, 3.6.3 and 3.6.4. CVE-2020-5214 Error recovery after syntax error in configuration file is subject to a buffer overflow CVE-2020-5213 SYMBOL configuration file option is subject to a buffer overflow CVE-2020-5212 MENUCOLOR configuration file option is subject to a buffer overflow CVE-2020-5211 AUTOCOMPLETE configuration file option is subject to a buffer overflow CVE-2020-5210 NetHack command line -w option parsing is subject to a buffer overflow CVE-2020-5209 Command line parsing of options starting with -de and -i is subject to a buffer overflow CVE-2019-19905 Privilege escalation/remote code execution/crash in configuration parsing You are encouraged to update to NetHack 3.6.5 as soon as possible. Here's a brief synopsis of the handful of bug fixes included in NetHack 3.6.5: fix accessing mons[-1] when trying to gate in a non-valid demon fix accessing mons[-1] when monster figures out if a tin cures stoning have string_for_opt() return empty_optstr on failure ensure existing callers of string_for_opt() check return value before using it fix potential buffer overflow in add_menu_coloring() fix potential buffer overflow in sym_val() fix potential buffer overflow in pline(), raw_printf(), and config_error_add() fix potential buffer overflow in choose_windows() use vsnprintf instead of vsprintf in pline.c where possible Windows: includes a fix from a 3.6.4 post-release update where OPTIONS=map_mode:fit_to_screen could cause a game start failure Windows: users with C-locale unmappable names could get game start failure All of the fixes have been incrementally published on the public Git repository for the game. A more complete list can be found in the game's sources in doc/fixes36.5. 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.4 should work with 3.6.5, assuming that the same build configuration options were used.
2020-01-26all: migrate homepages from http to httpsrillig1-2/+2
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
2020-01-08Set a setuid bit on bin/recover toopho3-2/+28
Also corrected the default directory where bin/recover searches for save files.
2019-12-19games/nethack: security update to 3.6.4.rhialto2-7/+7
https://www.nethack.org/security/index.html: NetHack: Privilege escalation/remote code execution/crash in configuration parsing Severity: High Affected versions: 3.6.0, 3.6.1, 3.6.2, 3.6.3 First Patched Version: 3.6.4 Basic Information: A buffer overflow issue exists when reading very long lines from a NetHack configuration file (usually named .nethackrc). This vulnerability affects systems that have NetHack installed suid/sgid and shared systems that allow users to upload their own configuration files. All users are urged to upgrade to NetHack 3.6.4 as soon as possible. Additional information related to this advisory, if any, will be made available at https://nethack.org/security.
2019-12-07Update to NetHack 3.6.3.rhialto2-8/+8
From https://www.nethack.org/v363/release.html : NetHack 3.6.3 is the official release of NetHack that follows NetHack 3.6.2. Here's a synopsis of over 190 bug fixes and over 22 game enhancements and community contributions made since the release of 3.6.2 in May 2019: Fixed stale 'thrownobj' pointer for returning thrown aklys while engulfed Fixed uarmh null pointer dereference if a helm of opposite alignment came off due to being polymorphed Fixed 'object lost' panic when attempting to crawl of of the water during emergency disrobing/dropping Running now stops when moving over engravings so you can tell where they are Fixed detection of unseen/secret doors which failed to find monsters hiding under objects and failed to find monsters hiding at trap locations Ensured fatal status conditions made it to disclosure and/or dumplog Fixed "Bad fruit #N" warnings when saving bones with 'perm_invent' On Fixed it so yellow dragons don't have green breath Added several grammar corrections Improved recognition of deafness for several situations including the playing of musical instruments and bribing negotiations with demon lords Fixed ignoring of god's wrath when hero injured himself during altar kick Fixed several cases where persistent inventory window was not updated Fixed temple priests or shopkeepers moving over other monsters Fixed a crash-causing bug when putting on levitation boots over a sink Ensured that thrown or kicked objects will end up in bones Made water go all the way to the edges of level on the Plane of Water Made clouds disrupt line of sight along the edges of the Plane of Air Improved and expanded usage of status highlighting percentage rules Added more than 15 improvements and fixes to the curses window port Added and documented significant changes to default directory choices for the Windows platform Improved the layout and display of the player selection dialog used on the Windows graphical implementation Improved performance of some tty versions by reducing the number of function calls made from mapglyph Allowed the msdos implementation to build with curses and PDCurses Over 100 other fixes and improvements All of the fixes have been incrementally published on the public Git repository for the game. A more complete list can be found in the game's sources in doc/fixes36.3. As usual, a warning that some entries in that file may also be "spoilers". As with all releases of the game, we appreciate your feedback. Please submit any bugs using the problem report form. Also, please check the "known bugs" list before you log a problem - somebody else may have already found it. Happy NetHacking!
2019-11-11The project migrated from SourceForge to GitHub.rin1-2/+2
Master site was also changed to nethack.org.
2019-10-24Fix incorrect wording in a commentpho1-2/+3
2019-10-24Update to NetHack 3.6.2pho19-732/+557
See release notes for the changes from 3.4.3: * http://nethack.org/v360/release.html * http://nethack.org/v361/release.html * http://nethack.org/v362/release.html IMPORTANT NOTICE: Old 3.4.x save files are *incompatible* with this version (which isn't my fault). Files are now saved in /var/games/nethack360.
2018-04-02nethack*: reset MAINTAINERwiz1-2/+2
2018-01-14pkgsrc doesn't support PREFIX with spaces or other special characters.rillig1-3/+3
Therefore it is not necessary to add the :Q modifier to this variable and several others. pkglint -r -Wall --autofix --only :Q
2017-12-25Don't try to provide own declarations for vsprintf, vfprintf and vprintf,he3-7/+22
as this causes build failure and a run-in with __builtin___vsprintf_chk() on NetBSD 8.0. Instead just include <stdarg.h> and <stdio.h>. Rename the patch file for include/system.h in the process. Bump PKGREVISION.
2017-12-14nethack-lib: Honour CFLAGS, simplify and fix patching.jperkin4-20/+28
2017-09-26*: remove qt3 and the packages using it, including KDE3wiz1-2/+1
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
2017-05-09Use the infrastructure to find termcap correctly.jperkin1-8/+6
2016-02-25Use OPSYSVARS.jperkin2-12/+9
2016-01-25Update MASTER_SITES.leot1-2/+2
Noticed by Adrien Fernandes via netbsd-users@.
2015-11-03Add SHA512 digests for distfiles for games categoryagc1-1/+2
Problems found locating distfiles: Package blokus: missing distfile blokus-1.1.tar.gz Package crossfire-client: missing distfile crossfire-client-images-1.11.0.tar.gz Package dungeon: missing distfile dungeon-gdt-glk.tar.gz Package gate88: missing distfile Gate88_Mar19_05.tar.gz Package gnuchess4: missing distfile gnuchess-4.0.pl80.tar.gz Package ioquake3-pk3: missing distfile quake3-latest-pk3s.zip Package rollemup: missing distfile Rollemup.tar.gz Package tscp: missing distfile tscp181.zip Package xbat: missing distfile xev111.tar.gz Package xgalaga: missing distfile xgalaga-2.0.34.tar.gz Package xrick: missing distfile xrick-021212.tgz Package xskat: missing distfile xskat-cards.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-18Bump all packages that depend on curses.bui* or terminfo.bui* since theywiz1-2/+2
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
2012-12-16Remove illegal time_t casts. Should fix build SIGSEGV on 32 bit netbsd.dholland2-1/+41
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-02-03On Linux fix the Guidebook formating by using 'nroff -Tascii' and not usingsbd1-1/+11
col as it removes the escape the the ansi color sequences.
2011-06-01DESTDIRify nethack. Merge patches and distinfo. Some other improvements.wiz14-90/+453
From Rhialto in PR 45010.
2009-08-04MAKE_JOBS_SAFE=nojoerg1-1/+3
2009-08-03Fix conditional for games/nethack.joerg1-2/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2008-09-25Bump PKGREVISION for infrastructure fix affecting /dev/null as CONF_FILESwiz1-2/+2
source.
2008-05-20Honour PKGMANDIRtnn2-7/+7
2007-12-02Some more packages need lex and yacc. Patch by Aleksey Cheusov onrillig1-2/+2
pkgsrc-users.
2007-10-27Further improve the nethack launch script to autodetect which UIspooka2-7/+23
are installed and run an installed one instead of insisting that nethack-tty must always be installed. nethack-tty is still naturally preferred as the default instead of cheap plastic imitations such as nethack-x11.
2007-10-27Recognize options (-x) in the shell script used to start nethack.pooka2-4/+4
Makes e.g. "nethack -s user" work correctly. fixes pkg/37186 by Emil Skoeldberg
2007-03-24Prepare for switching to NO_MTREE=yes.joerg1-1/+2
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2006-10-29wrap most of this file around !NO_BUILD so that inclusion frompooka1-5/+5
games/nethack doesn't confuse pkgsrc into trying to do configuration even when NO_CONFIGURE is specified there. fixes build of games/nethack (well, "build", actually)
2006-10-10You feel like someone is helping you.ben1-1/+2
2006-10-09Fix build on Linux. Use ncurses instead of termlib. Defined SYSVben3-11/+23
instead of BSD. This addresses PR#29424
2006-08-28Fix build on i386 Mac OS X 10.4.7.ben2-6/+17
Use ncurses since OS X lacks termlib. Create group games since OS X lacks it.
2006-06-19Do not declare conflicting srandom() on Darwin.minskim2-7/+7
2006-04-10CHECK_FILES_SKIP logfile and recordpooka1-2/+10
thanks to joerg for hammering me into fixing this finally ;)
2006-03-10Remove unused DEINSTALL script that was being superseded by the onejlam1-17/+0
generated by the pkginstall framework.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-19Fix DragonFly.joerg2-9/+9
2005-11-08Fixed pkglint warning:rillig1-2/+2
- .include "../../category/package" instead of "../package"
2005-11-08Sorted PLIST.rillig1-61/+61
2005-08-20Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} sojlam1-3/+4
that these directories will be conditionally removed (based on reference counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION for packages that were modified as a result.
2005-08-19Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMSjlam1-3/+3
as the INSTALL and DEINSTALL scripts no longer distinguish between the two types of files. Drop SUPPORT_FILES{,_PERMS} and modify the packages in pkgsrc accordingly.
2005-05-15Note where gzip or gunzip is required by the package since it isn'tjlam1-1/+2
required by default any longer in bsd.pkg.mk under the new tools framework.