diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-01-22 16:21:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:59:02 +0000 |
commit | 14dca295640b859319508859e044996f3564ba76 (patch) | |
tree | 01606ed53a5d89b8c28c78181847e391d625110a /sys-apps/s6 | |
parent | sys-apps/s6: respect AR, CC and RANLIB (diff) | |
download | gentoo-14dca295640b859319508859e044996f3564ba76.tar.gz gentoo-14dca295640b859319508859e044996f3564ba76.tar.bz2 gentoo-14dca295640b859319508859e044996f3564ba76.zip |
sys-apps/s6: add 2.11.0.1
-fno-stack-protector flag was removed from configure script in upstream
in version 2.10.0.0.
Upstream-commit: 21ae83d8e28c ("Don't put -fno-stack-protector in default CFLAGS")
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/s6')
-rw-r--r-- | sys-apps/s6/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/s6/s6-2.11.0.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest index 8357e682c2e5..99c190f6d9a3 100644 --- a/sys-apps/s6/Manifest +++ b/sys-apps/s6/Manifest @@ -1 +1,2 @@ +DIST s6-2.11.0.1.tar.gz 227802 BLAKE2B 76721fdbc4fdbcb11d20eff31b817e66c49a488290ac8564a0418c5cd2ba3a204625dac2ce0dedcc8fccb18f54c5178253627f6874160b748db323cb4a34f32e SHA512 e833ae42d7094a46eea4d914c8e9b07b030cab2c6010c1d7698a070d14adbb62a614822a9575a3064a6b8a5a856146fc9fa27661f0d84569dac14ad6cdbf84d9 DIST s6-2.9.2.0.tar.gz 205009 BLAKE2B a3b3299d7d8695b4c3555a9603763e51c7c8d84d05ea229c787e46af8f5dca3efc09d16eb3380fbbd8e9ff1d300eddb5f632082ffa8dfbe08d45b5799f705131 SHA512 ef814c0426d00112c793d4f8bb99319cde8e4ab91c24e98401559bbd28eafdb11a66d446a31816a50f67d607ed1e8c55383362e9761abca21ca24b3598929eee diff --git a/sys-apps/s6/s6-2.11.0.1.ebuild b/sys-apps/s6/s6-2.11.0.1.ebuild new file mode 100644 index 000000000000..3827e604be40 --- /dev/null +++ b/sys-apps/s6/s6-2.11.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +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/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="+execline static static-libs" + +REQUIRED_USE="static? ( static-libs )" + +RDEPEND="execline? ( >=dev-lang/execline-2.8.2.0:=[static-libs?] ) + >=dev-libs/skalibs-2.11.1.0:=[static-libs?] +" +DEPEND="${RDEPEND}" + +HTML_DOCS=( doc/. ) + +src_prepare() { + default + + # Avoid QA warning for LDFLAGS addition + sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die + + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die +} + +src_configure() { + tc-export AR CC RANLIB + + local myconf=( + --bindir=/bin + --dynlibdir=/usr/$(get_libdir) + --libdir=/usr/$(get_libdir)/${PN} + --with-dynlib=/usr/$(get_libdir) + --with-lib=/usr/$(get_libdir)/execline + --with-lib=/usr/$(get_libdir)/skalibs + --with-sysdeps=/usr/$(get_libdir)/skalibs + $(usex execline '' '--disable-execline' ) + --enable-shared + $(use_enable static allstatic) + $(use_enable static static-libc) + $(use_enable static-libs static) + ) + + econf "${myconf[@]}" +} |