--- bsdgames-nonfree-2.17.orig/config.params +++ bsdgames-nonfree-2.17/config.params @@ -0,0 +1,43 @@ +# -*- shell-script-mode -*- +pkg=bsdgames-nonfree + +# Don't run configure interactively. +bsd_games_cfg_non_interactive=y + +# Install into here for building the package. +bsd_games_cfg_install_prefix=`pwd`/debian/$pkg + +# Do not build or install these games: +bsd_games_cfg_no_build_dirs="dm banner fortune factor" + +# Keep huntd in /usr/sbin as it was in the past. I may +# change this later. +bsd_games_cfg_sbindir=/usr/sbin + +bsd_games_cfg_docdir=/usr/share/doc/$pkg + +# Debian doesn't like cluttering up the /usr/*/games/ dirs too much, +# use a subdir. /var too. +bsd_games_cfg_usrlibdir=/usr/lib/games/$pkg +bsd_games_cfg_sharedir=/usr/share/games/$pkg +bsd_games_cfg_varlibdir=/var/games/$pkg + +## Do not do chown now, we aren't running as root. +#bsd_games_cfg_do_chown=n + +# Debian prefers symlinks for manpages. +bsd_games_cfg_use_dot_so=symlinks + +# I'll handle manpage compressing. +bsd_games_cfg_gzip_manpages=n + +# Policy says to use /usr/bin/pager by default. +bsd_games_cfg_pager=/usr/bin/pager + +# Leave off; debian/rules supplies all appropriate flags via +# bsd_games_cfg_other_{c,ld}flags +bsd_games_cfg_optimize_flags= + +# Make setgid games. +bsd_games_cfg_score_game_group=games +bsd_games_cfg_score_game_perms=2755 --- bsdgames-nonfree-2.17.orig/configure +++ bsdgames-nonfree-2.17/configure @@ -64,6 +64,7 @@ esac eval $query_var=\"\$input\" subst_vars="$subst_vars $query_var" + echo $input } ask_yn () { --- bsdgames-nonfree-2.17.orig/debian/compat +++ bsdgames-nonfree-2.17/debian/compat @@ -0,0 +1 @@ +9 --- bsdgames-nonfree-2.17.orig/debian/watch +++ bsdgames-nonfree-2.17/debian/watch @@ -0,0 +1,3 @@ +version=2 +ftp://ibiblio.org/pub/Linux/games/bsd-games-non-free-([0-9]+.*).tar.gz +# ftp://ibiblio.org/pub/Linux/Incoming/bsd-games-non-free-([0-9]+.*).tar.gz --- bsdgames-nonfree-2.17.orig/debian/postrm +++ bsdgames-nonfree-2.17/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh -e + +VARDIR=/var/games/bsdgames-nonfree +SCOREFILES="$VARDIR/rogue.scores" + +# Remove high score files on purge. +if [ "$1" = "purge" ]; then + rm -f $SCOREFILES +fi + + +#DEBHELPER# --- bsdgames-nonfree-2.17.orig/debian/menu +++ bsdgames-nonfree-2.17/debian/menu @@ -0,0 +1,2 @@ +?package(bsdgames-nonfree):needs="text" section="Games/Adventure" \ + title="Rogue" command="/usr/games/rogue" --- bsdgames-nonfree-2.17.orig/debian/changelog +++ bsdgames-nonfree-2.17/debian/changelog @@ -0,0 +1,361 @@ +bsdgames-nonfree (2.17-5) unstable; urgency=high + + * rogue/init.c: Give the initial bow a damage value of 1d1 for + consistency with object.c; 1d2 was presumably a typo. + * rogue/{object.c,rogue.h,save.c}: factor an assign_damage function out + of gr_weapon, and call it from read_pack because saved values (raw + pointers to string constants) may be invalid. (The setup was always + fragile, and broke altogether when 2.17-4 made the executable + position-independent and subject to loading at randomized addresses.) + (Closes: #695262.) + + -- Aaron M. Ucko Thu, 06 Dec 2012 21:53:01 -0500 + +bsdgames-nonfree (2.17-4) unstable; urgency=low + + * config.params: defer to debian/rules for build flags (which weren't + set quite as intended in noopt mode anyway, per a longstanding typo). + * debian/compat: Advance to Debhelper 9. + * debian/control: + - Build-Depends: debhelper (>= 9), implying a new enough dpkg-dev. + - Depends: ${misc:Depends}, which debhelper could theoretically populate. + - Vcs-*: point to (new) personal repository on anonscm.debian.org. + - Retire conflict against ancient (pre-split) bsdgames. + - Standards-Version: 3.9.3 (now compliant). + * debian/copyright: clean up and convert to DEP5 format 1.0. + * debian/rules: + - Minimize further by switching to override_dh_* style. + - Pass in dpkg's recommended flags, including full hardening flags. + * (debian/).gitignore: ignore generated files. + + -- Aaron M. Ucko Wed, 27 Jun 2012 21:43:37 -0400 + +bsdgames-nonfree (2.17-3) unstable; urgency=low + + * Migrate from CDBS to Debhelper 7. + * Explicitly note distinction between main and non-free in debian/copyright. + * Declare compliance with Policy 3.8.0. + + -- Aaron M. Ucko Sat, 14 Jun 2008 18:10:04 -0400 + +bsdgames-nonfree (2.17-2) unstable; urgency=low + + * Convert to cdbs and debhelper 6. + * Note compliance with current policy (3.7.3). + * Set XS-Autobuild: yes, as the license isn't too severely non-free. + + -- Aaron M. Ucko Sat, 29 Mar 2008 19:51:53 -0400 + +bsdgames-nonfree (2.17-1) unstable; urgency=low + + * New upstream release. + * debian/menu: Properly double-quote command. + * debian/watch: Added, to help track future upstream versions. + + -- Aaron M. Ucko Fri, 18 Feb 2005 22:09:47 -0500 + +bsdgames-nonfree (2.16-1) unstable; urgency=low + + * New upstream release. + * debian/copyright: Update infrastructure copyright to cover 2004. + * debian/docs: drop rogue.me (now covered by upstream build system). + + -- Aaron M. Ucko Fri, 20 Feb 2004 23:24:21 -0500 + +bsdgames-nonfree (2.15-2) unstable; urgency=low + + * debian/postinst: Use POSIX-blessed chown syntax. (Closes: #229199) + * debian/rules: Tell vrms (and other interested parties) that the + license forbids commercial use. + + -- Aaron M. Ucko Fri, 23 Jan 2004 19:16:31 -0500 + +bsdgames-nonfree (2.15-1) unstable; urgency=low + + * New upstream release. + * debian/control: standards-version 3.6.1 (no changes needed). + * debian/copyright: rework once more; should now contain all needed info. + + -- Aaron M. Ucko Mon, 22 Dec 2003 22:20:30 -0500 + +bsdgames-nonfree (2.14-2) unstable; urgency=low + + * config.params: + - Make setgid games again (supposedly safe now...) + - Support "noopt" in DEB_BUILD_OPTIONS. + - debian/tmp -> debian/bsdgames-nonfree. + - Miscellaneous typo fixes. + * configure: Revert changes to defaults (config.params should suffice). + * debian/changelog: Removed obsolete emacs settings. + * debian/compat: Created (specifying version 4). + * debian/control: + - New maintainer, with Javier's blessing; my thanks to Joey H. and him + for maintaining the package thus far. + - Bumped standards version and build dependency on debhelper. + - Rewrote description to reflect single-game situation. + * debian/copyright: + - Updated version number in file name. + - Cited recent maintainers. + - Generally cleaned up a bit. + * debian/docs: New (split out from debian/rules). + * debian/postinst: Ensure $VARDIR is actually executable. + * debian/rules: + - Modernized (various cleanups). + - Exclude /usr/games/rogue from call to dh_fixperms. + + -- Aaron M. Ucko Wed, 9 Apr 2003 22:20:11 -0400 + +bsdgames-nonfree (2.14-1) unstable; urgency=high + + * New upstream version: + - fixes buffer overflow in rogue (priviledge escalation to + 'games' since it's setgid) + - removes hack (Closes: #188279) + * Note: I'm hurrying this upload due to the security fix for rogue + (see SECURITY). However, with the security fix changes 'rogue' will + no longer save on empty files. Also, there is no transition done from + previous hack save files (which should now be handled by 'bsdgames' + which now provides 'hack') + + -- Javier Fernandez-Sanguino Pen~a Wed, 9 Apr 2003 10:10:27 +0200 + +bsdgames-nonfree (2.12-5) unstable; urgency=low + + * Added save/ dir for hack with appropiate permissions (Closes: #174758) + * Fixed call to GNUmakefile (it did not clean properly the sources due to + GNUMakefile being called instead) + * Fixed the debian/rules since it was cleaning files in + /var/games/bsdgames-nonfree/hack that were not zero-byte (and might be + used by the game) + + -- Javier Fernandez-Sanguino Pen~a Wed, 1 Jan 2003 15:06:13 +0100 + +bsdgames-nonfree (2.12-4) unstable; urgency=low + + * Added Build-Depends (Closes: #174031) + * Removed binary files from package when cleaning + + -- Javier Fernandez-Sanguino Pen~a Mon, 30 Dec 2002 18:28:48 +0100 + +bsdgames-nonfree (2.12-3) unstable; urgency=low + + * New maintainer (so it does not disappear from Debian) (Closes: #68086) + + -- Javier Fernandez-Sanguino Pen~a Mon, 15 Jan 2001 19:33:45 +0100 + +bsdgames-nonfree (2.12-2) unstable; urgency=low + + * Much gnashing of teeth. + + -- Joey Hess Sun, 5 Nov 2000 16:33:10 -0800 + +bsdgames-nonfree (2.12-1) unstable; urgency=low + + * New upstream release. No, I'm not maintianing the package anymore, + Debian-QA is - I just happen to be in Debian-QA. (Yeah, Joey.. keep + repeating that and maybe someone will believe you.) + + -- Joey Hess Tue, 26 Sep 2000 09:38:44 -0700 + +bsdgames-nonfree (2.11-1) unstable; urgency=low + + * New upstream release. No, I'm not maintianing the package anymore, + Debian-QA is - I just happen to be in Debian-QA. (Yeah, Joey.. keep + repeating that and maybe someone will believe you.) + * Now includes hack, a precursor to nethack. + + -- Joey Hess Wed, 19 Apr 2000 14:36:52 -0700 + +bsdgames-nonfree (2.8-1) unstable; urgency=low + + * New upstream release. No, I'm not maintianing the package anymore, + Debian-QA is - I just happen to be in Debian-QA. + * Updated download location. + * FHS. + + -- Joey Hess Thu, 4 Nov 1999 14:31:06 -0800 + +bsdgames-nonfree (2.7-1) unstable; urgency=low + + * New upstream release. No, I'm not maintianing the package anymore, + Debian-QA is - I just happen to be in Debian-QA. + + -- Joey Hess Wed, 7 Apr 1999 00:00:28 -0700 + +bsdgames-nonfree (2.6-2) unstable; urgency=low + + * Orphaned the package, I'm not maining non-free things anymore. + + -- Joey Hess Thu, 18 Mar 1999 14:49:50 -0800 + +bsdgames-nonfree (2.6-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Sun, 20 Dec 1998 01:26:45 -0500 + +bsdgames-nonfree (2.5-2) unstable; urgency=low + + * Rebuilt with newest debhelper to change how suid binaries are registered. + + -- Joey Hess Tue, 27 Oct 1998 20:04:34 -0800 + +bsdgames-nonfree (2.5-1) unstable; urgency=low + + * New upstream release. Boggle was moved to bsdgames, only rogue remains. + + -- Joey Hess Thu, 24 Sep 1998 17:17:43 -0700 + +bsdgames-nonfree (2.4-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Sat, 5 Sep 1998 15:44:05 -0700 + +bsdgames-nonfree (2.3-3) unstable; urgency=low + + * Make NEWS be a symlink to the upstream changelog, so the file name is + preserved. + + -- Joey Hess Thu, 20 Aug 1998 15:57:29 -0700 + +bsdgames-nonfree (2.3-2) unstable; urgency=low + + * Fixed == bashism. + + -- Joey Hess Thu, 20 Aug 1998 00:44:44 -0700 + +bsdgames-nonfree (2.3-1) unstable; urgency=low + + * New upstream release, removing Paranoia because of copyright problems + (ie, no copyright), and with security fixes. + * Re-enabled sgid bit of rogue becuase of above security fixes. + * Reworked how configure script is run, following the author's new docs in + PACKAGING. + * No longer have to include NEWS in my diff, it's available from upstream, + along with some more docs. + + -- Joey Hess Wed, 19 Aug 1998 23:07:54 -0700 + +bsdgames-nonfree (2.1-5) unstable; urgency=low + + * Fixed rogue segfault on startup. Fixed by a simple recompile, + but I have no idea how. + + -- Joey Hess Wed, 22 Jul 1998 20:31:37 -0700 + +bsdgames-nonfree (2.1-4) unstable; urgency=low + + * Copied NEWS over from bsdgames. It's really the same upstream changelog + for both packages. This lets me install a proper changelog.gz, to shut + lintian up. I've asked the author to include NEWS in the package in the + future. + + -- Joey Hess Fri, 10 Jul 1998 15:30:15 -0700 + +bsdgames-nonfree (2.1-3) frozen unstable; urgency=medium + + * Reluctantly removed all sgid bits from rogue, becuase there are probably + security problems in it. See the TODO, which has a security audit as it's + first priority, but explains the difficulties of one. + * Added a README.Debian exaplaining this in greater detail. + + -- Joey Hess Thu, 18 Jun 1998 10:54:33 -0700 + +bsdgames-nonfree (2.1-2) frozen unstable; urgency=low + + * Fixed rogue segfault on startup (#22619). Fixed by a simple recompile, + but I have no idea how. + + -- Joey Hess Sat, 23 May 1998 07:02:53 -0400 + +bsdgames-nonfree (2.1-1) frozen unstable; urgency=low + + * New upstream bugfix release: + - man page for paranoia. + - changes to build process that don't affect us. + - bugfixes. + + -- Joey Hess Mon, 30 Mar 1998 12:32:23 -0800 + +bsdgames-nonfree (2.0-5) unstable; urgency=low + + * Made score files not be conffiles. + + -- Joey Hess Tue, 10 Mar 1998 21:11:23 -0800 + +bsdgames-nonfree (2.0-4) unstable; urgency=low + + * Added a man page for paranoia. + * Don't include paranoia's README anymore, as all info in it is in the new + man page as well. + * Section non-free/games. + + -- Joey Hess Wed, 18 Feb 1998 17:51:50 -0800 + +bsdgames-nonfree (2.0-3) unstable; urgency=low + + * update standards-version. + + -- Joey Hess Mon, 9 Feb 1998 15:52:24 -0800 + +bsdgames-nonfree (2.0-2) unstable; urgency=low + + * Applied patch from author to fix screen refresh bug after displaying + help. + * Fixed menu entry for bog. + + -- Joey Hess Mon, 29 Dec 1997 16:57:34 -0500 + +bsdgames-nonfree (2.0-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Fri, 26 Dec 1997 13:15:45 -0500 + +bsdgames-nonfree (1.5-4) unstable; urgency=low + + * Modified mkdict to exit with return code of zero. This was keeping it + from builing properly on the sparc. + * Use debhelper. + + -- Joey Hess Thu, 11 Dec 1997 00:47:57 -0500 + +bsdgames-nonfree (1.5-3) unstable; urgency=low + + * Fixed postinst to make sure rogue score file is rw by user games. + * Routine update of debian/rules: + Fixed binary-indep target. + + -- Joey Hess Fri, 12 Sep 1997 21:17:54 -0400 + +bsdgames-nonfree (1.5-2) unstable; urgency=low + + * Added rogue info to copyright file. + + -- Joey Hess Tue, 2 Sep 1997 13:29:50 -0400 + +bsdgames-nonfree (1.5-1) unstable; urgency=low + + * New upstream release - now with rogue. + * Libc6 at last. + * Fakeroot fixes. + * Pristine upstream source. + * Changed how the configure script is run during building, new method + is more robust. + + -- Joey Hess Mon, 1 Sep 1997 22:41:33 -0400 + +bsdgames-nonfree (1.4-1) unstable; urgency=low + + * New upstream release -- upstream source now separates these nonfree + games out of the main bsdgames source tree. + * Converted menufile to menu-1 format. + + -- Joey Hess Sat, 22 Mar 1997 01:08:25 -0500 + +bsdgames-nonfree (1.3-1) unstable; urgency=low + + * First release. + + -- Joey Hess Sat, 22 Mar 1997 01:08:25 -0500 --- bsdgames-nonfree-2.17.orig/debian/rules +++ bsdgames-nonfree-2.17/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f +pkg = bsdgames-nonfree +DEB_DESTDIR = $(CURDIR)/debian/$(pkg) + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +CFLAGS := $(shell dpkg-buildflags --get CFLAGS) \ + $(shell dpkg-buildflags --get CPPFLAGS) +LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) + +%: + dh $@ + +override_dh_auto_clean: + dh_auto_clean -- -f GNUmakefile distclean + +override_dh_auto_configure: + bsd_games_cfg_other_cflags="$(CFLAGS)" \ + bsd_games_cfg_other_ldflags="$(LDFLAGS)" \ + ./configure + +override_dh_auto_install: + dh_auto_install -- INSTALL_PREFIX=$(DEB_DESTDIR) + -rm -f $(DEB_DESTDIR)/var/games/$(pkg)/rogue.scores + mkdir -p $(DEB_DESTDIR)/usr/share/vrms/reasons + echo "$(pkg): No commercial use" \ + > $(DEB_DESTDIR)/usr/share/vrms/reasons/$(pkg) + cp rogue/CHANGES $(DEB_DESTDIR)/usr/share/doc/$(pkg)/CHANGES.rogue + +override_dh_installchangelogs: + dh_installchangelogs -k NEWS + +override_dh_fixperms: + dh_fixperms -X/usr/games/rogue --- bsdgames-nonfree-2.17.orig/debian/control +++ bsdgames-nonfree-2.17/debian/control @@ -0,0 +1,20 @@ +Source: bsdgames-nonfree +Section: non-free/games +Priority: optional +Maintainer: Aaron M. Ucko +Build-Depends: debhelper (>= 9), libncurses5-dev +Standards-Version: 3.9.3 +Vcs-Git: git://anonscm.debian.org/users/ucko/bsdgames-nonfree.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/ucko/bsdgames-nonfree.git +XS-Autobuild: yes + +Package: bsdgames-nonfree +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: bsdgames +Description: rogue, the classic dungeon exploration game + This is a text-based game common on (traditional) BSD systems. It may + not be distributed freely, so it had to be broken off from the main + bsdgames package and placed in non-free. + . + This package now contains only rogue, the classic dungeon exploration game. --- bsdgames-nonfree-2.17.orig/debian/copyright +++ bsdgames-nonfree-2.17/debian/copyright @@ -0,0 +1,57 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: bsd-games-non-free +Upstream-Contact: jsm@polyomino.org.uk +Source: ftp://ibiblio.org:/pub/Linux/games/ +Disclaimer: This package isn't part of Debian proper because rogue's + license forbids commercial use. + +Files: * +Copyright: Copyright 1997-2005 Joseph Samuel Myers +License: BSD + +Files: .gitignore config.params debian/* +Copyright: Copyright 1997-2000 Joey Hess , + 2001-2003 Javier Fernandez-Sanguino Peña , + 2003-2012 Aaron M. Ucko +License: BSD + +Files: rogue/* +Copyright: Copyright 1986, 1988, 1990, 1993 The Regents of the + University of California +Comment: Primary upstream authors: Timothy Stoehr, Michael C. Toy, + Ken Arnold, and Glenn Wichman. +License: other + BSD with the following additional (non-free) restrictions: + . + 1.) No portion of this notice shall be removed. + 2.) Credit shall not be taken for the creation of this source. + 3.) This code is not to be traded, sold, or used for personal + gain or profit. + +License: BSD + Copyright (c) 1980, 1982, 1983, 1985-1994 + The Regents of the University of California. All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. --- bsdgames-nonfree-2.17.orig/debian/postinst +++ bsdgames-nonfree-2.17/debian/postinst @@ -0,0 +1,20 @@ +#!/bin/sh -e + +VARDIR=/var/games/bsdgames-nonfree +SCOREFILES="$VARDIR/rogue.scores" +OLDDIR=/var/lib/games/bsdgames-nonfree + +# See if the files exist in an old pre-FHS directory and move them if so. +if [ -d $OLDDIR ]; then + if [ -e $OLDDIR/rogue.scores ]; then + mv -f $OLDDIR/rogue.scores $VARDIR/rogue.scores + fi +fi + +# Older versions may have set bad permissions +chmod a+x $VARDIR +touch $SCOREFILES +chown root:games $SCOREFILES +chmod 664 $SCOREFILES + +#DEBHELPER# --- bsdgames-nonfree-2.17.orig/debian/docs +++ bsdgames-nonfree-2.17/debian/docs @@ -0,0 +1,9 @@ +AUTHORS +BUGS +ChangeLog +ChangeLog.0 +README.non-free +SECURITY +THANKS +TODO +YEAR2000 --- bsdgames-nonfree-2.17.orig/rogue/rogue.h +++ bsdgames-nonfree-2.17/rogue/rogue.h @@ -464,6 +464,7 @@ void add_traps(void); void aggravate(void); void aim_monster(object *); +void assign_damage(object *); void bounce(short, short, short, short, short); void byebye(int); void c_object_for_wizard(void); --- bsdgames-nonfree-2.17.orig/rogue/object.c +++ bsdgames-nonfree-2.17/rogue/object.c @@ -533,6 +533,13 @@ } } } + assign_damage(obj); +} + +void +assign_damage(obj) + object *obj; +{ switch(obj->which_kind) { case BOW: case DART: @@ -556,6 +563,9 @@ case TWO_HANDED_SWORD: obj->damage = "4d5"; break; + default: + obj->damage = "1d1"; + break; } } --- bsdgames-nonfree-2.17.orig/rogue/save.c +++ bsdgames-nonfree-2.17/rogue/save.c @@ -263,6 +263,10 @@ } new_obj = alloc_object(); *new_obj = read_obj; + /* new_obj->damage is a pointer, and not guaranteed to be valid + * across runs with slightly different binaries, or even the + * same binary if built as a position-independent executable. */ + assign_damage(new_obj); if (is_rogue) { if (new_obj->in_use_flags & BEING_WORN) { do_wear(new_obj); --- bsdgames-nonfree-2.17.orig/rogue/init.c +++ bsdgames-nonfree-2.17/rogue/init.c @@ -168,7 +168,7 @@ obj = alloc_object(); obj->what_is = WEAPON; obj->which_kind = BOW; - obj->damage = "1d2"; + obj->damage = "1d1"; /* per object.c; was 1d2 */ obj->hit_enchant = 1; obj->d_enchant = 0; obj->identified = 1;