From e891e4e7bda120633749fad8b4bdc9799efb9f04 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 19 Sep 2013 16:21:48 -0400 Subject: [PATCH] add(sys-apps/systemd-sysv-util): Bump to version 207 As of 207 the systemd binary is only located at /usr/lib/systemd/systemd, not /usr/bin/systemd. Fix the broken init link accordingly, also add version to systemd dependency for good measure. --- .../sys-apps/systemd-sysv-utils/Manifest | 1 + .../systemd-sysv-utils-207.ebuild | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/Manifest create mode 100644 sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/systemd-sysv-utils-207.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/Manifest b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/Manifest new file mode 100644 index 0000000000..4f7196f198 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/Manifest @@ -0,0 +1 @@ +DIST systemd-207.tar.xz 2363804 SHA256 ac1f8120315e7969063bbb0c181c8dc59509aeaf10c4266077c257a182ad5942 SHA512 566c6126fea038cb182608f7b9c3bb4410d0622cb637f30c60fba73c9052f7a36d2b0f790e3d94bb751080448ba14cee600481da378f5e97b0f5becfc849be54 WHIRLPOOL 823c3064e1e961599011d4cd027f5e2d0ba3b434c67b880d1a541720220f40c7cc82211f3f086042dbb440b2c7e11e1379aa0d656e33a2a7ba5b1d7e45b904f7 diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/systemd-sysv-utils-207.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/systemd-sysv-utils-207.ebuild new file mode 100644 index 0000000000..fe12e27db7 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/systemd-sysv-utils/systemd-sysv-utils-207.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd-sysv-utils/systemd-sysv-utils-194.ebuild,v 1.1 2012/10/04 20:03:07 mgorny Exp $ + +EAPI=5 + +MY_P=systemd-${PV} + +DESCRIPTION="sysvinit compatibility symlinks and manpages" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd" +SRC_URI="http://www.freedesktop.org/software/systemd/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="!sys-apps/sysvinit + >=sys-apps/systemd-${PV}" + +S=${WORKDIR}/${MY_P}/man + +src_install() { + for app in halt poweroff reboot runlevel shutdown telinit; do + doman ${app}.8 + dosym ../usr/bin/systemctl /sbin/${app} + done + + newman init.1 init.8 + dosym ../usr/lib/systemd/systemd /sbin/init +}