diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-03 22:54:45 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-03 22:55:07 -0500 |
commit | e94d026c441d58415783436819e83a8143578077 (patch) | |
tree | b4fe4e0702f46e70bfd384a54c1bb8bc43fb6eba /user/sysvinit | |
parent | 19c7db2aa07533dc2220c98e3a944c965df92016 (diff) | |
download | packages-e94d026c441d58415783436819e83a8143578077.tar.gz packages-e94d026c441d58415783436819e83a8143578077.tar.bz2 packages-e94d026c441d58415783436819e83a8143578077.tar.xz packages-e94d026c441d58415783436819e83a8143578077.zip |
system/sysvinit: move to system/, utmpx it up
Diffstat (limited to 'user/sysvinit')
-rw-r--r-- | user/sysvinit/APKBUILD | 54 | ||||
-rw-r--r-- | user/sysvinit/inittab-2.88 | 60 | ||||
-rw-r--r-- | user/sysvinit/sysvinit-2.88-posix-header.patch | 10 | ||||
-rw-r--r-- | user/sysvinit/sysvinit.post-upgrade | 4 |
4 files changed, 0 insertions, 128 deletions
diff --git a/user/sysvinit/APKBUILD b/user/sysvinit/APKBUILD deleted file mode 100644 index ef7445bc5..000000000 --- a/user/sysvinit/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: A. Wilcox <awilfox@adelielinux.org> -# Maintainer: A. Wilcox <awilfox@adelielinux.org> -pkgname=sysvinit -pkgver=2.88 -pkgrel=3 -pkgdesc="System V-style init programs" -url="https://savannah.nongnu.org/projects/sysvinit" -arch="all" -license="GPL-2.0+" -depends="" -makedepends="linux-headers" -install="sysvinit.post-upgrade" -options="!check" -provides="/sbin/init" -subpackages="$pkgname-doc" -source="http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-${pkgver}dsf.tar.bz2 - inittab-2.88 - sysvinit-2.88-posix-header.patch - " -builddir="$srcdir/sysvinit-${pkgver}dsf" - -prepare() { - cd "$builddir" - default_prepare - - # util-linux - sed -i -r \ - -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg)\>::g' \ - -e '/^MAN[18]/s:\<(last|lastb|mesg)[.][18]\>::g' \ - src/Makefile - - # procps - sed -i -r \ - -e '/\/bin\/pidof/d'\ - -e '/^MAN8/s:\<pidof.8\>::g' \ - src/Makefile -} - -build() { - cd "$builddir" - export DISTRO="Adélie" - make -C src -} - -package() { - cd "$builddir" - make -C src install ROOT="$pkgdir" - rm "$pkgdir"/usr/bin/lastb || true - install -D -m644 "$srcdir"/inittab-2.88 "$pkgdir"/etc/inittab -} - -sha512sums="0bd8eeb124e84fdfa8e621b05f796804ee69a9076b65f5115826bfa814ac1d5d28d31a5c22ebe77c86a93b2288edf4891adc0afaecc4de656c4ecda8a83807bf sysvinit-2.88dsf.tar.bz2 -3866d377873b44fb7675b9f05e28190b99b7fedddd9463a0bf41de6ff7cad90e0a4273a9908b1f5c77abea85aa867e2f20ce4d466ce97607863cd9b122f8e9b0 inittab-2.88 -27dfe089660a291cbcba06d8564bad11f7fd7c96629e72c2b005562689dc7d8bb479c760e980590906e98423b991ae0acd048713d3bc372174d55ed894abeb3f sysvinit-2.88-posix-header.patch" diff --git a/user/sysvinit/inittab-2.88 b/user/sysvinit/inittab-2.88 deleted file mode 100644 index 1f0b5eb98..000000000 --- a/user/sysvinit/inittab-2.88 +++ /dev/null @@ -1,60 +0,0 @@ -# -# /etc/inittab: This file describes how the INIT process should set up -# the system in a certain run-level. -# -# Author: Miquel van Smoorenburg, <miquels@cistron.nl> -# Modified by: Patrick J. Volkerding, <volkerdi@ftp.cdrom.com> -# Modified by: Daniel Robbins, <drobbins@gentoo.org> -# Modified by: Martin Schlemmer, <azarah@gentoo.org> -# Modified by: Mike Frysinger, <vapier@gentoo.org> -# Modified by: Robin H. Johnson, <robbat2@gentoo.org> -# Modified by: William Hubbs, <williamh@gentoo.org> -# Modified by: A. Wilcox, <awilfox@adelielinux.org> -# - -# Default runlevel. -id:3:initdefault: - -# System initialization, mount local filesystems, etc. -si::sysinit:/sbin/openrc sysinit - -# Further system initialization, brings up the boot runlevel. -rc::bootwait:/sbin/openrc boot - -l0:0:wait:/sbin/openrc shutdown -l0s:0:wait:/sbin/halt -hnp -l1:1:wait:/sbin/openrc single -l2:2:wait:/sbin/openrc nonetwork -l3:3:wait:/sbin/openrc default -l4:4:wait:/sbin/openrc default -l5:5:wait:/sbin/openrc default -l6:6:wait:/sbin/openrc reboot -l6r:6:wait:/sbin/reboot -fin -#z6:6:respawn:/sbin/sulogin - -# new-style single-user -su0:S:wait:/sbin/openrc single -su1:S:wait:/sbin/sulogin - -# TERMINALS -#x1:12345:respawn:/sbin/agetty 38400 console linux -c1:12345:respawn:/sbin/agetty 38400 tty1 linux -c2:2345:respawn:/sbin/agetty 38400 tty2 linux -c3:2345:respawn:/sbin/agetty 38400 tty3 linux -c4:2345:respawn:/sbin/agetty 38400 tty4 linux -c5:2345:respawn:/sbin/agetty 38400 tty5 linux -c6:2345:respawn:/sbin/agetty 38400 tty6 linux - -# SERIAL CONSOLES -#s0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt100 -#s1:12345:respawn:/sbin/agetty -L 9600 ttyS1 vt100 - -# What to do at the "Three Finger Salute". -ca:12345:ctrlaltdel:/sbin/shutdown -r now - -# Used by /etc/init.d/xdm to control DM startup. -# Read the comments in /etc/init.d/xdm for more -# info. Do NOT remove, as this will start nothing -# extra at boot if /etc/init.d/xdm is not added -# to the "default" runlevel. -x:a:once:/etc/X11/startDM.sh diff --git a/user/sysvinit/sysvinit-2.88-posix-header.patch b/user/sysvinit/sysvinit-2.88-posix-header.patch deleted file mode 100644 index 3d63e434e..000000000 --- a/user/sysvinit/sysvinit-2.88-posix-header.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/init.c 2016-06-06 07:54:04.237447068 +0000 -+++ b/src/init.c 2016-06-06 08:17:37.177523978 +0000 -@@ -46,6 +46,7 @@ - #include <string.h> - #include <signal.h> - #include <termios.h> -+#include <sys/ttydefaults.h> - #include <utmp.h> - #include <ctype.h> - #include <stdarg.h> diff --git a/user/sysvinit/sysvinit.post-upgrade b/user/sysvinit/sysvinit.post-upgrade deleted file mode 100644 index 189621e2c..000000000 --- a/user/sysvinit/sysvinit.post-upgrade +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -/sbin/telinit U &> /dev/null -exit 0 |