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
29f700bbe6
Use include for malloc declaration
1997-09-24 21:09:17 +00:00
Andrey A. Chernov
81c9c0b61a
Oops, to many zeroes was in usleep arg
1997-09-24 20:19:59 +00:00
Andrey A. Chernov
1e78fbb86a
Remove setuid, uneeded now
1997-09-24 18:03:26 +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
6ddb7ba55a
Simplify revoke
1997-09-24 08:09:04 +00:00
Andrey A. Chernov
3320fc4786
Use srandomdev
1997-09-24 05:18:42 +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
Eivind Eklund
34a13bf4cb
Change games from setuid games to setgid games.
...
Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org )
1997-09-01 00:34:51 +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
Andrey A. Chernov
f0c8f81c61
Add missing entries to speedtable
1995-08-04 09:42: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
Bruce Evans
278e874772
Remove bogus references to /usr/ucb.
1995-06-26 06:40:23 +00:00
Rodney W. Grimes
010f5413b5
Remove trailing whitespace.
1995-05-30 03:37:36 +00:00
Rodney W. Grimes
e6ba2cd30e
Fix nested comments for -Wcomment warnings.
1995-05-09 13:33:06 +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