123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- --- sysvinit-2.93/src/Makefile.orig 2018-11-24 13:38:12.000000000 -0300
- +++ sysvinit-2.93/src/Makefile 2018-11-24 16:08:39.042099643 -0300
- @@ -24,18 +24,18 @@
- # For some known distributions we do not build all programs, otherwise we do.
- BIN =
- SBIN = init halt shutdown runlevel killall5 fstab-decode
- -USRBIN = last mesg readbootlog
- +USRBIN = readbootlog
-
- -MAN1 = last.1 lastb.1 mesg.1 readbootlog.1
- +MAN1 = readbootlog.1
- MAN5 = initscript.5 inittab.5 initctl.5
- -MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
- +MAN8 = halt.8 init.8 killall5.8 poweroff.8 reboot.8 runlevel.8
- MAN8 += shutdown.8 telinit.8 fstab-decode.8
-
- ifeq ($(DISTRO),)
- -SBIN += sulogin bootlogd
- -USRBIN += utmpdump wall
- -MAN1 += utmpdump.1 wall.1
- -MAN8 += sulogin.8 bootlogd.8
- +SBIN += bootlogd
- +#USRBIN += utmpdump wall
- +#MAN1 += utmpdump.1 wall.1
- +MAN8 += bootlogd.8
- endif
-
- ifeq ($(DISTRO),Debian)
- @@ -90,14 +90,14 @@
- endif
-
- # Additional libs for GNU libc.
- -ifneq ($(wildcard /usr/lib*/libcrypt.*),)
- - SULOGINLIBS += -lcrypt
- -endif
- +#ifneq ($(wildcard /usr/lib*/libcrypt.*),)
- +# SULOGINLIBS += -lcrypt
- +#endif
-
- # Additional libs for GNU libc / multiarch on Debian based systems.
- -ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
- - SULOGINLIBS += -lcrypt
- -endif
- +#ifneq ($(wildcard /usr/lib/*/libcrypt.*),)
- +# SULOGINLIBS += -lcrypt
- +#endif
-
- all: $(BIN) $(SBIN) $(USRBIN)
-
- @@ -197,10 +197,10 @@
- ln -sf halt $(ROOT)/sbin/reboot
- ln -sf halt $(ROOT)/sbin/poweroff
- ln -sf init $(ROOT)/sbin/telinit
- - ln -sf /sbin/killall5 $(ROOT)/bin/pidof
- - if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
- - ln -sf last $(ROOT)/usr/bin/lastb; \
- - fi
- + #ln -sf /sbin/killall5 $(ROOT)/bin/pidof
- + #if [ ! -f $(ROOT)/usr/bin/lastb ]; then \
- + # ln -sf last $(ROOT)/usr/bin/lastb; \
- + #fi
- $(INSTALL_DIR) $(ROOT)/usr/include/
- $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
- $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/
- @@ -222,8 +222,8 @@
- #
- # This part is skipped on Debian systems, the
- # debian.preinst script takes care of it.
- - @if [ ! -p /run/initctl ]; then \
- - echo "Creating /run/initctl"; \
- - rm -f /run/initctl; \
- - mknod -m 600 /run/initctl p; fi
- + #@if [ ! -p /run/initctl ]; then \
- + # echo "Creating /run/initctl"; \
- + # rm -f /run/initctl; \
- + # mknod -m 600 /run/initctl p; fi
- endif
|