Commit graph

97 commits

Author SHA1 Message Date
tnn
7ad21a381e nethack-lib: add CHECK_PORTABILITY_SKIP 2022-04-24 22:21:33 +00:00
nia
e3451cd85e games: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:43:43 +00:00
nia
9cd4d06302 games: Remove SHA1 hashes for distfiles 2021-10-07 14:07:10 +00:00
rhialto
4774d224f7 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
2020-04-24 12:59:00 +00:00
rhialto
3906247c35 games/nethack: update to 3.6.5.
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-28 21:11:30 +00:00
rillig
9637f7852e all: migrate homepages from http to https
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-26 17:30:40 +00:00
pho
97dc27a7eb Set a setuid bit on bin/recover too
Also corrected the default directory where bin/recover searches for
save files.
2020-01-08 16:55:13 +00:00
rhialto
d8d2624fa0 games/nethack: security update to 3.6.4.
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-19 14:41:59 +00:00
rhialto
645623a05f Update to NetHack 3.6.3.
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-12-07 13:27:08 +00:00
rin
0f79022751 The project migrated from SourceForge to GitHub.
Master site was also changed to nethack.org.
2019-11-11 11:59:06 +00:00
pho
a127527759 Fix incorrect wording in a comment 2019-10-24 17:00:28 +00:00
pho
3d23cf4c72 Update to NetHack 3.6.2
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.
2019-10-24 11:51:23 +00:00
wiz
bad418b9af nethack*: reset MAINTAINER 2018-04-02 09:44:52 +00:00
rillig
382ca5f16e pkgsrc doesn't support PREFIX with spaces or other special characters.
Therefore it is not necessary to add the :Q modifier to this variable
and several others.

pkglint -r -Wall --autofix --only :Q
2018-01-14 15:26:46 +00:00
he
9d5bc36925 Don't try to provide own declarations for vsprintf, vfprintf and vprintf,
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-25 22:22:11 +00:00
jperkin
e0caa70120 nethack-lib: Honour CFLAGS, simplify and fix patching. 2017-12-14 16:13:31 +00:00
wiz
06bd0ca307 *: remove qt3 and the packages using it, including KDE3
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
2017-09-26 10:26:54 +00:00
jperkin
3d291892e3 Use the infrastructure to find termcap correctly. 2017-05-09 14:12:30 +00:00
jperkin
7e4c4188db Use OPSYSVARS. 2016-02-25 13:19:47 +00:00
leot
4a63578fec Update MASTER_SITES.
Noticed by Adrien Fernandes via netbsd-users@.
2016-01-25 11:07:38 +00:00
agc
002d349f92 Add SHA512 digests for distfiles for games category
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-11-03 20:56:42 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
dholland
5564b7ca1d Remove illegal time_t casts. Should fix build SIGSEGV on 32 bit netbsd. 2012-12-16 20:34:08 +00:00
asau
45127be31e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 11:54:29 +00:00
sbd
822066e2c9 On Linux fix the Guidebook formating by using 'nroff -Tascii' and not using
col as it removes the escape the the ansi color sequences.
2012-02-03 07:04:54 +00:00
wiz
9236d32085 DESTDIRify nethack. Merge patches and distinfo. Some other improvements.
From Rhialto in PR 45010.
2011-06-01 11:20:29 +00:00
joerg
681143688d MAKE_JOBS_SAFE=no 2009-08-04 13:58:57 +00:00
joerg
a64227e77c Fix conditional for games/nethack. 2009-08-03 14:52:01 +00:00
joerg
4bd41386e5 Remove @dirrm entries from PLISTs 2009-06-14 17:56:38 +00:00
wiz
12f758e69b Bump PKGREVISION for infrastructure fix affecting /dev/null as CONF_FILES
source.
2008-09-25 14:02:08 +00:00
tnn
7f61d747da Honour PKGMANDIR 2008-05-20 19:47:16 +00:00
rillig
f338d15c24 Some more packages need lex and yacc. Patch by Aleksey Cheusov on
pkgsrc-users.
2007-12-02 08:32:23 +00:00
pooka
ab327413ca Further improve the nethack launch script to autodetect which UIs
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-27 18:26:34 +00:00
pooka
b6d24a7db4 Recognize options (-x) in the shell script used to start nethack.
Makes e.g. "nethack -s user" work correctly.

fixes pkg/37186 by Emil Skoeldberg
2007-10-27 18:07:54 +00:00
joerg
161c920c15 Prepare for switching to NO_MTREE=yes. 2007-03-24 19:21:18 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
pooka
3c3f0ca64a wrap most of this file around !NO_BUILD so that inclusion from
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-29 21:12:46 +00:00
ben
fcd9e62c20 You feel like someone is helping you. 2006-10-10 14:51:44 +00:00
ben
502c102123 Fix build on Linux. Use ncurses instead of termlib. Defined SYSV
instead of BSD.  This addresses PR#29424
2006-10-09 02:06:58 +00:00
ben
27c16ed0db Fix build on i386 Mac OS X 10.4.7.
Use ncurses since OS X lacks termlib.
Create group games since OS X lacks it.
2006-08-28 23:03:14 +00:00
minskim
eee353d820 Do not declare conflicting srandom() on Darwin. 2006-06-19 17:07:45 +00:00
pooka
8c940e9634 CHECK_FILES_SKIP logfile and record
thanks to joerg for hammering me into fixing this finally ;)
2006-04-10 12:56:04 +00:00
jlam
0e8686db8d Remove unused DEINSTALL script that was being superseded by the one
generated by the pkginstall framework.
2006-03-10 15:34:22 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
joerg
89977029a7 Fix DragonFly. 2005-12-19 17:47:04 +00:00
rillig
0e755b508c Fixed pkglint warning:
- .include "../../category/package" instead of "../package"
2005-11-08 22:31:49 +00:00
rillig
3a81dc1c4f Sorted PLIST. 2005-11-08 22:29:15 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
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-20 19:16:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
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-08-19 18:12:36 +00:00
jlam
419428ec4a Note where gzip or gunzip is required by the package since it isn't
required by default any longer in bsd.pkg.mk under the new tools
framework.
2005-05-15 22:02:26 +00:00