public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sysvinit/
@ 2013-09-29 21:37 Anthony G. Basile
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2013-09-29 21:37 UTC (permalink / raw
  To: gentoo-commits

commit:     74bb071e046075230cd3df18f7b6e7f1c5c32914
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 21:38:43 2013 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 21:38:43 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=74bb071e

sys-apps/sysvinit: mark stable on amd64

Package-Manager: portage-2.2.1
Manifest-Sign-Key: 0xF52D4BBA

---
 sys-apps/sysvinit/sysvinit-2.88-r99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild b/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild
index 820788e..5532655 100644
--- a/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild
@@ -12,7 +12,7 @@ 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"
+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 )"


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sysvinit/
@ 2014-05-18 17:38 Anthony G. Basile
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2014-05-18 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     bccd3a4285c19191b175a32d12f144552f008b78
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 17:36:06 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun May 18 17:36:13 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=bccd3a42

sys-apps/sysvinit: sync up with 2.88-r7

This removes the build/instation of last/lastb which are now
provided by util-linux- 2.24.1.

---
 ...it-2.88-r99.ebuild => sysvinit-2.88-r999.ebuild} | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild b/sys-apps/sysvinit/sysvinit-2.88-r999.ebuild
similarity index 80%
rename from sys-apps/sysvinit/sysvinit-2.88-r99.ebuild
rename to sys-apps/sysvinit/sysvinit-2.88-r999.ebuild
index 6dc91fd..f443b6e 100644
--- a/sys-apps/sysvinit/sysvinit-2.88-r99.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.88-r999.ebuild
@@ -30,10 +30,16 @@ src_prepare() {
 	epatch "${FILESDIR}"/${P}-musl.patch
 	sed -i '/^CPPFLAGS =$/d' src/Makefile || die
 
-	# mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux
+	# last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux
 	sed -i -r \
-		-e '/^(USR)?S?BIN/s:\<(mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \
-		-e '/^MAN[18]/s:\<(mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \
+		-e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \
+		-e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \
+		src/Makefile || die
+
+	# pidof has moved to >=procps-3.3.9
+	sed -i -r \
+		-e '/\/bin\/pidof/d' \
+		-e '/^MAN8/s:\<pidof.8\>::g' \
 		src/Makefile || die
 
 	# Mung inittab for specific architectures
@@ -42,8 +48,9 @@ src_prepare() {
 	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 arm64 && insert=( 'f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100' )
 	use hppa && insert=( 'b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100' )
-	use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console' )
+	use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console dumb' )
 	if use ibm ; then
 		insert+=(
 			'#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0'
@@ -86,6 +93,9 @@ src_install() {
 	insinto /etc
 	doins "${WORKDIR}"/inittab
 
+	# dead symlink
+	rm -f "${D}"/usr/bin/lastb
+
 	doinitd "${FILESDIR}"/{reboot,shutdown}.sh
 }
 
@@ -98,5 +108,6 @@ pkg_postinst() {
 		/sbin/telinit U &>/dev/null
 	fi
 
-	elog "The mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to sys-apps/util-linux."
+	elog "The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to"
+	elog "sys-apps/util-linux. The pidof tool has been moved to sys-process/procps."
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-18 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-29 21:37 [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/sysvinit/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2014-05-18 17:38 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox