Commit Graph

20 Commits

Author SHA1 Message Date
Bill Fumerola
0e5a7be513 1. Don't overwrite scorefiles if they already exist.
PR:		bin/13068
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

2. Sprinkle $FreeBSD$ around.
1999-12-10 21:13:42 +00:00
David E. O'Brien
64560c6afb Create score files root:games rather than bin:{games,bin}.
related-to-PR:	bin/8440
Submitted by:	Stephen J. Roznowski sjr@home.net
1999-06-23 04:26:37 +00:00
Bruce Evans
7a5cfeb446 Fixed CLEANFILES. 1998-12-27 15:04:33 +00:00
John Birrell
4912e23d67 Build the makedefs program static to avoid trying to use the shared
loader before it has been installed in an aout to elf transition build.
1998-08-15 07:56:07 +00:00
Bruce Evans
5325b598c0 Added a `build-tools' target for internal tools.
Honor LDFLAGS for building internal tools.

Always build intermediate object files explicitly so that binaries don't
change when they are rebuilt.

Fixed some style bugs.
1998-07-07 01:41:58 +00:00
Bruce Evans
3f9035b74a Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00
Andrey A. Chernov
d998e708c6 Make hack non-setuid back, it is possible because hackdir hierarchy
are not more readable/writeable by anyone except "games" group
1997-09-24 17:43:46 +00:00
Andrey A. Chernov
0f8da203cb Includes cleanup
Fix nonull flag detecting from termcap
Use usleep to handle nonull case
Prevent overflow on genocided getenv
Install most files not owned by games.games to prevent
data modifications
Fix path for gethdate()
1997-09-24 12:29:25 +00:00
Andrey A. Chernov
fd2fc75769 Use SUIDGAME hook now 1997-09-24 10:00:29 +00:00
Andrey A. Chernov
9c933175d6 Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted
1997-09-24 09:45:57 +00:00
Andrey A. Chernov
f878600f8a Make hack suid "games" (additionly to sgid "games" as run),
it is needed for savegames and bones, they
intendent to not be altered by user and can't be pre-created as scorefile.
Clear savegames on install: target too, not only bones
Install rumors not readable by all.
Cleanup includes a little.
1997-09-24 08:58:44 +00:00
Andrey A. Chernov
79858acfa5 Do not install 3 files writeable by all (666), change it to 664 1997-09-24 00:07:08 +00:00
Wolfram Schneider
c6234bb251 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
Jordan K. Hubbard
0a9fa9a339 Install the rumors file.
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883
1996-10-19 20:11:45 +00:00
Nate Williams
d953e28acd The Makefile assumed that builder had '.' in it's path, which is a
security hole for root.  Fix this oversight and clean up the build of
'hack.onames.h' which should be built everytime.

Tested with/without obj directories and .depend files.

Noticed by:	"Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
1996-05-15 16:54:05 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Andreas Schulz
5dd2c633c9 Add a -fwritable-strings to the CFLAGS. hack need it :-). 1994-11-26 16:15:44 +00:00
Rodney W. Grimes
0e58d91938 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
Jordan K. Hubbard
554eb505f8 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00