summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-02-03 16:10:31 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-02-03 16:13:08 +0100
commit4f5d287a02f221da9ffc9ee48917157de6165921 (patch)
treeb6648f52e9751699b040cb825aed1fb6664325d7
parentdev-tex/latexdiff: add alpha keyword (diff)
downloadgentoo-4f5d287a02f221da9ffc9ee48917157de6165921.tar.gz
gentoo-4f5d287a02f221da9ffc9ee48917157de6165921.tar.bz2
gentoo-4f5d287a02f221da9ffc9ee48917157de6165921.zip
sys-apps/sysvinit: Revbump to fix bug #573668
Bumped to EAPI-5. Minor ebuild improvements. Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/sysvinit/files/inittab-2.883
-rw-r--r--sys-apps/sysvinit/sysvinit-2.88-r9.ebuild (renamed from sys-apps/sysvinit/sysvinit-2.88-r8.ebuild)20
2 files changed, 14 insertions, 9 deletions
diff --git a/sys-apps/sysvinit/files/inittab-2.88 b/sys-apps/sysvinit/files/inittab-2.88
index 5328d3054c5d..ffb1ce3feca1 100644
--- a/sys-apps/sysvinit/files/inittab-2.88
+++ b/sys-apps/sysvinit/files/inittab-2.88
@@ -8,6 +8,7 @@
# 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>
#
# $Id$
@@ -36,7 +37,7 @@ su0:S:wait:/sbin/openrc single
su1:S:wait:/sbin/sulogin
# TERMINALS
-x1:12345:respawn:/sbin/agetty 38400 console linux
+#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
diff --git a/sys-apps/sysvinit/sysvinit-2.88-r8.ebuild b/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild
index acc8a8dc7420..a6b30a3ee304 100644
--- a/sys-apps/sysvinit/sysvinit-2.88-r8.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.88-r9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=5
inherit eutils toolchain-funcs flag-o-matic
@@ -27,12 +27,16 @@ RDEPEND="${CDEPEND}
S=${WORKDIR}/${P}dsf
+PATCHES=(
+ "${FILESDIR}/${PN}-2.86-kexec.patch" #80220
+ "${FILESDIR}/${PN}-2.86-shutdown-single.patch" #158615
+ "${FILESDIR}/${P}-makefile.patch" #319197
+ "${FILESDIR}/${P}-selinux.patch" #326697
+ "${FILESDIR}/${P}-shutdown-h.patch" #449354
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.86-kexec.patch #80220
- epatch "${FILESDIR}"/${PN}-2.86-shutdown-single.patch #158615
- epatch "${FILESDIR}"/${P}-makefile.patch #319197
- epatch "${FILESDIR}"/${P}-selinux.patch #326697
- epatch "${FILESDIR}"/${P}-shutdown-h.patch #449354
+ epatch "${PATCHES[@]}"
sed -i '/^CPPFLAGS =$/d' src/Makefile || die
# last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux
@@ -99,7 +103,7 @@ src_install() {
doins "${WORKDIR}"/inittab
# dead symlink
- rm -f "${D}"/usr/bin/lastb
+ rm "${D}"/usr/bin/lastb || die
}
pkg_postinst() {