sysvinit/sysvinit-2.88+dsf.dif
Marcus Meissner fb512c6276 Accepting request 347468 from home:rudi_m:branches:Base:System
- cleanup package:
  * don't build binaries which are not installed
  * remove unused sources
  * remove patches (or parts of patches) which modify unused files
  * remove old build conditions (sysvinit, util-linux, mkinitrd)
  * remove unused dependencies
- this cleanup does not change the resulting binaries (except some
  package dependencies) 
- list of removed patches:
  * sysvinit-2.82-startstop.patch
  * sysvinit-2.88+dsf-blowfish.dif
  * sysvinit-2.88+dsf-crypt.patch
  * sysvinit-2.88+dsf-env.patch
  * sysvinit-2.88dsf-multiple-sulogin.patch
  * sysvinit-2.88+dsf-run.diff
  * sysvinit-2.88+dsf-xen.patch
- list of modified patches:
  * notify-pam-dead.patch
  * sysvinit-2.88+dsf.dif
  * sysvinit-2.88+dsf-sulogin.diff
  * sysvinit-2.88dsf-suse.patch

OBS-URL: https://build.opensuse.org/request/show/347468
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=214
2016-01-13 18:16:58 +00:00

58 lines
1.6 KiB
Plaintext

--- src/Makefile.orig 2015-12-04 14:01:44.134651379 +0100
+++ src/Makefile 2015-12-04 14:01:50.735728998 +0100
@@ -9,19 +9,19 @@
#
CPPFLAGS = -DUSE_PAM
-CFLAGS ?= -ansi -O2 -fomit-frame-pointer
+CFLAGS ?= $(RPM_OPT_FLAGS)
override CFLAGS += -W -Wall -D_GNU_SOURCE
STATIC =
# 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
+SBIN = killall5 fstab-decode
+USRBIN =
-MAN1 = last.1 lastb.1 mesg.1
-MAN5 = initscript.5 inittab.5
-MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8
-MAN8 += shutdown.8 telinit.8 fstab-decode.8
+MAN1 =
+MAN5 =
+MAN8 = killall5.8 pidof.8
+MAN8 += fstab-decode.8
ifeq ($(DISTRO),)
BIN += mountpoint
@@ -46,11 +46,6 @@
ifeq ($(DISTRO),SuSE)
CPPFLAGS+= -DUSE_SYSFS -DSANE_TIO -DSIGINT_ONLYONCE -DUSE_ONELINE
-BIN += mountpoint
-SBIN += sulogin
-USRBIN += utmpdump
-MAN1 += utmpdump.1 mountpoint.1
-MAN8 += sulogin.8
endif
ID = $(shell id -u)
@@ -173,13 +168,8 @@
endif
# $(INSTALL_DIR) $(ROOT)/etc/
# $(INSTALL_EXEC) initscript.sample $(ROOT)/etc/
- 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 killall5 $(ROOT)/sbin/pidof
+ ln -sf ../sbin/killall5 $(ROOT)/bin/pidof
$(INSTALL_DIR) $(ROOT)/usr/include/
$(INSTALL_DATA) initreq.h $(ROOT)/usr/include/
$(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/