commit:     798943844d6f399872365576a4ff9f89d8970e84
Author:     Luis Ressel <aranea <AT> aixah <DOT> de>
AuthorDate: Wed Nov 15 20:05:47 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 20:07:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79894384

sys-apps/s6-rc: Bump to 0.3.0.0

 sys-apps/s6-rc/Manifest             |  1 +
 sys-apps/s6-rc/s6-rc-0.3.0.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-apps/s6-rc/Manifest b/sys-apps/s6-rc/Manifest
index 96b090f8ff7..b1ce7d8925c 100644
--- a/sys-apps/s6-rc/Manifest
+++ b/sys-apps/s6-rc/Manifest
@@ -4,3 +4,4 @@ DIST s6-rc-0.1.0.0.tar.gz 88520 SHA256 
d04a8a765740ed55e38a33da3639197f51f83b3e4
 DIST s6-rc-0.2.0.0.tar.gz 90133 SHA256 
b83a4f15ba0e13f935c7e4db8ef17229388e1fb4ca4e553b817ad039427404a5 SHA512 
981d504382c9801ef53fb2a4a4f7410cf6165f1f49670cb5d42545c3e1bef6c0a50e6176b149fd61ec45ebe701411d12b5e7012cfb897d3472e52a1b8f76f636
 WHIRLPOOL 
297b7cfb73f480ee5e419197a13a7462849ee948f5445c29b1c0da31ad1d3eb2206afc1cccafb8a489f472ed8853298ff89662dedc57f69e4a95a6e2beaacaab
 DIST s6-rc-0.2.0.1.tar.gz 90345 SHA256 
8b01d5b4c2380c6b30d320118b9a9b9ca174a25ed3c75afe8f59a4e840847a76 SHA512 
d067f1b409146923531f5191e8c9d17c8e846cf4815fac11f08089fe983a55a1d11bba942a036d2d8f48d26390e1350f273bcd8705abcfbff33b9da2984cb8ef
 WHIRLPOOL 
dbfa8c726db19a87b1271c311a514ac71803ac4c66e5d1947785177d0825214630e4a149f21679c6126bcec966dcc3390688ee2b654003e34d29a11c06edb7da
 DIST s6-rc-0.2.1.2.tar.gz 90978 SHA256 
4fa35cf8af41498c9fa0c21220dcdc7595a18ebc2975a254d719f7e1c864b1f0 SHA512 
33951996cf1fc1e497c26a90254a916e992c69128134cbc64ed41c76e74c04e55c91036e2c7e836f3eda650fbcd670c52722b5b2d12ec4a3887101eb20c3347f
 WHIRLPOOL 
89aa08ffd5f8073f506d7fb302f1e2363501f35248531cafb389aef092a3b3e6a1da202a320cecd927e0da9dc85e35c1def6dfd8505742fc428ebaed2257e916
+DIST s6-rc-0.3.0.0.tar.gz 93183 SHA256 
78266a397330d35d5eac9e99d1436feba58e36f41bfe1db0fd16c4b6cc73c999 SHA512 
d29755f84975b6b2811f55a88cd2b9f1f8383c80ec8aa19e778f74eedf0ae6cb17e55ad96c46bfea7dc3c586a6f10c783db80e8742d2a2e36d3d0062c0f10c06
 WHIRLPOOL 
0ecb9e8edbf9e0b6fbef963b0a07ef7f2229540d7ec63b99dad5d50f52aaff75c93d695e2d34ede26412d7f1bed6a375f203158d51e82a332cb207f5de7e2b50

diff --git a/sys-apps/s6-rc/s6-rc-0.3.0.0.ebuild 
b/sys-apps/s6-rc/s6-rc-0.3.0.0.ebuild
new file mode 100644
index 00000000000..9d30ce768b8
--- /dev/null
+++ b/sys-apps/s6-rc/s6-rc-0.3.0.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="service manager for the s6 supervision suite"
+HOMEPAGE="https://www.skarnet.org/software/s6-rc/";
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz";
+
+LICENSE="ISC"
+SLOT="0/$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~x86"
+IUSE="static static-libs"
+
+DEPEND=">=sys-devel/make-3.81
+       static? (
+               >=dev-lang/execline-2.3.0.3[static-libs]
+               >=dev-libs/skalibs-2.6.0.1[static-libs]
+               >=sys-apps/s6-2.6.1.1[static-libs]
+       )
+       !static? (
+               >=dev-lang/execline-2.3.0.3[static=]
+               >=dev-libs/skalibs-2.6.0.1
+               >=sys-apps/s6-2.6.1.1[static=]
+       )
+"
+RDEPEND="
+       >=dev-lang/execline-2.3.0.3:=[!static?]
+       >=sys-apps/s6-2.6.1.1:=[!static?]
+       !static? (
+               >=dev-libs/skalibs-2.6.0.1:=
+       )
+"
+
+DOCS="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
+
+       # configure overrides gentoo's -fstack-protector default
+       sed -i "/^tryflag CFLAGS -fno-stack-protector$/d" "${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)/execline \
+               --with-lib=/usr/$(get_libdir)/s6 \
+               --with-lib=/usr/$(get_libdir)/skalibs \
+               --with-sysdeps=/usr/$(get_libdir)/skalibs \
+               $(use_enable !static shared) \
+               $(use_enable static allstatic) \
+               $(use_enable static static-libc) \
+               $(use_enable static-libs static)
+}

Reply via email to