head 1.13; access; symbols pkgsrc-2019Q3:1.12.0.70 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.68 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.66 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.64 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.62 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.60 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.58 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.56 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.54 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.50 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.48 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.46 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.44 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.42 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.40 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.38 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.36 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.34 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.32 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.30 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.28 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.26 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.24 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.22 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.20 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.18 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.16 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.14 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.12 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.10 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.8 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.6 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.4 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.2 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.11.0.62 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.60 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.58 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.56 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.54 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.52 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.50 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.48 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.46 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.44 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.42 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.40 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.38 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.36 pkgsrc-2008Q1:1.11.0.34 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.32 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.30 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.28 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.26 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.24 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.22 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.20 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.18 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.11.0.16 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.14 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.11.0.12 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.10 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.8 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.11.0.6 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.4 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.11.0.2 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.13 date 2019.10.24.11.51.23; author pho; state dead; branches; next 1.12; commitid oPzx28JwVsMd97IB; 1.12 date 2011.06.01.11.20.29; author wiz; state Exp; branches; next 1.11; 1.11 date 2004.03.05.15.21.01; author pooka; state Exp; branches; next 1.10; 1.10 date 2003.09.02.00.30.54; author pooka; state Exp; branches; next 1.9; 1.9 date 2003.03.01.21.12.50; author pooka; state Exp; branches; next 1.8; 1.8 date 2002.03.25.20.32.26; author pooka; state Exp; branches 1.8.6.1; next 1.7; 1.7 date 2002.03.22.17.26.25; author pooka; state Exp; branches; next 1.6; 1.6 date 2000.11.27.22.31.03; author pooka; state Exp; branches; next 1.5; 1.5 date 2000.08.21.19.57.08; author pooka; state Exp; branches; next 1.4; 1.4 date 2000.08.10.17.50.06; author pooka; state Exp; branches; next 1.3; 1.3 date 2000.04.14.14.06.53; author pooka; state Exp; branches; next 1.2; 1.2 date 99.12.24.22.30.00; author pooka; state Exp; branches; next 1.1; 1.1 date 98.08.27.12.58.51; author garbled; state Exp; branches; next ; 1.8.6.1 date 2003.03.05.14.10.53; author agc; state Exp; branches; next ; desc @@ 1.13 log @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. @ text @$NetBSD: patch-ab,v 1.12 2011/06/01 11:20:29 wiz Exp $ Make configurable. --- sys/unix/Makefile.top.orig 2003-12-07 23:39:13.000000000 +0000 +++ sys/unix/Makefile.top @@@@ -14,18 +14,18 @@@@ # MAKE = make # make NetHack -PREFIX = /usr GAME = nethack # GAME = nethack.prg -GAMEUID = games -GAMEGRP = bin +GAMEUID = root +GAMEGRP = games # Permissions - some places use setgid instead of setuid, for instance # See also the option "SECURE" in include/config.h -GAMEPERM = 04755 +GAMEPERM = 2755 FILEPERM = 0644 +VARFILEPERM = 0664 EXEPERM = 0755 -DIRPERM = 0755 +DIRPERM = 0775 # GAMEDIR also appears in config.h as "HACKDIR". # VARDIR may also appear in unixconf.h as "VAR_PLAYGROUND" else GAMEDIR @@@@ -35,12 +35,12 @@@@ DIRPERM = 0755 # therefore there should not be anything in GAMEDIR that you want to keep # (if there is, you'll have to do the installation by hand or modify the # instructions) -GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir -VARDIR = $(GAMEDIR) -SHELLDIR = $(PREFIX)/games +GAMEDIR ?= $(PREFIX)/share/$(GAME)dir340 +VARDIR ?= /var/games/nethack340 +SHELLDIR = $(PREFIX)/bin # per discussion in Install.X11 and Install.Qt -VARDATND = +VARDATND = pet_mark.xbm rip.xpm # VARDATND = x11tiles NetHack.ad pet_mark.xbm # VARDATND = x11tiles NetHack.ad pet_mark.xbm rip.xpm # for Atari/Gem @@@@ -64,8 +64,8 @@@@ VARDAT = $(VARDATD) $(VARDATND) # other permission-related reasons. If that happens, you may want to set the # command to "true", which is a no-op. Note that disabling chown or chgrp # will only work if setuid (or setgid) behavior is not desired or required. -CHOWN = chown -CHGRP = chgrp +CHOWN = : # chown +CHGRP = : # chgrp # # end of configuration @@@@ -87,9 +87,12 @@@@ DAT = $(DATNODLB) $(DATDLB) $(GAME): ( cd src ; $(MAKE) ) -all: $(GAME) recover Guidebook $(VARDAT) dungeon spec_levs check-dlb +all: $(GAME) datastuff @@echo "Done." +datastuff: recover Guidebook $(VARDAT) dungeon spec_levs check-dlb + @@echo "Data Sets Built." + # Note: many of the dependencies below are here to allow parallel make # to generate valid output @@@@ -99,20 +102,20 @@@@ Guidebook: manpages: ( cd doc ; $(MAKE) manpages ) -data: $(GAME) +data: # $(GAME) ( cd dat ; $(MAKE) data ) -rumors: $(GAME) +rumors: # $(GAME) ( cd dat ; $(MAKE) rumors ) -oracles: $(GAME) +oracles: # $(GAME) ( cd dat ; $(MAKE) oracles ) # Note: options should have already been made with make, but... -options: $(GAME) +options: # $(GAME) ( cd dat ; $(MAKE) options ) -quest.dat: $(GAME) +quest.dat: # $(GAME) ( cd dat ; $(MAKE) quest.dat ) spec_levs: dungeon @@@@ -120,22 +123,22 @@@@ spec_levs: dungeon ( cd dat ; $(MAKE) spec_levs ) ( cd dat ; $(MAKE) quest_levs ) -dungeon: $(GAME) +dungeon: # $(GAME) ( cd util ; $(MAKE) dgn_comp ) ( cd dat ; $(MAKE) dungeon ) -nhtiles.bmp: $(GAME) +nhtiles.bmp: # $(GAME) ( cd dat ; $(MAKE) nhtiles.bmp ) -x11tiles: $(GAME) +x11tiles: # $(GAME) ( cd util ; $(MAKE) tile2x11 ) ( cd dat ; $(MAKE) x11tiles ) -beostiles: $(GAME) +beostiles: # $(GAME) ( cd util ; $(MAKE) tile2beos ) ( cd dat ; $(MAKE) beostiles ) -NetHack.ad: $(GAME) +NetHack.ad: # $(GAME) ( cd dat ; $(MAKE) NetHack.ad ) pet_mark.xbm: @@@@ -150,7 +153,7 @@@@ mapbg.xpm: nhsplash.xpm: ( cd dat ; $(MAKE) nhsplash.xpm ) -nh16.img: $(GAME) +nh16.img: # $(GAME) ( cd util ; $(MAKE) tile2img.ttp ) ( cd dat ; $(MAKE) nh16.img ) @@@@ -172,7 +175,7 @@@@ dlb: # recover can be used when INSURANCE is defined in include/config.h # and the checkpoint option is true -recover: $(GAME) +recover: # $(GAME) ( cd util ; $(MAKE) recover ) dofiles: @@@@ -183,34 +186,31 @@@@ dofiles: -e '}' \ -e '$$s/.*/nodlb/p' < dat/options` ; \ $(MAKE) dofiles-$${target-nodlb} - cp src/$(GAME) $(GAMEDIR) - cp util/recover $(GAMEDIR) - -rm -f $(SHELLDIR)/$(GAME) - sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \ + cp util/recover $(DESTDIR)$(PREFIX)/bin + -rm -f $(DESTDIR)$(SHELLDIR)/$(GAME) + sed -e 's;@@GAMEDIR@@;$(GAMEDIR);' \ -e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \ + -e 's;@@PREFIX@@;$(PREFIX);' \ < sys/unix/nethack.sh \ - > $(SHELLDIR)/$(GAME) + > $(DESTDIR)$(SHELLDIR)/$(GAME) # set up their permissions - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(GAME) recover ; \ - $(CHGRP) $(GAMEGRP) $(GAME) recover ) - chmod $(GAMEPERM) $(GAMEDIR)/$(GAME) - chmod $(EXEPERM) $(GAMEDIR)/recover - -$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME) - $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME) - chmod $(EXEPERM) $(SHELLDIR)/$(GAME) + chmod $(EXEPERM) $(DESTDIR)$(PREFIX)/bin/recover + -$(CHOWN) $(GAMEUID) $(DESTDIR)$(SHELLDIR)/$(GAME) + $(CHGRP) $(GAMEGRP) $(DESTDIR)$(SHELLDIR)/$(GAME) + chmod $(EXEPERM) $(DESTDIR)$(SHELLDIR)/$(GAME) dofiles-dlb: check-dlb - ( cd dat ; cp nhdat $(DATNODLB) $(GAMEDIR) ) + ( cd dat ; cp nhdat $(DATNODLB) $(DESTDIR)$(GAMEDIR) ) # set up their permissions - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) nhdat $(DATNODLB) ; \ + -( cd $(DESTDIR)$(GAMEDIR) ; $(CHOWN) $(GAMEUID) nhdat $(DATNODLB) ; \ $(CHGRP) $(GAMEGRP) nhdat $(DATNODLB) ; \ chmod $(FILEPERM) nhdat $(DATNODLB) ) dofiles-nodlb: # copy over the game files - ( cd dat ; cp $(DAT) $(GAMEDIR) ) + ( cd dat ; cp $(DAT) $(DESTDIR)$(GAMEDIR) ) # set up their permissions - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(DAT) ; \ + -( cd $(DESTDIR)$(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(DAT) ; \ $(CHGRP) $(GAMEGRP) $(DAT) ; \ chmod $(FILEPERM) $(DAT) ) @@@@ -230,26 +230,39 @@@@ update: $(GAME) recover $(VARDAT) dungeo # and a reminder @@echo You may also want to install the man pages via the doc Makefile. -install: $(GAME) recover $(VARDAT) dungeon spec_levs +install-dat: recover $(VARDAT) dungeon spec_levs # set up the directories # not all mkdirs have -p; those that don't will create a -p directory - -mkdir -p $(SHELLDIR) - -rm -rf $(GAMEDIR) $(VARDIR) - -mkdir -p $(GAMEDIR) $(VARDIR) $(VARDIR)/save + -mkdir -p $(DESTDIR)$(SHELLDIR) + -mkdir -p $(DESTDIR)$(GAMEDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(VARDIR)/save -rmdir ./-p - -$(CHOWN) $(GAMEUID) $(GAMEDIR) $(VARDIR) $(VARDIR)/save - $(CHGRP) $(GAMEGRP) $(GAMEDIR) $(VARDIR) $(VARDIR)/save - chmod $(DIRPERM) $(GAMEDIR) $(VARDIR) $(VARDIR)/save + -$(CHOWN) $(GAMEUID) $(DESTDIR)$(GAMEDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(VARDIR)/save + $(CHGRP) $(DESTDIR)$(GAMEGRP) $(DESTDIR)$(GAMEDIR) $(DESTDIR)$(VARDIR) $(DESTDIR)$(VARDIR)/save + chmod $(DIRPERM) $(DESTDIR)$(GAMEDIR) $(DESTDIR)$(VARDIR) + chmod 770 $(DESTDIR)$(VARDIR)/save # set up the game files ( $(MAKE) dofiles ) # set up some additional files - touch $(VARDIR)/perm $(VARDIR)/record $(VARDIR)/logfile - -( cd $(VARDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ + touch $(DESTDIR)$(VARDIR)/perm $(DESTDIR)$(VARDIR)/record $(DESTDIR)$(VARDIR)/logfile + -( cd $(DESTDIR)$(VARDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ $(CHGRP) $(GAMEGRP) perm record logfile ; \ - chmod $(FILEPERM) perm record logfile ) + chmod $(VARFILEPERM) perm record logfile ) + -touch -c $(DESTDIR)$(VARDIR)/bones* $(DESTDIR)$(VARDIR)/?lock* $(DESTDIR)$(VARDIR)/wizard* + -touch -c $(DESTDIR)$(VARDIR)/save/* + -mkdir -p $(DESTDIR)$(PREFIX)/share/doc/nethack + cp doc/Guidebook $(DESTDIR)$(PREFIX)/share/doc/nethack + $(CHOWN) $(GAMEUID):$(GAMEGRP) $(DESTDIR)$(PREFIX)/share/doc/nethack/Guidebook + chmod $(FILEPERM) $(DESTDIR)$(PREFIX)/share/doc/nethack/Guidebook # and a reminder @@echo You may also want to reinstall the man pages via the doc Makefile. +binfiles: $(GAME) + mkdir -p $(DESTDIR)$(SHELLDIR) + mkdir -p $(DESTDIR)$(GAMEDIR) + cp src/$(GAME) $(DESTDIR)$(SHELLDIR)/$(GAME)$(GTYPE) + -( cd $(DESTDIR)$(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(DESTDIR)$(SHELLDIR)/$(GAME)$(GTYPE) ; \ + $(CHGRP) $(GAMEGRP) $(DESTDIR)$(SHELLDIR)/$(GAME)$(GTYPE) ) + #chmod $(GAMEPERM) $(DESTDIR)$(SHELLDIR)/$(GAME)$(GTYPE) # 'make clean' removes all the .o files, but leaves around all the executables # and compiled data files @ 1.12 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.11 2004/03/05 15:21:01 pooka Exp $ @ 1.11 log @Nethack 3.4.3 This is a bugfix-release. It should be compatible with bones files and savegames all the way back to 3.4.0 (but of course it's safer to ascend before upgrade). Assorted fixes (full list in doc/fixes34.3): * Correct several inconsistencies * Correct a potentially fatal bug caused by dropping loadstones * Handle level completely filled with monsters better * X11 player selection fixes, one of which could be fatal * Eliminated a gold-in-shop-container cheat @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 3 --- sys/unix/Makefile.top.orig 2003-12-08 01:39:13.000000000 +0200 +++ sys/unix/Makefile.top 2004-03-05 15:40:57.000000000 +0200 @@@@ -14,18 +14,17 @@@@ a21 1 -FILEPERM = 0644 d23 2 a24 1 +FILEPERM = 0664 d31 1 a31 1 @@@@ -35,12 +34,12 @@@@ d36 1 a36 2 +GAMEDIR = $(PREFIX)/share/$(GAME)dir340 VARDIR = $(GAMEDIR) d38 2 d48 12 a59 1 @@@@ -87,9 +86,12 @@@@ d73 73 a145 1 @@@@ -183,18 +185,15 @@@@ d151 5 a155 3 + cp util/recover $(PREFIX)/bin -rm -f $(SHELLDIR)/$(GAME) sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \ d157 1 a157 1 + -e 's;XXXPREFIXXXX;$(PREFIX);' \ d159 2 a160 1 > $(SHELLDIR)/$(GAME) d166 28 a193 5 + chmod $(EXEPERM) $(PREFIX)/bin/recover -$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME) $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME) chmod $(EXEPERM) $(SHELLDIR)/$(GAME) @@@@ -230,16 +229,16 @@@@ d201 1 a201 1 -mkdir -p $(SHELLDIR) d203 3 a205 1 -mkdir -p $(GAMEDIR) $(VARDIR) $(VARDIR)/save d207 2 a208 2 -$(CHOWN) $(GAMEUID) $(GAMEDIR) $(VARDIR) $(VARDIR)/save $(CHGRP) $(GAMEGRP) $(GAMEDIR) $(VARDIR) $(VARDIR)/save d210 4 a213 2 + chmod $(DIRPERM) $(GAMEDIR) $(VARDIR) + chmod 770 $(VARDIR)/save d217 4 a220 2 @@@@ -247,9 +246,20 @@@@ -( cd $(VARDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ d222 8 a229 7 chmod $(FILEPERM) perm record logfile ) + -touch -c $(VARDIR)/bones* $(VARDIR)/?lock* $(VARDIR)/wizard* + -touch -c $(VARDIR)/save/* + -mkdir -p $(PREFIX)/share/doc/nethack + cp doc/Guidebook $(PREFIX)/share/doc/nethack + chown $(GAMEUID):$(GAMEGRP) $(PREFIX)/share/doc/nethack/Guidebook + chmod $(FILEPERM) $(PREFIX)/share/doc/nethack/Guidebook d234 6 a239 4 + cp src/$(GAME) $(SHELLDIR)/$(GAME)$(GTYPE) + -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME)$(GTYPE) ; \ + $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME)$(GTYPE) ) + chmod $(GAMEPERM) $(SHELLDIR)/$(GAME)$(GTYPE) @ 1.10 log @Update to NetHack 3.4.2 This is a bugfix release which fixes over 100 bugs including but not limited to: * Fixed a fatal bug that triggered a panic when your secondary weapon was cursed during bones file creation * Fixed a fatal bug that caused a crash when applying figurine, candle, or bell that gets used up for a complete list, see doc/fixes34.2 Old savegames and bones levels from nethack 3.4.1 (and 3.4.0) should still work, but as usual, caution is advised. @ text @d3 2 a4 2 --- sys/unix/Makefile.top.orig 2003-08-30 03:08:04.000000000 +0300 +++ sys/unix/Makefile.top 2003-09-02 02:42:07.000000000 +0300 @ 1.9 log @Hello NetHack 3.4.1 This is a bugfix release, no new features introduced. As a compensation for no new features, savegames and bones levels from NetHack 3.4.0 should work, and that's why I kept the datafile directory named nethackdir340. In theory you should be able to simply update the nethack pkgs and continue playing, but I'll not accept any death threats if it doesn't work, so please make sure you make the appropriate backups before trying. @ text @d3 2 a4 2 --- sys/unix/Makefile.top.orig 2003-02-23 16:43:39.000000000 +0200 +++ sys/unix/Makefile.top 2003-03-01 22:06:45.000000000 +0200 d42 2 a43 2 # VARDATND = x11tiles pet_mark.xbm # VARDATND = x11tiles pet_mark.xbm rip.xpm d59 1 a59 1 @@@@ -180,18 +182,15 @@@@ d81 1 a81 1 @@@@ -227,16 +226,16 @@@@ d101 1 a101 1 @@@@ -244,9 +243,20 @@@@ @ 1.8 log @Make the name of nethackdir contain version information (eg. now it's called nethackdir340). This is to ease the lives of people who wish to have multiple versions nethack installed at the same time. It is not fully automated, because doing pkgsrc magic will most likely screw things up one funny way or another. And we all know that the most important thing in this world is the nethack scorefile ... Manually bump version to 3.4.0nb1. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2002/03/22 17:26:25 pooka Exp $ d3 2 a4 2 --- sys/unix/Makefile.top.orig Fri Mar 22 17:15:28 2002 +++ sys/unix/Makefile.top Fri Mar 22 17:24:57 2002 d49 1 a49 1 -all: $(GAME) Guidebook $(VARDAT) dungeon spec_levs check-dlb d53 1 a53 1 +datastuff: Guidebook $(VARDAT) dungeon spec_levs check-dlb recover d59 1 a59 23 @@@@ -102,6 +104,9 @@@@ data: $(GAME) ( cd dat ; $(MAKE) data ) +recover: + ( cd util ; $(MAKE) recover ) + rumors: $(GAME) ( cd dat ; $(MAKE) rumors ) @@@@ -164,6 +169,11 @@@@ ( cd util ; $(MAKE) dlb ) ( cd dat ; ../util/dlb cf nhdat $(DATDLB) ) +binfiles: $(GAME) + cp src/$(GAME) $(SHELLDIR)/$(GAME)$(GTYPE) + -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME)$(GTYPE) ; \ + $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME)$(GTYPE) ) + chmod $(GAMEPERM) $(SHELLDIR)/$(GAME)$(GTYPE) dofiles: target=`sed -n \ @@@@ -173,16 +183,13 @@@@ d64 2 d73 2 a74 2 - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(GAME) ; \ - $(CHGRP) $(GAMEGRP) $(GAME) ) d76 2 d81 1 a81 1 @@@@ -218,16 +225,16 @@@@ d85 2 a86 2 -install: $(GAME) $(VARDAT) dungeon spec_levs +install-dat: $(VARDAT) dungeon spec_levs d101 1 a101 1 @@@@ -235,6 +242,14 @@@@ d105 2 a110 4 + cp util/recover $(PREFIX)/bin/recover + chown 0:0 $(PREFIX)/bin/recover + chmod 755 $(PREFIX)/bin/recover + d114 8 @ 1.8.6.1 log @Pullup nethack version 3.4.1 to netbsd-1-6-1 pkgsrc branch. Requested by Antti Kantee. > Date: Sat, 1 Mar 2003 23:12:53 +0200 (EET) > > > Module Name: pkgsrc > Committed By: pooka > Date: Sat Mar 1 21:12:53 UTC 2003 > > Modified Files: > pkgsrc/games/nethack-lib: Makefile.common distinfo > pkgsrc/games/nethack-lib/patches: patch-aa patch-ab patch-ac patch-ae > pkgsrc/games/nethack-qt: Makefile distinfo > pkgsrc/games/nethack-qt/patches: patch-aa patch-ab patch-ac patch-ae > patch-af patch-ag patch-ah patch-ai > pkgsrc/games/nethack-tty: distinfo > pkgsrc/games/nethack-x11: Makefile distinfo > pkgsrc/games/nethack-x11/patches: patch-aa patch-ab patch-ac patch-af > patch-ag patch-ah > Removed Files: > pkgsrc/games/nethack-lib/patches: patch-ah > pkgsrc/games/nethack-qt/patches: patch-aj > pkgsrc/games/nethack-x11/patches: patch-ai > > Log Message: > Hello NetHack 3.4.1 > > This is a bugfix release, no new features introduced. > > As a compensation for no new features, savegames and bones levels > from NetHack 3.4.0 should work, and that's why I kept the datafile > directory named nethackdir340. In theory you should be able to > simply update the nethack pkgs and continue playing, but I'll not > accept any death threats if it doesn't work, so please make sure > you make the appropriate backups before trying. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2002/03/25 20:32:26 pooka Exp $ d3 2 a4 2 --- sys/unix/Makefile.top.orig 2003-02-23 16:43:39.000000000 +0200 +++ sys/unix/Makefile.top 2003-03-01 22:06:45.000000000 +0200 d49 1 a49 1 -all: $(GAME) recover Guidebook $(VARDAT) dungeon spec_levs check-dlb d53 1 a53 1 +datastuff: recover Guidebook $(VARDAT) dungeon spec_levs check-dlb d59 23 a81 1 @@@@ -180,18 +182,15 @@@@ a85 2 - cp util/recover $(GAMEDIR) + cp util/recover $(PREFIX)/bin d93 2 a94 2 - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(GAME) recover ; \ - $(CHGRP) $(GAMEGRP) $(GAME) recover ) a95 2 - chmod $(EXEPERM) $(GAMEDIR)/recover + chmod $(EXEPERM) $(PREFIX)/bin/recover d99 1 a99 1 @@@@ -227,16 +226,16 @@@@ d103 2 a104 2 -install: $(GAME) recover $(VARDAT) dungeon spec_levs +install-dat: recover $(VARDAT) dungeon spec_levs d119 1 a119 1 @@@@ -244,9 +243,20 @@@@ a122 2 + -touch -c $(VARDIR)/bones* $(VARDIR)/?lock* $(VARDIR)/wizard* + -touch -c $(VARDIR)/save/* d127 4 a133 8 +binfiles: $(GAME) + cp src/$(GAME) $(SHELLDIR)/$(GAME)$(GTYPE) + -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME)$(GTYPE) ; \ + $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME)$(GTYPE) ) + chmod $(GAMEPERM) $(SHELLDIR)/$(GAME)$(GTYPE) # 'make clean' removes all the .o files, but leaves around all the executables # and compiled data files @ 1.7 log @Upgrade nethack packages to NetHack 3.4.0 Highlights of the new release: * numerous bugfixes * stamina affects ability to throw heavy things * objects merge in containers * several small refinements to race/role separation * more feedback about skill advancement from #enhance command * "autodig" option * option for starting without a pet + many more, read doc/fixes34.0 Old savegames naturally don't work, so make sure you finish old ones before upgrading the package. Also fixes the rest of pkg/15717 by Bernd Ernesti. Solution was the same as what Thomas Klausner used to fix angband (ie. simply duplicate the patches) @ text @d1 1 a1 1 $NetBSD$ d34 1 a34 1 +GAMEDIR = $(PREFIX)/share/$(GAME)dir @ 1.6 log @Install x11tiles the proper way for nethack-x11. This fixes the problem of nethack-x11 not having `pretty' graphics reported by Julian Coleman on tech-pkg @ text @d3 2 a4 2 --- sys/unix/Makefile.top.orig Tue Jul 4 03:42:05 2000 +++ sys/unix/Makefile.top Mon Nov 27 23:14:25 2000 d41 1 a41 1 +VARDATND = pet_mark.xbm rip.xpm d56 2 a57 2 Guidebook: ( cd doc ; $(MAKE) Guidebook ) d59 2 a60 2 @@@@ -99,6 +101,9 @@@@ data: d66 1 a66 1 rumors: d69 1 a69 1 @@@@ -156,6 +161,11 @@@@ d77 1 a77 1 + chmod $(GAMEPERM) $(SHELLDIR)/$(GAME)$(GTYPE) d81 1 a81 1 @@@@ -165,16 +175,13 @@@@ d99 1 a99 1 @@@@ -210,16 +217,16 @@@@ d119 1 a119 1 @@@@ -227,6 +234,14 @@@@ @ 1.5 log @Be paranoid, install the savedir mode 770 to prevent dishonest players from tampering with their savegames. @ text @d4 1 a4 1 +++ sys/unix/Makefile.top Mon Aug 21 22:48:26 2000 d29 1 a29 1 @@@@ -35,14 +34,13 @@@@ d41 1 d43 1 a43 2 -# VARDATND = x11tiles pet_mark.xbm rip.xpm +VARDATND = x11tiles pet_mark.xbm rip.xpm d45 1 a45 3 # VARDATND = nh16.img title.img GEM_RSC.RSC # for BeOS @@@@ -87,9 +85,12 @@@@ d59 1 a59 1 @@@@ -99,6 +100,9 @@@@ d69 1 a69 1 @@@@ -156,6 +160,11 @@@@ d81 1 a81 1 @@@@ -165,16 +174,13 @@@@ d99 1 a99 1 @@@@ -210,16 +216,16 @@@@ d119 1 a119 1 @@@@ -227,6 +233,14 @@@@ @ 1.4 log @Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades. This release contains numerous fixes to bugs in 3.3.0 and users are advised to upgrade. Note that old savegames and bones files won't work anymore. @ text @d4 1 a4 1 +++ sys/unix/Makefile.top Thu Aug 10 18:12:00 2000 d101 1 a101 1 @@@@ -210,11 +216,10 @@@@ d114 8 a121 1 @@@@ -227,6 +232,14 @@@@ @ 1.3 log @Don't remove scorefiles and savegame-files, instead notify the user to remove them manually if s/he doesn't want them any more. Install the recover-utility for savegame restoration. @ text @d3 3 a5 3 --- sys/unix/Makefile.top.orig Sat Dec 11 07:21:05 1999 +++ sys/unix/Makefile.top Fri Apr 14 16:44:56 2000 @@@@ -14,17 +14,16 @@@@ d11 1 d28 2 a29 2 # @@@@ -33,13 +32,13 @@@@ d34 2 a36 1 +GAMEDIR = $(PREFIX)/share/$(GAME)dir d40 1 a40 1 VARDATND = d44 4 a47 4 VARDATD = data oracles options quest.dat rumors VARDAT = $(VARDATD) $(VARDATND) @@@@ -76,9 +75,12 @@@@ d56 1 a56 1 + @@echo "Data Sets Built" d61 1 a61 1 @@@@ -88,6 +90,9 @@@@ d71 1 a71 1 @@@@ -128,7 +133,12 @@@@ a74 1 - d80 1 a80 1 + d83 1 a83 2 -e '/librarian/{' \ @@@@ -137,16 +147,13 @@@@ d101 1 a101 1 @@@@ -182,10 +189,10 @@@@ d108 8 a115 8 -mkdir $(SHELLDIR) - -rm -rf $(GAMEDIR) +# -rm -rf $(GAMEDIR) -mkdir $(GAMEDIR) $(GAMEDIR)/save -$(CHOWN) $(GAMEUID) $(GAMEDIR) $(GAMEDIR)/save $(CHGRP) $(GAMEGRP) $(GAMEDIR) $(GAMEDIR)/save @@@@ -197,6 +204,14 @@@@ -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ @ 1.2 log @Update the Nethack package to 3.3.0. nethack-qt will be non-functional until we get qt2.0 or greater into pkgsrc. @ text @d4 1 a4 1 +++ sys/unix/Makefile.top Wed Dec 22 20:18:19 1999 d53 1 a53 1 +datastuff: Guidebook $(VARDAT) dungeon spec_levs check-dlb d59 11 a69 1 @@@@ -128,7 +130,12 @@@@ d83 1 a83 1 @@@@ -137,16 +144,13 @@@@ d101 1 a101 1 @@@@ -182,7 +186,7 @@@@ d109 6 a114 2 -rm -rf $(GAMEDIR) @@@@ -197,6 +201,11 @@@@ d122 3 @ 1.1 log @nethack-lib pkg: data files for Nethack @ text @d2 8 a9 3 --- sys/unix/Makefile.top.orig Tue Dec 10 13:20:10 1996 +++ sys/unix/Makefile.top Sat Aug 8 06:10:41 1998 @@@@ -17,4 +17,4 @@@@ d13 1 a13 1 +GAMEUID = bin d16 1 a16 1 @@@@ -22,6 +22,6 @@@@ d26 5 a30 1 @@@@ -34,4 +34,4 @@@@ d32 4 a35 4 -GAMEDIR = /usr/games/lib/$(GAME)dir -SHELLDIR = /usr/games +GAMEDIR = $(LOCALBASE)/share/$(GAME)dir +SHELLDIR = $(LOCALBASE)/bin d37 2 a38 1 @@@@ -40,3 +40,3 @@@@ d43 5 a47 1 @@@@ -76,5 +76,8 @@@@ d57 5 a61 1 @@@@ -128,2 +131,7 @@@@ d63 1 d67 1 a67 1 + $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME)$(GTYPE) ) d69 7 a75 2 @@@@ -137,3 +145,2 @@@@ d79 1 a79 1 @@@@ -141,2 +148,3 @@@@ d81 1 a81 1 + -e 's;XXXPREFIXXXX;$(LOCALBASE);' \ d83 1 a83 1 @@@@ -144,5 +152,2 @@@@ d89 5 a93 1 @@@@ -182,3 +187,3 @@@@ d98 5 a102 1 @@@@ -197,2 +202,6 @@@@ d104 5 a108 4 + -mkdir -p $(LOCALBASE)/share/doc/nethack + cp doc/Guidebook $(LOCALBASE)/share/doc/nethack + chown $(GAMEUID):$(GAMEGRP) $(LOCALBASE)/share/doc/nethack/Guidebook + chmod $(FILEPERM) $(LOCALBASE)/share/doc/nethack/Guidebook d110 2 @