summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-01-09 15:44:04 -0600
committerWilliam Hubbs <williamh@gentoo.org>2017-01-11 17:33:05 -0600
commit8b4b17e2f32707b7c4a988a883c3642de7adc822 (patch)
tree8b6ef1b2cebde7c260e31be4663bff0402af5cfd /sys-apps
parentsys-apps/s6-rc: 0.1.0.0 version bump (diff)
downloadgentoo-8b4b17e2f32707b7c4a988a883c3642de7adc822.tar.gz
gentoo-8b4b17e2f32707b7c4a988a883c3642de7adc822.tar.bz2
gentoo-8b4b17e2f32707b7c4a988a883c3642de7adc822.zip
sys-apps/s6-linux-init: 0.2.0.0 version bump
Closes: https://github.com/gentoo/gentoo/pull/3407
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/s6-linux-init/Manifest1
-rw-r--r--sys-apps/s6-linux-init/metadata.xml4
-rw-r--r--sys-apps/s6-linux-init/s6-linux-init-0.2.0.0.ebuild57
3 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/s6-linux-init/Manifest b/sys-apps/s6-linux-init/Manifest
index af73e4d0a41..5cc36ef846d 100644
--- a/sys-apps/s6-linux-init/Manifest
+++ b/sys-apps/s6-linux-init/Manifest
@@ -1,2 +1,3 @@
DIST s6-linux-init-0.0.1.4.tar.gz 21493 SHA256 80eeb8e3bf3095d69b86aaf8e6f5c28aab53a0eb6473e301a673870b56566b6a SHA512 84fabc9720f2aa2c68723c7b34023a8971f9e55c367b69c200c9c99d2c04bd23b598563facaca4deb4a11f732be3016361e38a40258a7d0ce68cb0f3c10a0235 WHIRLPOOL 55f6c6cac544b6c9ffa5b5f16639a20a47b1ba2ae61cdfe5c1446c254a11801cfab4f211c2b55c7381a37ff76509a06b25d2ec8710ec32f1682ee186efc8b805
DIST s6-linux-init-0.1.0.0.tar.gz 22242 SHA256 4db16d235dc052f6376f4e88e5e4c0dd1cb84237e7eadb9eb4b440eececcaffc SHA512 8898ac09212d33d4160d0a1ccad4f6f24ed8010a16815daec4a68827f7af1948568807ae2063bb1f0fe901b87f605eb3cd199d0a3e9a217255b77ed4fc9eef08 WHIRLPOOL 4eed683de5c0846698c1d603e7be72299a425f1f91e3f944da98ed5fb0d9d988db1fb1931ec86ec41f837dab0b51bd61f828b2763c21ac520037021831e47543
+DIST s6-linux-init-0.2.0.0.tar.gz 24482 SHA256 131484e61eff0e671e112f0436b13e8e7d08752f810d8bec4924a68383eee2b9 SHA512 16c8c97b65ad533b70ed9dd189827778797dc8d0a70af0880655b5f89a1524cd9d3675cb681b99f4704d43c810a4211c9926bfeb743247d7c29559ec2f77606e WHIRLPOOL 45aad2584c8036f8fe9d9c72a7da3fb29e91f36a38d6b63297dbd1c201601971b6b11304290d16df09190f0706825c3e0cbd8c7f48657be17ece3ef27dffbd95
diff --git a/sys-apps/s6-linux-init/metadata.xml b/sys-apps/s6-linux-init/metadata.xml
index 7ac867bbd03..1bf18c1a375 100644
--- a/sys-apps/s6-linux-init/metadata.xml
+++ b/sys-apps/s6-linux-init/metadata.xml
@@ -7,6 +7,10 @@
<description>Proxied maintainer; set to assignee in all bugs</description>
</maintainer>
<maintainer type="person">
+ <email>samuel@sholland.org</email>
+ <name>Samuel Holland</name>
+ </maintainer>
+ <maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
diff --git a/sys-apps/s6-linux-init/s6-linux-init-0.2.0.0.ebuild b/sys-apps/s6-linux-init/s6-linux-init-0.2.0.0.ebuild
new file mode 100644
index 00000000000..efab3c16909
--- /dev/null
+++ b/sys-apps/s6-linux-init/s6-linux-init-0.2.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Generates an init binary for s6-based init systems"
+HOMEPAGE="http://www.skarnet.org/software/s6-linux-init/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+
+DEPEND=">=sys-devel/make-3.81
+ static? (
+ >=dev-libs/skalibs-2.4.0.0[static-libs]
+ )
+ !static? (
+ >=dev-libs/skalibs-2.4.0.0
+ )
+"
+RDEPEND="
+ !<sys-apps/s6-linux-utils-2.2.0.0
+ !static? (
+ >=dev-libs/skalibs-2.4.0.0:=
+ )
+"
+
+DOCS="INSTALL examples"
+HTML_DOCS="doc/*"
+
+src_prepare() {
+ default
+
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die
+}
+
+src_configure() {
+ econf \
+ --bindir=/bin \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --with-dynlib=/$(get_libdir) \
+ --with-lib=/usr/$(get_libdir)/skalibs \
+ --with-sysdeps=/usr/$(get_libdir)/skalibs \
+ $(use_enable static allstatic) \
+ $(use_enable static static-libc)
+}
+
+pkg_postinst()
+{
+ einfo "The generated init script requires additional packages."
+ einfo "Read ${ROOT}usr/share/doc/${PF}/INSTALL for details."
+}