head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.7.0.64 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.62 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.60 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.58 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.56 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.54 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.52 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.50 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.48 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.46 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.44 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.42 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.40 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.38 pkgsrc-2008Q1:1.7.0.36 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.34 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.32 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.30 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.28 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-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.8 date 2011.06.01.11.20.29; author wiz; state dead; branches; next 1.7; 1.7 date 2003.09.02.00.30.55; author pooka; state Exp; branches; next 1.6; 1.6 date 2003.03.01.21.12.51; author pooka; state Exp; branches; next 1.5; 1.5 date 2002.03.25.20.32.27; author pooka; state Exp; branches 1.5.6.1; next 1.4; 1.4 date 2002.03.22.17.26.26; author pooka; state Exp; branches; next 1.3; 1.3 date 2000.08.10.17.50.12; author pooka; state dead; branches; next 1.2; 1.2 date 99.12.24.22.30.03; author pooka; state Exp; branches; next 1.1; 1.1 date 98.08.27.13.06.51; author garbled; state Exp; branches; next ; 1.5.6.1 date 2003.03.05.14.10.56; author agc; state Exp; branches; next ; desc @@ 1.8 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @$NetBSD: patch-ab,v 1.7 2003/09/02 00:30:55 pooka Exp $ --- 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 @@@@ -14,18 +14,17 @@@@ # 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 -FILEPERM = 0644 +GAMEPERM = 2755 +FILEPERM = 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 +34,12 @@@@ # 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 +GAMEDIR = $(PREFIX)/share/$(GAME)dir340 VARDIR = $(GAMEDIR) -SHELLDIR = $(PREFIX)/games +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 @@@@ -87,9 +86,12 @@@@ $(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 @@@@ -183,18 +185,15 @@@@ -e '}' \ -e '$$s/.*/nodlb/p' < dat/options` ; \ $(MAKE) dofiles-$${target-nodlb} - cp src/$(GAME) $(GAMEDIR) - cp util/recover $(GAMEDIR) + cp util/recover $(PREFIX)/bin -rm -f $(SHELLDIR)/$(GAME) sed -e 's;/usr/games/lib/nethackdir;$(GAMEDIR);' \ -e 's;HACKDIR/nethack;HACKDIR/$(GAME);' \ + -e 's;XXXPREFIXXXX;$(PREFIX);' \ < sys/unix/nethack.sh \ > $(SHELLDIR)/$(GAME) # set up their permissions - -( cd $(GAMEDIR) ; $(CHOWN) $(GAMEUID) $(GAME) recover ; \ - $(CHGRP) $(GAMEGRP) $(GAME) recover ) - chmod $(GAMEPERM) $(GAMEDIR)/$(GAME) - chmod $(EXEPERM) $(GAMEDIR)/recover + chmod $(EXEPERM) $(PREFIX)/bin/recover -$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME) $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME) chmod $(EXEPERM) $(SHELLDIR)/$(GAME) @@@@ -230,16 +229,16 @@@@ # 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 -rmdir ./-p -$(CHOWN) $(GAMEUID) $(GAMEDIR) $(VARDIR) $(VARDIR)/save $(CHGRP) $(GAMEGRP) $(GAMEDIR) $(VARDIR) $(VARDIR)/save - chmod $(DIRPERM) $(GAMEDIR) $(VARDIR) $(VARDIR)/save + chmod $(DIRPERM) $(GAMEDIR) $(VARDIR) + chmod 770 $(VARDIR)/save # set up the game files ( $(MAKE) dofiles ) # set up some additional files @@@@ -247,9 +246,20 @@@@ -( cd $(VARDIR) ; $(CHOWN) $(GAMEUID) perm record logfile ; \ $(CHGRP) $(GAMEGRP) perm record logfile ; \ 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 # and a reminder @@echo You may also want to reinstall the man pages via the doc Makefile. +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 @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 @d1 1 a1 1 $NetBSD$ @ 1.6 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.5 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.4 2002/03/22 17:26:26 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.5.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.5 2002/03/25 20:32:27 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.4 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.3 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 @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 1999/12/24 22:30:03 pooka Exp $ d3 130 a132 8 --- sys/unix/Makefile.dat.orig Sat Dec 11 07:21:05 1999 +++ sys/unix/Makefile.dat Wed Dec 22 22:09:13 1999 @@@@ -15,7 +15,7 @@@@ (cd ../util ; make lev_comp) ../util/tile2x11: - (cd ../util ; make tile2x11) + (cd ../util ; gmake tile2x11) a133 2 x11tiles: ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt \ ../win/share/other.txt @ 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 @d1 1 a1 1 $NetBSD$ @ 1.1 log @nethack-qt: the QT-Enhanced X11 version of NetHack @ text @d2 6 a7 3 --- sys/unix/Makefile.dat.orig Sat Aug 8 06:57:06 1998 +++ sys/unix/Makefile.dat Sat Aug 8 06:57:14 1998 @@@@ -17,3 +17,3 @@@@ d12 2 @