summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-10 02:04:34 -0600
committerWilliam Hubbs <williamh@gentoo.org>2018-01-10 15:34:23 -0600
commitd18a87af368d014e60e087b895a90bfd4b1a7b51 (patch)
tree6dd8335d04ada8a2d714298b557a3388867d8260 /sys-apps/s6
parentdev-lang/execline: 2.3.0.4 version bump (diff)
downloadgentoo-d18a87af368d014e60e087b895a90bfd4b1a7b51.tar.gz
gentoo-d18a87af368d014e60e087b895a90bfd4b1a7b51.tar.bz2
gentoo-d18a87af368d014e60e087b895a90bfd4b1a7b51.zip
sys-apps/s6: 2.7.0.0 version bump
Diffstat (limited to 'sys-apps/s6')
-rw-r--r--sys-apps/s6/Manifest1
-rw-r--r--sys-apps/s6/s6-2.7.0.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
index 2bd812b49d87..a02291e47c94 100644
--- a/sys-apps/s6/Manifest
+++ b/sys-apps/s6/Manifest
@@ -6,3 +6,4 @@ DIST s6-2.5.0.0.tar.gz 190980 BLAKE2B b4568dd3b12ece596aee01bfd4617dbb994afa364f
DIST s6-2.5.1.0.tar.gz 191814 BLAKE2B af98e095512bd6ec2d991d576c14c7cf310b20c1c66265b0c40699d297ec96198817dc5d03b082cc51822562056b61a53af36a39680429db62491c49583d7c72 SHA512 b8d40b541d6c9b4b78f2aea229eea3188f867dda4ed15626e590b549c0e6bd5114d015ad749faa520e69385272c0960cf6d635a4e51d4e14821e61cab7469fd0
DIST s6-2.6.1.0.tar.gz 195903 BLAKE2B c963793f1fc903d6de4959b762b3882a8789c98a2516d424486c79f5b1b2b3fa6d0d65b67d1bcbeb5e521b600fc0e832d65f5069a50c940c29e0aa08b8ffbdde SHA512 e29855cd3c0037d83270318569d2a79a8f616c681cb9c218cfc8c207d9c267cedbb6adc4a6379dbdd29323aef5549810363af08a9fdcc9308d8f6924c12399e6
DIST s6-2.6.1.1.tar.gz 196083 BLAKE2B a05083adcba33770ccbc5621c0fc6d7f6c5be22f700bb6a5642fd37bab1ed78b18c16bf5713ade1c2ae456fb653b38aeb793e671138b1038f988ed78c6fad748 SHA512 08f1af0f2e66b3f60f4a6b1489ae91fc59dd5aec97789cc655ae2ba7841327293e3a3027155d02502b34bcdad40778dfaeb441f100e8598aecf081d9d739c99d
+DIST s6-2.7.0.0.tar.gz 198303 BLAKE2B e835fd25c75a25d3f39ed59098911e65441e3fcbb4f53c48b3c13de63600975839be4fafb9a620d9ec6168a27a2f0bf86efe08797803230e8e12cab1fb0bcd3a SHA512 495d73b8e5c34ad7295dcf94d34b6998341db063594b31be6b15bead5e47644cc3c7e893974bed4ed1feff7a8a3ad2430658c26eab361e8c90893f877476cc53
diff --git a/sys-apps/s6/s6-2.7.0.0.ebuild b/sys-apps/s6/s6-2.7.0.0.ebuild
new file mode 100644
index 000000000000..f413b96bcaca
--- /dev/null
+++ b/sys-apps/s6/s6-2.7.0.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="skarnet.org's small and secure supervision software suite"
+HOMEPAGE="https://www.skarnet.org/software/s6/"
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="static static-libs"
+
+DEPEND=">=sys-devel/make-3.81
+ static? (
+ >=dev-lang/execline-2.3.0.4[static-libs]
+ >=dev-libs/skalibs-2.6.3.0[static-libs]
+ )
+ !static? (
+ >=dev-lang/execline-2.3.0.4[static=]
+ >=dev-libs/skalibs-2.6.3.0
+ )
+"
+RDEPEND="
+ >=dev-lang/execline-2.3.0.4:=[!static?]
+ !static? (
+ >=dev-libs/skalibs-2.6.3.0:=
+ )
+"
+
+DOCS="AUTHORS examples README*"
+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)/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)
+}