Commit Graph

33 Commits

Author SHA1 Message Date
jb
72446d9a3a 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
imp
c9bfb10fa5 o Fix Y2K buffer overflow.
o Fix zero filling bug in all years % 100 < 10.
1998-07-26 16:00:16 +00:00
bde
78764e3ba6 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
jb
6f0053bd9d Add #include string.h to get prototypes. 1998-05-09 11:06:46 +00:00
jb
6ad82c9881 Remove #define NULL because stdio.h does that. 1998-05-09 10:03:01 +00:00
jb
2316af12a3 Add #include string.h to get prototypes. 1998-05-09 09:54:17 +00:00
charnier
e28dd83911 Use Id instead of Header. 1998-04-01 06:13:47 +00:00
bde
8609d653b2 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
ache
b78f1ac8f7 Use include for malloc declaration 1997-09-24 21:09:17 +00:00
ache
5449271204 Oops, to many zeroes was in usleep arg 1997-09-24 20:19:59 +00:00
ache
6dbfe3ba60 Remove setuid, uneeded now 1997-09-24 18:03:26 +00:00
ache
96676824f3 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
ache
60b87f45b8 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
ache
73e522e820 Use SUIDGAME hook now 1997-09-24 10:00:29 +00:00
ache
115d7275ba Since hack suid now, add -fschg to install flags to prevent this
binary to be overwritted
1997-09-24 09:45:57 +00:00
ache
c332edcb08 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
ache
8ac875c94c Simplify revoke 1997-09-24 08:09:04 +00:00
ache
7798c29559 Use srandomdev 1997-09-24 05:18:42 +00:00
ache
fa23c77f0f Do not install 3 files writeable by all (666), change it to 664 1997-09-24 00:07:08 +00:00
eivind
d8e95d8c1a 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
wosch
facc59a057 444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR}
/usr/games -> ${BINDIR}
1997-02-09 02:52:41 +00:00
jkh
ac2b3f6ae6 Install the rumors file.
Submitted-By: koshy@india.hp.com
Closes-PR#: 1883
1996-10-19 20:11:45 +00:00
nate
1b38972b73 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
ache
5cfe85c0a4 Add missing entries to speedtable 1995-08-04 09:42:05 +00:00
bde
f5284ed86d 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
bde
8d95a8ac3e Remove bogus references to /usr/ucb. 1995-06-26 06:40:23 +00:00
rgrimes
30ef9631c5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
rgrimes
472d2ef3ed Fix nested comments for -Wcomment warnings. 1995-05-09 13:33:06 +00:00
ats
b15a8bf05a Add a -fwritable-strings to the CFLAGS. hack need it :-). 1994-11-26 16:15:44 +00:00
rgrimes
2b975cb8d0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:32:28 +00:00
jkh
e077351fdc This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.
1994-09-04 04:03:31 +00:00
jkh
057afceb86 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
jkh
d8a265c292 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