1 diff -Nur sysvinit-2.76/src/Makefile sysvinit-2.76.pld/src/Makefile
2 --- sysvinit-2.76/src/Makefile Wed Sep 2 14:04:07 1998
3 +++ sysvinit-2.76.pld/src/Makefile Sun May 23 15:39:08 1999
5 # Version: @(#)Makefile 2.75 30-Jul-1998 miquels@cistron.nl
9 -CFLAGS = -Wall -O2 -D_GNU_SOURCE
12 +CFLAGS = -Wall $(OPTIMIZE) -D_GNU_SOURCE
14 #CFLAGS = -Wall -g -pg -D_GNU_SOURCE
17 runlevel shutdown $(ROOT)/sbin
18 # These are not installed by default
20 - $(INSTALL) -m 555 utmpdump wall $(ROOT)/usr/bin
21 + $(INSTALL) -m 755 wall $(ROOT)/usr/bin
22 + $(INSTALL) -m 755 utmpdump $(ROOT)/usr/bin/utmpx-dump
24 # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc
25 $(INSTALL) -m 755 mesg last $(ROOT)/usr/bin
27 cd $(ROOT)/sbin; ln -sf halt poweroff; chown $(BIN_COMBO) poweroff
28 cd $(ROOT)/sbin; ln -sf init telinit; chown $(BIN_COMBO) telinit
29 cd $(ROOT)/bin; ln -sf ../sbin/killall5 pidof; chown $(BIN_COMBO) pidof
30 - cd $(ROOT)/usr/bin; ln -sf last lastb; chown $(BIN_COMBO) lastb
31 + cd $(ROOT)/usr/bin; ln -sf last lastb; chown $(BIN_COMBO) lastb
32 $(INSTALL) -m 644 initreq.h $(ROOT)/usr/include
33 - $(INSTALL) -m 644 ../man/*.8 $(ROOT)/usr/man/man8
34 - $(INSTALL) -m 644 ../man/*.5 $(ROOT)/usr/man/man5
35 + $(INSTALL) -m 644 ../man/*.8 $(ROOT)/usr/share/man/man8
36 + $(INSTALL) -m 644 ../man/*.5 $(ROOT)/usr/share/man/man5
38 - $(INSTALL) -m 644 ../man/wall.1 $(ROOT)/usr/man/man1
39 + $(INSTALL) -m 644 ../man/wall.1 $(ROOT)/usr/share/man/man1
41 - $(INSTALL) -m 644 ../man/last.1 ../man/lastb.1 ../man/mesg.1 \
42 - $(ROOT)/usr/man/man1
43 + $(INSTALL) -m 644 ../man/last.1 ../man/mesg.1 \
44 + $(ROOT)/usr/share/man/man1
46 # This part is skipped on debian systems, the
47 # debian.preinst script takes care of it.
48 diff -Nur sysvinit-2.76/src/last.c sysvinit-2.76.pld/src/last.c
49 --- sysvinit-2.76/src/last.c Fri May 29 15:02:58 1998
50 +++ sysvinit-2.76.pld/src/last.c Sun May 23 15:35:34 1999
52 * Try to be smart about the location of the BTMP file
55 -#define BTMP_FILE getbtmp()
56 +#define BTMP_FILE "/var/log/btmpx"
59 static char btmp[128];
60 diff -Nur sysvinit-2.76/src/paths.h sysvinit-2.76.pld/src/paths.h
61 --- sysvinit-2.76/src/paths.h Wed Nov 26 15:23:12 1997
62 +++ sysvinit-2.76.pld/src/paths.h Sun May 23 15:23:48 1999
64 #define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */
65 #define IOSAVE "/etc/ioctl.save" /* termios settings for SU */
66 #define SHELL "/bin/sh" /* Default shell */
67 -#define INITSCRIPT "/etc/initscript" /* Initscript. */
68 +#define INITSCRIPT "/etc/sysconfig/initscript" /* Initscript. */
70 #define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */
71 #define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */
72 diff -Nur sysvinit-2.76/src/utmpdump.c sysvinit-2.76.pld/src/utmpdump.c
73 --- sysvinit-2.76/src/utmpdump.c Tue Aug 13 11:57:12 1996
74 +++ sysvinit-2.76.pld/src/utmpdump.c Sun May 23 15:23:48 1999
77 for(f = 1; f < argc; f++) {
78 if (strcmp(argv[f], "-") == 0) {
79 - printf("Utmp dump of stdin\n");
80 + printf("Utmpx dump of stdin\n");
82 } else if ((fp = fopen(argv[f], "r")) != NULL) {
83 - printf("Utmp dump of %s\n", argv[f]);
84 + printf("Utmpx dump of %s\n", argv[f]);