diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-01-23 12:54:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:59:06 +0000 |
commit | bcc147eeeadc989a6c7a1c58d549b4b263a9aa9d (patch) | |
tree | 74d7c0277321eef39d97aa296b819bac99de1132 /sys-apps | |
parent | sys-apps/s6-rc: respect AR, CC and RANLIB (diff) | |
download | gentoo-bcc147eeeadc989a6c7a1c58d549b4b263a9aa9d.tar.gz gentoo-bcc147eeeadc989a6c7a1c58d549b4b263a9aa9d.tar.bz2 gentoo-bcc147eeeadc989a6c7a1c58d549b4b263a9aa9d.zip |
sys-apps/s6-rc: add 0.5.3.0
-fno-stack-protector flag was removed from configure script in upstream
in version 0.5.2.1.
Upstream-commit: a592de252872 ("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')
-rw-r--r-- | sys-apps/s6-rc/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/s6-rc/s6-rc-0.5.3.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/s6-rc/Manifest b/sys-apps/s6-rc/Manifest index 2c5369997455..dc7211859c85 100644 --- a/sys-apps/s6-rc/Manifest +++ b/sys-apps/s6-rc/Manifest @@ -1 +1,2 @@ DIST s6-rc-0.5.2.0.tar.gz 98758 BLAKE2B 9de7a96a67be33dd152a801af1f85d2feeed6581e96cb5f9ea4f9497326061096fff4873e068d5eb9a7361aad6dc11e8c43566d4f108cccf0a56378448bc4df8 SHA512 663cddac2b60143703cf9cc33777ead2a283eb9cba53add726849e1c95418fa2729e0d3bc5dafe8879a5ce036f705e344aaf3f7e2f287fbd6c2a68e9dcbb01f5 +DIST s6-rc-0.5.3.0.tar.gz 99155 BLAKE2B 8d65ba95b9d3b9b68a9830c79b3c419513e00aff87fb7b9fa18e007107afd8f41c561ac37db9ff28b3fa5b0bf5656aa5053f4337cf24b0fcbc1ce7138712edf1 SHA512 0b5dda996d96761f1df192675ed117f2acff9f2ad24e6c1405f3eaa46fdd2767178005582fbc9938152232f85ff01b008efedab6c80051bc65f1193d468a56f1 diff --git a/sys-apps/s6-rc/s6-rc-0.5.3.0.ebuild b/sys-apps/s6-rc/s6-rc-0.5.3.0.ebuild new file mode 100644 index 000000000000..bc3b886ef52a --- /dev/null +++ b/sys-apps/s6-rc/s6-rc-0.5.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +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/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="static static-libs" + +REQUIRED_USE="static? ( static-libs )" + +RDEPEND=">=dev-lang/execline-2.8.2.0:=[static-libs?] + >=dev-libs/skalibs-2.11.1.0:=[static-libs?] + >=sys-apps/s6-2.11.0.1:=[execline,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)/s6 + --with-lib=/usr/$(get_libdir)/skalibs + --with-sysdeps=/usr/$(get_libdir)/skalibs + --enable-shared + $(use_enable static allstatic) + $(use_enable static static-libc) + $(use_enable static-libs static) + ) + + econf "${myconf[@]}" +} + +pkg_postinst() { + ewarn "Databases from ${PN}-0.3.0.0 or earlier must be manually upgraded!" + ewarn "See the upgrade notes at ${EROOT}/usr/share/doc/${PF}/html/upgrade.html" + ewarn "and the documentation for the s6-rc-format-upgrade utility." +} |