Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/games
In directory vz-cvs-3.sog:/tmp/cvs-serv5424/d/d/d/d
Added Files:
roguedarwin.info tome.info tome.patch moria.info moria.patch
Log Message:
move to stable with change to modern passwd-*
--- NEW FILE: moria.info ---
Package: moria
Version: 5.5.2
Revision: 6
BuildDepends: fink (>= 0.24.12), libncurses5
Depends: libncurses5-shlibs, passwd-games
License: GPL
Maintainer: None <[email protected]>
Source: mirror:custom:source/um%v.tar.Z
SourceDirectory: umoria
Source-MD5: 04a2852864302c702e82992023d97184
CustomMirror: <<
# nam-US: ftp://ftp.greyhelm.com/pub/Games/Moria/
nam-US: http://www.piratehaven.org/~beej/moria/mirror/Games/Moria/
eur-SE: http://www.funet.fi/pub/unix/games/moria/
oce-AU: http://www.planetmirror.com/pub/roguelike/moria/
<<
PatchFile: %n.patch
PatchFile-MD5: c280bb37b18abd5277e83584abdb372f
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
cp -Rp unix/* source/
perl -ni -e 'print unless / (get[ug]id|lseek)\(\);/' source/main.c
source/unix.c source/death.c
# perl -ni -e 'print unless /void sleep\(\);/' source/main.c source/signals.c
source/io.c
# perl -ni -e 'print unless s/char \*getenv\(\);' source/io.c
<<
SetCPPFLAGS: -Wall
CompileScript: cd source && make LFLAGS="-L%p/lib"
InstallScript: <<
mkdir -p -m 0755 %i/var/games/%n/files/
cp files/{hours,news,*.hlp} %i/var/games/%n/files/
/usr/bin/install -m 0644 files/scores %i/var/games/%n/files/
mkdir -p -m 0755 %i/bin/
/usr/bin/install -m 4511 source/moria %i/bin/
mkdir -p -m 0755 %i/share/doc/%n/doc/
cp -Rp doc/* %i/share/doc/%n/doc/
mkdir -p -m 0755 %i/share/man/man6/
cp doc/moria.6 %i/share/man/man6/
<<
DocFiles: OCHANGES OOCHANGES CHANGES.~1~ CHANGES ERRORS INSTALL README
PostInstScript: <<
/usr/sbin/chown games %p/var/games/%n/files/scores
/usr/sbin/chown games %p/bin/moria
<<
ConfFiles: %p/var/games/%n/files/scores
Description: Terminal-based dungeon exploration game
DescDetail: <<
Moria is a "graphical" dungeon adventure game using textual characters
to represent the walls and floors of a dungeon and the inhabitants therein,
in the vein of "rogue", "hack", "nethack", "angband", and "t.o.m.e.".
<<
DescPort: <<
Add lots of missing #include. Don't define things that exist in the system.
<<
Homepage: http://www.piratehaven.org/~beej/moria/
DescPackaging: Previously maintained by James Gibbs.
--- NEW FILE: tome.info ---
Package: tome
Version: 2.3.5
Revision: 1
Maintainer: None <[email protected]>
Source: http://www.t-o-m-e.net/dl/src/%n-235-src.tar.bz2
Source-MD5: 751ea71973413d3b54644cf86b20758f
BuildDepends: fink (>= 0.24.12), libncurses5-dev
Depends: <<
libncurses5-shlibs (>= 5.7-20100227-2),
lua51,
passwd-games
<<
PatchFile: %n.patch
PatchFile-MD5: 36d37410d33675d4dd22a0e9141b50bc
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
<<
CompileScript: <<
#!/bin/sh -ev
cd src/
make -f makefile.std
<<
InstallScript: <<
#!/bin/sh -ev
cd src/
make -f makefile.std install DESTDIR=%d
mkdir -p %i/var/games/%n/lib/
### Do all the data files really have to be world writeable? (HN: 2010-10-08)
### Comment out for now until feedback says otherwise.
#find %i/var/games/ -exec chmod ugo+w {} \;
<<
PostInstScript: <<
chown -R games %p/var/games/%n/lib %p/bin/%n
<<
DocFiles: changes.old changes.txt credits.txt lib/help/* Copyright
Description: Troubles of Middle Earth, curses-based RPG
DescDetail: <<
Angband is a roguelike dungeon exploration game based on JRR Tolkien's
works. There are a lot of Angband variants because Angband's sources were
cleaned up by a remarkable person, Ben Harrison, which meant that as more
people could understand the code, more people made variants. ToME, expands
upon the Middle-Earth influence and is based on Zangband 2.2.0. ToME now
follows the Tolkien world more closely than any other variant!
<<
DescPort: <<
tome should be running suid games, but I couldn't figure out why tome was
dropping uid while writing to lib directories. Therefore I am temporarily
making the lib directory world-writable until I can figure out what to do
about this.
<<
License: GPL
Homepage: http://www.t-o-m-e.net/
DescPackaging: Previously maintained by James Gibbs.
--- NEW FILE: tome.patch ---
diff -Naur tome-231-src/Copyright tome-231-src-patched/Copyright
--- tome-231-src/Copyright Wed Dec 31 19:00:00 1969
+++ tome-231-src-patched/Copyright Sun Feb 27 11:25:45 2005
@@ -0,0 +1,64 @@
+Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
+
+This software may be copied and distributed for educational, research,
+and not for profit purposes provided that this copyright and statement
+are included in all such copies. Other copyrights may also apply.
+
+
+All changes made by Ben Harrison, Robert Ruehlmann, and many other Angband
+developers are also available under the GNU GENERAL PUBLIC LICENSE.
+Note that this doesn't influence the current distribution, since parts of
+the source are still only available under the old Moria/Angband license.
+Until all parts of Angband are distributed under the GPL the only valid
+license remains the original Moria/Angband license.
+
+More informations about Angband and the GPL can be found at:
+http://thangorodrim.angband.org/development/opensource.html
+
+
+
+ Copyright (c) 1989 James E. Wilson
+ Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
+
+ This software may be copied and distributed for educational, research, and
+ not for profit purposes provided that this copyright and statement are
+ included in all such copies.
+
+ Note that these copyright messages apply to an ancient version
+ of Angband, as in, from pre-2.4.frog-knows days, and thus the
+ reference to "5.0" is rather misleading...
+
+ UNIX ANGBAND Version 5.0
+
+ Original copyright message follows.
+
+ ANGBAND Version 4.8 COPYRIGHT (c) Robert Alan Koeneke
+
+ I lovingly dedicate this game to hackers and adventurers
+ everywhere...
+
+ Designer and Programmer:
+ Robert Alan Koeneke
+ University of Oklahoma
+
+ Assistant Programmer:
+ Jimmey Wayne Todd
+ University of Oklahoma
+
+ Assistant Programmer:
+ Gary D. McAdoo
+ University of Oklahoma
+
+ UNIX Port:
+ James E. Wilson
+ UC Berkeley
+ [email protected]
+ ucbvax!ucbernie!wilson
+
+ ANGBAND may be copied and modified freely as long as the above
+ credits are retained. No one who-so-ever may sell or market
+ this software in any form without the expressed written consent
+ of the author Robert Alan Koeneke.
+
+ The Tome variant has been modified by Dark God <[email protected]>,
+ and is available under the same terms as Angband.
diff -Naur tome-231-src/src/config.h tome-231-src-patched/src/config.h
--- tome-231-src/src/config.h Wed Dec 29 19:24:30 2004
+++ tome-231-src-patched/src/config.h Sun Feb 27 11:38:50 2005
@@ -90,7 +90,7 @@
/*
* OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
*/
-/* #define USE_NCURSES */
+#define USE_NCURSES
/*
@@ -386,7 +386,7 @@
* that file.
*/
#ifndef DEFAULT_PATH
-# define DEFAULT_PATH "./lib/"
+# define DEFAULT_PATH "@PREFIX@/var/games/tome/lib/"
#endif
@@ -446,7 +446,7 @@
/*
* OPTION: Person to bother if something goes wrong.
*/
-#define MAINTAINER "[email protected]"
+#define MAINTAINER "[email protected]"
/*
diff -Naur tome-231-src/src/makefile.std tome-231-src-patched/src/makefile.std
--- tome-231-src/src/makefile.std Wed Dec 29 19:24:30 2004
+++ tome-231-src-patched/src/makefile.std Sun Feb 27 11:35:29 2005
@@ -54,13 +54,13 @@
# Sysadmins of commercial Unix and/or BSD might prefer this
#LIBDIR = /usr/local/lib/tome/
# If you like the old default, use this one
-LIBDIR = ./lib/
+LIBDIR = @PREFIX@/var/games/tome/lib/
# Another example: single user installation using absolute path
#LIBDIR = /home/myloginname/lib/tome/
# Where ToME binary goes
-BINDIR = /usr/local/games
+BINDIR = @PREFIX@/bin
# Another common location
#BINDIR = /usr/local/bin
@@ -126,11 +126,9 @@
# attempt to "guess" at many of these flags based on your system.
#
COPTS = -Wall -O1 -pipe -g
-INCLUDES = -I/usr/X11R6/include
-DEFINES = -DUSE_X11 \
- -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA \
- -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK
-LIBS = -L/usr/X11R6/lib -lX11
+INCLUDES = -I@PREFIX@/include/ncurses/ -I@PREFIX@/include/
+DEFINES = -DUSE_GCU -DUSE_NCURSES
+LIBS = -lncurses -lcurses -ltermcap
##
## Variation -- Only support "main-gtk.c" (not "main-gcu.c, main-x11.c")
@@ -470,9 +470,9 @@
[ -d $(DESTDIR)$(LIBDIR) ] || mkdir -p $(DESTDIR)$(LIBDIR)
[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR)
cp -r ../lib/* $(DESTDIR)$(LIBDIR)
- chown -R $(OWNER) $(DESTDIR)$(LIBDIR)
+# chown -R $(OWNER) $(DESTDIR)$(LIBDIR)
cp -f $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
- chown $(OWNER) $(DESTDIR)$(BINDIR)/$(TARGET)
+# chown $(OWNER) $(DESTDIR)$(BINDIR)/$(TARGET)
chmod 4755 $(DESTDIR)$(BINDIR)/$(TARGET)
# old-install: $(TARGET)
--- NEW FILE: roguedarwin.info ---
Package: roguedarwin
Version: 1.0.0
Revision: 4
Description: Exploring The Dungeons of Doom
License: BSD
Homepage: http://sourceforge.net/projects/roguedarwin/
Maintainer: None <[email protected]>
Conflicts: rogue
Replaces: rogue
Source: mirror:sourceforge:%n/RogueDarwin.tar.gz
SourceRename: %n-%v.tar.gz
Source-MD5: af0ab27b7c1059d127ee1951514b83d9
SourceDirectory: RogueDarwin
PatchScript: <<
sed -i -e 's|/Users/djstein/rogue.scores|%p/var/games/rogue.scores|g'
pathnames.h
sed -i -e 's|/var/games/rogue.scores|%p/var/games/rogue.scores|g' rogue.6
<<
Depends: <<
passwd-games
<<
CompileScript: <<
rm -f rogue
make
<<
InstallScript: <<
install -g games -d %i/var/games
install -d %i/bin
install -m 2755 rogue %i/bin/rogue
install -d %i/share/man/man6
install -m 644 rogue.6 %i/share/man/man6/rogue.6
install -d %i/var/games
touch %i/var/games/rogue.scores
chmod 664 %i/var/games/rogue.scores
<<
PostInstScript: <<
/usr/bin/chgrp games %p/bin/rogue %p/var/games/rogue.scores
<<
DocFiles: CHANGES
ConfFiles: %p/var/games/rogue.scores
DescDetail: <<
The rogue is a computer fantasy with a new twist. It is CRT oriented
and the object of the game is to survive the attacks of various
monsters and get a lot of gold, rather than the puzzle solving
orientation of most computer fantasy games.
<<
--- NEW FILE: moria.patch ---
diff -Nurd -x'*~' umoria.orig/source/config.h umoria/source/config.h
--- umoria.orig/source/config.h 1994-07-21 21:47:13.000000000 -0400
+++ umoria/source/config.h 2006-02-03 12:40:27.000000000 -0500
@@ -14,7 +14,7 @@
/* Person to bother if something goes wrong. */
/* Recompile files.c and misc2.c if this changes. */
-#define WIZARD "David Grabiner"
+#define WIZARD "James Gibbs <[email protected]>"
/* The wizard password and wizard uid are no longer used. */
@@ -38,7 +38,8 @@
moria will be linked with -lbsd. */
/* If you are compiling on a SYS V version of UNIX, define this. */
-/* #define SYS_V */
+#define SYS_V
+#define unix
/* If you are compiling on a SYS III version of UNIX, define this.
The SYS_III support may not be complete. I do not know if this works. */
@@ -199,8 +200,9 @@
#else
/* This must be unix; change MORIA_LIB as appropriate. */
+/*
#define MORIA_SAV "moria.save"
-#define MORIA_LIB(xxx) "/home/math/grabiner/moria/files/xxx"
+#define MORIA_LIB(xxx) "@PREFIX@/var/games/moria/files/xxx"
#define MORIA_HOU MORIA_LIB(hours)
#define MORIA_MOR MORIA_LIB(news)
#define MORIA_TOP MORIA_LIB(scores)
@@ -210,6 +212,29 @@
#define MORIA_OWIZ_HELP MORIA_LIB(owizcmds.hlp)
#define MORIA_WELCOME MORIA_LIB(welcome.hlp)
#define MORIA_VER MORIA_LIB(version.hlp)
+*/
+
+/* This must be unix; change MORIA_LIB as appropriate. */
+#define MORIA_SAV "moria.save"
+#define MORIA_LIB(xxx) "@PREFIX@/var/games/moria/files/xxx"
+#define MORIA_HOU "@PREFIX@/var/games/moria/files/hours"
+#define MORIA_MOR "@PREFIX@/var/games/moria/files/news"
+#define MORIA_TOP "@PREFIX@/var/games/moria/files/scores"
+#define MORIA_HELP "@PREFIX@/var/games/moria/files/roglcmds.hlp"
+#define MORIA_ORIG_HELP "@PREFIX@/var/games/moria/files/origcmds.hlp"
+#define MORIA_WIZ_HELP "@PREFIX@/var/games/moria/files/rwizcmds.hlp"
+#define MORIA_OWIZ_HELP "@PREFIX@/var/games/moria/files/owizcmds.hlp"
+#define MORIA_WELCOME "@PREFIX@/var/games/moria/files/welcome.hlp"
+#define MORIA_VER "@PREFIX@/var/games/moria/files/version.hlp"
+
+/* missing headers from various files */
+#include <unistd.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#endif
#endif
diff -Nurd -x'*~' umoria.orig/source/death.c umoria/source/death.c
--- umoria.orig/source/death.c 1994-07-21 21:47:16.000000000 -0400
+++ umoria/source/death.c 2006-02-03 12:29:48.000000000 -0500
@@ -165,7 +165,7 @@
}
-#ifndef __TURBOC__
+#if 0
#if (defined(USG) || defined(atarist) || defined(HPUX)) && !defined(VMS)
#if !defined(AMIGA) && !defined(MAC) && !defined(ATARIST_TC)
diff -Nurd -x'*~' umoria.orig/source/io.c umoria/source/io.c
--- umoria.orig/source/io.c 1994-07-21 21:47:26.000000000 -0400
+++ umoria/source/io.c 2006-02-03 03:28:12.000000000 -0500
@@ -6,6 +6,11 @@
not for profit purposes provided that this copyright and statement are
included in all such copies. */
+#define termio termios
+#define TCGETA TIOCGETA
+#define TCSETA TIOCSETA
+
+#include <termios.h>
#include <stdio.h>
#ifndef STDIO_LOADED
#define STDIO_LOADED
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs