From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/sysvinit: ChangeLog sysvinit-2.88-r3.ebuild
Date: Mon, 29 Aug 2011 21:21:44 +0000 (UTC) [thread overview]
Message-ID: <20110829212144.CA6522004C@flycatcher.gentoo.org> (raw)
vapier 11/08/29 21:21:44
Modified: ChangeLog
Added: sysvinit-2.88-r3.ebuild
Log:
Stop installing mountpoint since newer util-linux does now.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Revision Changes Path
1.93 sys-apps/sysvinit/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/sysvinit/ChangeLog?rev=1.93&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/sysvinit/ChangeLog?rev=1.93&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/sysvinit/ChangeLog?r1=1.92&r2=1.93
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/ChangeLog,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- ChangeLog 31 May 2011 13:11:46 -0000 1.92
+++ ChangeLog 29 Aug 2011 21:21:44 -0000 1.93
@@ -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 <vapier@gentoo.org> +sysvinit-2.88-r3.ebuild:
+ Stop installing mountpoint since newer util-linux does now.
*sysvinit-2.88-r2 (31 May 2011)
1.1 sys-apps/sysvinit/sysvinit-2.88-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/sysvinit/sysvinit-2.88-r3.ebuild?rev=1.1&content-type=text/plain
Index: sysvinit-2.88-r3.ebuild
===================================================================
# 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 )
!<sys-apps/util-linux-2.20"
DEPEND="${RDEPEND}
virtual/os-headers"
S=${WORKDIR}/${P}dsf
src_unpack() {
unpack ${A}
cd "${S}"
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
sed -i '/^CPPFLAGS =$/d' src/Makefile || die
# mountpoint has moved to util-linux
sed -i \
-e '/^BIN/s:mountpoint::' \
-e '/^MAN1/s:mountpoint[.]1::' \
src/Makefile || die
# Mung inittab for specific architectures
cd "${WORKDIR}"
cp "${FILESDIR}"/inittab-2.87 inittab || die "cp inittab"
local insert=""
use ppc && insert='#psc0:12345:respawn:/sbin/agetty 115200 ttyPSC0 linux'
use arm && insert='#f0:12345:respawn:/sbin/agetty 9600 ttyFB0 vt100'
use hppa && insert='b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100'
use s390 && insert='s0:12345:respawn:/sbin/agetty 38400 console'
if use ibm ; then
insert="${insert}#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0"$'\n'
insert="${insert}#hvsi:2345:respawn:/sbin/agetty -L 19200 hvsi0"
fi
(use arm || use mips || use sh || use sparc) && sed -i '/ttyS0/s:#::' inittab
if use kernel_FreeBSD ; then
sed -i \
-e 's/linux/cons25/g' \
-e 's/ttyS0/cuaa0/g' \
-e 's/ttyS1/cuaa1/g' \
inittab #121786
fi
[[ -n ${insert} ]] && echo "# Architecture specific features"$'\n'"${insert}" >> 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
}
next reply other threads:[~2011-08-29 21:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 21:21 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-07 3:53 [gentoo-commits] gentoo-x86 commit in sys-apps/sysvinit: ChangeLog sysvinit-2.88-r3.ebuild Mike Frysinger (vapier)
2012-02-18 17:11 Jeroen Roovers (jer)
2012-02-21 17:11 Agostino Sarubbo (ago)
2012-02-21 21:46 Jeff Horelick (jdhore)
2012-02-22 18:42 Brent Baude (ranger)
2012-03-05 21:00 Markus Meier (maekke)
2012-05-14 16:37 Raul Porcel (armin76)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110829212144.CA6522004C@flycatcher.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox