| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: nethack | Distribution: openSUSE:Factory:zSystems |
| Version: 3.4.3 | Vendor: openSUSE |
| Release: 9.1 | Build date: Wed Jul 16 10:17:14 2025 |
| Group: Amusements/Games/RPG | Build host: reproducible |
| Size: 3932028 | Source RPM: nethack-3.4.3-9.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://www.nethack.org | |
| Summary: Turn-based role-playing game | |
NetHack is a turn-based role-playing game with complex game mechanics. Descent into the Mazes of Menace and retrieve the Amulet of Yendor. Play as different character classes, such as fighter, wizard, rogue and others. Persist against various monsters and defeat the Wizard of Yendor. This package contains the text interface.
NGPL
* Wed Jul 16 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Apply patches with %autosetup. Rpm's %autosetup applies all listed
patches automatically and avoids manual patch specification via
%patch.
- Patches taken for git commits require -p1 to apply cleanly. Change
the formatting of several existing patches to contain the nethack
build directory, so that all patches apply with -p1. Enables
%autosetup. No functional changes to existing patch.
* Tue Jul 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Add nethack-WINCHAIN-a-framework-allowing-multiple-processors-be.patch:
Define preprocessor token UNUSED to mark unused variables. (boo#1245527)
- Add nethack-address-H4266-build-problem-with-clang-Modules.patch: Fix
passing an incorrect function signature for signal handling.
allmain.c: In function ‘newgame’:
allmain.c:507:31: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
507 | (void) signal(SIGINT, (SIG_RET_TYPE) done1);
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(void)
The patch from upstream changes a number of things for OSX support,
but we only take the fixes to signal handling. (boo#1245527)
- Add nethack-tty-xputc.patch: tputs() wants a callback that returns
an integer. Backport upstream fix. (boo#1245527)
- Add nethack-gcc15-1.patch: Adopt upstream fix for NetHack 3.6 to
the code base to make it build with Gcc 15. Reference avalable at
https://nethack.org/v367/bugmore/gcc15-1.diff. (boo#1245527)
- Refresh patches on top of upstream backports.
* Tue Jul 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Start listing patches specific to openSUSE at offset 50. This leaves
room for backports in the range below.
* Mon Mar 17 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Define AUTOPICKUP_EXCEPTIONS to make
autopickup more user friendly. It is usually preferable for players
to not pick up items automatically. Exceptions are Zorkmids (i.e.,
in-game money). The compile-time option AUTOPICKUP_EXCEPTIONS allows
for configuring this at runtime.
* Mon Mar 17 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Fix package description: it's the 'Mazes of Menace' (plural).
* Fri Mar 14 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Add nethack-escapes-revamp.patch: Fix possible privilege escalation
when parsing config file. Takens from upstream commit 612755bfb
("escapes() revamp"). (boo#1239138 CVE-2020-5253)
* Mon Jan 13 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Add an interesting and meaningful description to the package.
- Clarify package summary.
- Link to HTTPS URL.
* Sun Jan 12 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Filter no-%check-section rpmlint warnings. There are no test cases
for NetHack. (W: no-%check-section)
* Sun Jan 12 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Filter zero-length rpmlint warnings. Several files are required to
by empty. Filter them from the RPM linter. (E: zero-length)
* Sun Jan 12 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Do not install documentation files. We package these files from the
dource directory No need to copy them into the build root.
* Sat Jan 11 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Set file attributes in %files section. It is not possible to use
'make install' for this package, so we have to install all files
manually. Resolve the hodgepotch of install and %attr commands by
setting all file attributes in the %files section.
* Sat Jan 11 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Do not install /etc/nethack directory. We do not packaged it and it
does not contain any files.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Add nethack-escape-char.patch: Split off from nethack-misc.patch,
this patch contains a fix for input handling.
- Add nethack-secure.patch: Improve support for SECURE in recover
utility. Does not affect the game binary. Taken from nethack-misc.patch.
- Modify nethack-config.patch: When patching Makefiles, also fix the
paths in the documentation to match openSUSE systems.
- Drop nethack-misc.patch: The patch has been split and its content
moved to other patch files.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-gzip.patch: Point COMPRESS to /usr/bin/gzip and avoid
the symlink /bin. The top-level /bin directory is supposed to go away.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: The patch enabled building a number of
files for X11, which we don't support. Remove them from the build.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Drop nethack-syscall.patch: The patch only affects builds with GNOME
support, which we don't do.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Add nethack-reproducible.patch: Same as reproducible.patch, but
follows patch-nameing conventions. There's now also a short patch
description in the spec file.
- Drop reproducible.patch: Renamed to nethack-reproducible.patch.
* Wed Jan 08 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-syscall.patch: Refresh to account for offset changes.
- Modify nethack-gzip.patch: Refresh to account for offset changes.
* Tue Jan 07 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config: Enable panic logging. This records serious
errors in the file panic log in the game's state directory. Helps
with debugging.
* Mon Jan 06 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Mark NetHack's record and logfile file with %config(noreplace), so
that package updates do not overwrite existing highscores and
information about previous games. Also list the various state files
individually instead of lumping them together.
- Install 'logfile' instead of 'log' in NetHack's state directory. The
file contains information about earlier played games.
* Fri Jan 03 2025 Bernhard Wiedemann <bwiedemann@suse.com>
- Avoid race around dlb.o (boo#1102408)
* Fri Jan 03 2025 Thomas Zimmermann <tzimmermann@suse.com>
- Implement parallel builds for all target. The Makefiles do not
handle target dependencies correctly and parallel building does
not work reliably by default. Hence we run several rules explicitly
before 'all', which then uses the results. Guidebook.ps still has
to be build separately.
- Build object files for makedefs first. Fixes possible linker errors
on parallel builds. The Makefiles do not track the dependencies correctly.
An example error is shown below.
[ 3s] cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o
[ 3s] ld: /tmp/cckee6qh.debug.temp.o: bad reloc symbol index (0x74727473 >= 0x8) for offset 0x6261747274732e00 in section `.debug_line'
[ 3s] ld: /tmp/cckee6qh.debug.temp.o: error adding symbols: bad value
[ 3s] collect2: error: ld returned 1 exit status
(boo#1102408)
- Remove the unnecessary invocation of 'make clean'.
* Fri Jan 03 2025 Bernhard Wiedemann <bwiedemann@suse.com>
- Build nethack/monst.o in a more reproducible way (boo#1102408)
* Thu Dec 26 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Drop global config directory. NetHack does not read the global RC
file any longer. Remove the rsp directory, usually /etc/nethack, from
the package.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove %{_datadir}/games from files section. The directory is owned
by the filesystem package and should not be packaged by nethack. Rpm
will now install nethack without the --force option.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Install nethack launch script in %{_bindir}, so that users can run
it from the commnd line. Also resolves an error were nethack package
owned the standard directory /usr/games (E: standard-dir-owned-by-package).
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove nethackrc: Nethack's global rc file was a product of openSUSE's
custom start script. With the removal of the script, nethack reads the
.nethackrc in the user's home directory. This is standard behavior on
Unix systems.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove SuSE.tar.bz2: The files in the archive are outdated and no
longer used for building NetHack.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Adapt sys/unix/nethack.sh to SUSE
filesystem hierarchy. The script assumes that the NetHack binary is
in the data directory. disstinuish between the two.
- Remove all remaining files from SuSE.tar.bz2 from the package. Use
the up-to-date files that come with the release and patch them if
necessary.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Drop options.tty in favor of standard options files. As there is
only ever one options file, drop the extension.
* Thu Dec 19 2024 Thomas Zimmermann <tzimmermann@suse.com>
- List games user and group as PreReq
* Wed Dec 18 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove graphical features, such as tiles, XPM files and X11 utils
from the package. The TTY build does not use them.
* Wed Dec 18 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Mark license file with %fdupes. The file serves as data file for
the NetHack binary, but is also installed via %license. %fdupes does
not actually support de-duplicating if %license is involved. But at
least it is listed correctly. (W: files-duplicate)
* Wed Dec 18 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Drop 'recover-helper' as it is a trivial helper around the recover
utility.
* Tue Dec 17 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Copy nethackrc.tty from SuSE.tar.bz2 to source directory and
list is as Source2. Rename to nethackrc.
- Reduce nethackrc to non-default options. Drop 'number_pad' to make
the game playable on notebooks, which often don't have numpads.
* Tue Dec 17 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove TeXLive from BuildRequires. It's not needed as we don't
build the Guidebook DVI.
* Tue Dec 17 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Do not pack fixes (i.e., change logs) files in a tar archive when
installing them. It has been a long time since packing up change
logs was necessary for saving disk space.
* Fri Dec 06 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Add Guidebook.ps to the package. We
generate this document from the doc/ folder. There's still
Guidebook.txt as before for users without PostScript reader.
- Drop Guidebook.tex from package. The tex file is an input file for
documentation. Don't add it to the package.
* Fri Dec 06 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Drop README.SuSE from package. The README is completely outdated,
thus remove it from the package. Also resolves a warning about the
incorrect capitalization in 'SuSE.' (E: wrong-suse-capitalisation)
* Fri Dec 06 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Add groff to build requirements. Fixes a build warning where tbl and
nroff are not available.
* Fri Dec 06 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Remove CFLAGS from invocations of make. We patch the Makefiles with
appropriate compile flags and sed-in any %{optflags}. No need to
pass additional flags while invoking make. Also drop _GNU_SOURCE
while at it; it's not required for the build.
* Fri Dec 06 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Integrate SuSE/tty/Makefile.src into
this patch instead of copying it. Reduce the changes to the minimum.
Only rename nethack to nethack.tty and set compiler and linker flags.
As SuSE/tty/Makefile.src was for an older version of nethack, it
did not list all source dependencies correctly, hence leading to
sporadic compile errors. Patching the actual Makefile fixes this.
- Copy Makefiles from sys/unix/ to their places instead of symlinking
them; then run sed to add optimization flags. Fixes another problem
with the outdated Makefile from SuSE/tty/.
* Tue Dec 03 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Update the config file strictly to the
upstream state plus changes for the SUSE TTY build. The config file
coming from SuSE.tar.bz2 refered to an older upstream release.
* Tue Dec 03 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-config.patch: Integrate SuSE/tty/config.h into this
patch instead of copying it; except for the COMPRESS settings, which
nethack-gzip.patch still updates. We never build anything else than
the TTY variant of nethack, so there's no point in keeping these
config changes in various places.
* Tue Dec 03 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Drop references to /usr/X11R6/ from build flags. We're not building
for X11 any longer and that directory has been gone for years anyway.
* Sun Dec 01 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Don't make configuration files in /etc/nethack executable.
(E: script-without-shebang)
* Sun Dec 01 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Don't make game-state files in /var/games/nethack executable.
(W: script-without-shebang)
* Sat Nov 30 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Modify nethack-misc.patch: Refresh to fix patch offsets.
* Sat Nov 30 2024 Thomas Zimmermann <tzimmermann@suse.com>
- Replace deprecated %patchN macros with %patch -PN
(E: patch-macro-old-format)
/usr/bin/nethack /usr/lib/nethack /usr/lib/nethack/dgn_comp /usr/lib/nethack/dlb /usr/lib/nethack/lev_comp /usr/lib/nethack/makedefs /usr/lib/nethack/nethack /usr/lib/nethack/options /usr/lib/nethack/recover /usr/share/doc/packages/nethack /usr/share/doc/packages/nethack/Guidebook.ps /usr/share/doc/packages/nethack/Guidebook.txt /usr/share/doc/packages/nethack/fixes22.0 /usr/share/doc/packages/nethack/fixes30.0 /usr/share/doc/packages/nethack/fixes31.1 /usr/share/doc/packages/nethack/fixes31.2 /usr/share/doc/packages/nethack/fixes31.3 /usr/share/doc/packages/nethack/fixes32.0 /usr/share/doc/packages/nethack/fixes32.1 /usr/share/doc/packages/nethack/fixes32.2 /usr/share/doc/packages/nethack/fixes32.3 /usr/share/doc/packages/nethack/fixes33.0 /usr/share/doc/packages/nethack/fixes33.1 /usr/share/doc/packages/nethack/fixes34.0 /usr/share/doc/packages/nethack/fixes34.1 /usr/share/doc/packages/nethack/fixes34.2 /usr/share/doc/packages/nethack/fixes34.3 /usr/share/games/nethack /usr/share/games/nethack/license /usr/share/games/nethack/nhdat /usr/share/licenses/nethack /usr/share/licenses/nethack/license /usr/share/man/man6/dgn_comp.6.gz /usr/share/man/man6/dlb.6.gz /usr/share/man/man6/lev_comp.6.gz /usr/share/man/man6/nethack.6.gz /usr/share/man/man6/recover.6.gz /var/games/nethack /var/games/nethack/logfile /var/games/nethack/paniclog /var/games/nethack/perm /var/games/nethack/record /var/games/nethack/save
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 22 23:18:26 2025