From 8028137625ae26791c66b796b77c4f386010bc7b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Aug 2011 21:21:44 +0000 Subject: Stop installing mountpoint since newer util-linux does now. (Portage version: 2.2.0_alpha51/cvs/Linux x86_64) --- sys-apps/sysvinit/ChangeLog | 7 ++- sys-apps/sysvinit/sysvinit-2.88-r3.ebuild | 89 +++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 sys-apps/sysvinit/sysvinit-2.88-r3.ebuild diff --git a/sys-apps/sysvinit/ChangeLog b/sys-apps/sysvinit/ChangeLog index 15691430a96d..b2aaf5a4b127 100644 --- a/sys-apps/sysvinit/ChangeLog +++ b/sys-apps/sysvinit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/sysvinit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/ChangeLog,v 1.92 2011/05/31 13:11:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/ChangeLog,v 1.93 2011/08/29 21:21:44 vapier Exp $ + +*sysvinit-2.88-r3 (29 Aug 2011) + + 29 Aug 2011; Mike Frysinger +sysvinit-2.88-r3.ebuild: + Stop installing mountpoint since newer util-linux does now. *sysvinit-2.88-r2 (31 May 2011) diff --git a/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild b/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild new file mode 100644 index 000000000000..7e4a233b4f54 --- /dev/null +++ b/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild,v 1.1 2011/08/29 21:21:44 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="/sbin/init - parent of all processes" +HOMEPAGE="http://savannah.nongnu.org/projects/sysvinit" +SRC_URI="mirror://nongnu/${PN}/${P}dsf.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="selinux ibm static kernel_FreeBSD" + +RDEPEND="selinux? ( >=sys-libs/libselinux-1.28 ) + !> inittab +} + +src_compile() { + local myconf + + tc-export CC + append-lfs-flags + use static && append-ldflags -static + use selinux && myconf=WITH_SELINUX=yes + emake -C src ${myconf} || die +} + +src_install() { + emake -C src install ROOT="${D}" || die + dodoc README doc/* + + insinto /etc + doins "${WORKDIR}"/inittab || die "inittab" + + doinitd "${FILESDIR}"/{reboot,shutdown}.sh || die +} + +pkg_postinst() { + # Reload init to fix unmounting problems of / on next reboot. + # This is really needed, as without the new version of init cause init + # not to quit properly on reboot, and causes a fsck of / on next reboot. + if [[ ${ROOT} == / ]] ; then + # Do not return an error if this fails + /sbin/telinit U &>/dev/null + fi +} -- cgit v1.2.3-65-gdbad