1 --- sysvinit-2.94/src/Makefile.orig 2019-02-24 20:26:33.000000000 -0300
2 +++ sysvinit-2.94/src/Makefile 2019-02-28 16:13:38.917036402 -0300
4 # For some known distributions we do not build all programs, otherwise we do.
6 SBIN = init halt shutdown runlevel killall5 fstab-decode logsave
7 -USRBIN = last mesg readbootlog
10 -MAN1 = last.1 lastb.1 mesg.1 readbootlog.1
12 MAN5 = initscript.5 inittab.5 initctl.5
13 -MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
14 +MAN8 = halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8
15 MAN8 += shutdown.8 telinit.8 fstab-decode.8 logsave.8
18 -SBIN += sulogin bootlogd
19 -USRBIN += utmpdump wall
20 -MAN1 += utmpdump.1 wall.1
21 -MAN8 += sulogin.8 bootlogd.8
23 +#USRBIN += utmpdump wall
24 +#MAN1 += utmpdump.1 wall.1
28 ifeq ($(DISTRO),Debian)
32 # Additional libs for GNU libc.
33 -ifneq ($(wildcard /usr/lib*/libcrypt.*),)
34 - SULOGINLIBS += -lcrypt
36 +#ifneq ($(wildcard /usr/lib*/libcrypt.*),)
37 +# SULOGINLIBS += -lcrypt
40 # Additional libs for GNU libc / multiarch on Debian based systems.
41 -ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
42 - SULOGINLIBS += -lcrypt
44 +#ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
45 +# SULOGINLIBS += -lcrypt
48 all: $(BIN) $(SBIN) $(USRBIN)
51 ln -sf halt $(ROOT)/sbin/reboot
52 ln -sf halt $(ROOT)/sbin/poweroff
53 ln -sf init $(ROOT)/sbin/telinit
54 - ln -sf /sbin/killall5 $(ROOT)/bin/pidof
55 - if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
56 - ln -sf last $(ROOT)/usr/bin/lastb; \
58 + #ln -sf /sbin/killall5 $(ROOT)/bin/pidof
59 + #if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
60 + # ln -sf last $(ROOT)/usr/bin/lastb; \
62 $(INSTALL_DIR) $(ROOT)/usr/include/
63 $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
64 $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/
67 # This part is skipped on Debian systems, the
68 # debian.preinst script takes care of it.
69 - @if [ ! -p /run/initctl ]; then \
70 - echo "Creating /run/initctl"; \
71 - rm -f /run/initctl; \
72 - mknod -m 600 /run/initctl p; fi
73 + #@if [ ! -p /run/initctl ]; then \
74 + # echo "Creating /run/initctl"; \
75 + # rm -f /run/initctl; \
76 + # mknod -m 600 /run/initctl p; fi