summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/s6-portable-utils')
-rw-r--r--sys-apps/s6-portable-utils/Manifest1
-rw-r--r--sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.1.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-apps/s6-portable-utils/Manifest b/sys-apps/s6-portable-utils/Manifest
index d2c03e2424d7..f69aafe8965d 100644
--- a/sys-apps/s6-portable-utils/Manifest
+++ b/sys-apps/s6-portable-utils/Manifest
@@ -3,3 +3,4 @@ DIST s6-portable-utils-2.0.6.0.tar.gz 46972 SHA256 233b7d13766a23661cc7ed5c052f2
DIST s6-portable-utils-2.1.0.0.tar.gz 47170 SHA256 cde145b7b9d1f1685f271c45c8aed635e74221689bb8ec21a11b3e5a252d1c4e SHA512 0b18304c63180c3233a5f29e1fc24b20c9c99c8949b042244d4a5b69cf2f15049ccbeddb2c3ffc5e88ee636bcfe836568670cc1626d5517381771ee3baff10c5 WHIRLPOOL aeca14c78f8cc5e95c56a14658b6bd41f93bd7bb301b219d2b9a49034f8f565de9e5c33736b029e1d9e5c78abbca75276538b56e442cc247b5971ec5699087a7
DIST s6-portable-utils-2.2.0.0.tar.gz 47142 SHA256 7fd542e3600305411a8c3887599fefff974696098978cd414589915ff1b9896d SHA512 199f492dd5493ebd284a8cec278816c8d2586ce47d7be082e71926df32fcbcb2feeceb041ab75d20dd40c152cef7151748a75c8122312dc0d7681c8c9cf199ec WHIRLPOOL a4f60f0e95f1021b1e42d428844c013501a5e34105a54e72609346b2d77036bde226ad30ba20b697c2d5a797aa637a8245e0d5e46a9966eee453cce4ec79ea9d
DIST s6-portable-utils-2.2.1.0.tar.gz 47651 SHA256 15b044017a1d24432affa26945793aaf93fff03ad0c0ff10a3a4973277fc009b SHA512 258419ab42683b4876337be467eb111699d5308c450cf281575a8b1b656fa853d2d46a34ae15b6b8d9fdc785703e5c6ed1b6286d1de000167e9db142f08e3193 WHIRLPOOL 25de3d7004be8259ca5f0eb02e281ef34bbc196122d430b596184bcd7f8e33ec2b3c0f931dca4b1242ee1e659a47fe4732657671e735c118ad836617999ca82c
+DIST s6-portable-utils-2.2.1.1.tar.gz 47138 SHA256 6ae239d2c458a81c92b5d616129e443874f925bf3da02589913a1a3b708c4531 SHA512 fba7a4d1f5e0c969dc254775f28c02f1b8673ead28022962175bd605125dc56012cfdeb177037c322780be93a5191a5292a47cb26cf5d466bb5eb081fa5a9657 WHIRLPOOL ea2cb04c8023d71e122b890917ec74bd9b121778c0695385fd3b129c94e4fdf34d1b91cb5fe3dcefe39c86fed4fafa637cde96fd165ac4c3442794466560a8da
diff --git a/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.1.ebuild b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.1.ebuild
new file mode 100644
index 000000000000..d303c8bb16a9
--- /dev/null
+++ b/sys-apps/s6-portable-utils/s6-portable-utils-2.2.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="set of tiny portable unix utilities"
+HOMEPAGE="https://www.skarnet.org/software/s6-portable-utils/"
+SRC_URI="https://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.6.0.0[static-libs]
+ )
+ !static? (
+ >=dev-libs/skalibs-2.6.0.0
+ )
+"
+RDEPEND="
+ !static? (
+ >=dev-libs/skalibs-2.6.0.0:=
+ )
+"
+
+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_AUTO -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)/skalibs \
+ --with-sysdeps=/usr/$(get_libdir)/skalibs \
+ $(use_enable static allstatic) \
+ $(use_enable static static-libc)
+}