summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-11-20 09:17:00 +0100
committerSam James <sam@gentoo.org>2023-11-22 11:32:57 +0000
commit0b9089564d7dfe9f78d176efe66d1e62620d88c1 (patch)
tree105efcac147df29ec90a2d34418b3ea1d787c476 /sys-apps
parentdev-libs/skalibs: add 2.14.0.1 (diff)
downloadgentoo-0b9089564d7dfe9f78d176efe66d1e62620d88c1.tar.gz
gentoo-0b9089564d7dfe9f78d176efe66d1e62620d88c1.tar.bz2
gentoo-0b9089564d7dfe9f78d176efe66d1e62620d88c1.zip
sys-apps/s6: add 2.12.0.2
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/Manifest1
-rw-r--r--sys-apps/s6/s6-2.12.0.2.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
index 89a8c3fad5dd..0688d5ab4106 100644
--- a/sys-apps/s6/Manifest
+++ b/sys-apps/s6/Manifest
@@ -1,2 +1,3 @@
DIST s6-2.11.3.2.tar.gz 247882 BLAKE2B 67de13e967502f159b6ebc1a4727f16a123ae9a88e1441d30100a952da7b9c2acd53b417d1b4760be9e4082856c30447b9a2f7b60e46e92531ebe0cd20fb7c22 SHA512 fe87c7984905b3eb35d7c91a3f0b6ece5cb0eb2c6d16ea7725655f118c464cf017e10b6ed82b3b12b6deb331538fc5d20afea7f34ff98b85d4c437b09e07371a
DIST s6-2.12.0.0.tar.gz 255678 BLAKE2B cee3bccbdfb8dee8e38ad2757ed650dea5e940835df463fac447cb71404eedd331444f7f59de4aded98804e0f9b0dde7df19ceec081ee122d38fbf0747318fba SHA512 203de171fa6272c56d322b2ec1cd5b8690841bc4e047eb5118846415541905789a44abd37621f67ae97313f4b0fdfb42fe2c88dd83a0d60f0fe2956990881c96
+DIST s6-2.12.0.2.tar.gz 255801 BLAKE2B 5aa4ecf28cbde17ce9f80849508989607a0e7340bbb1fb0ae92cf021d887cc6870f53700b384dbcb42d757268ec9c372229f41facf04e812cd02cdb64dd48e37 SHA512 55f6590801df51bbbc3feb467c67df1587b9c1ade4fbfccb4852238e16713c7f2a163468fabe114e4632e812e7daa1020c0dda14d02a26e86b085b61552e4f73
diff --git a/sys-apps/s6/s6-2.12.0.2.ebuild b/sys-apps/s6/s6-2.12.0.2.ebuild
new file mode 100644
index 000000000000..8ac261aaceea
--- /dev/null
+++ b/sys-apps/s6/s6-2.12.0.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 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="~alpha ~amd64 ~arm ~riscv ~x86"
+IUSE="+execline"
+
+RDEPEND="
+ >=dev-libs/skalibs-2.14.0.0:=
+ execline? ( dev-lang/execline:= )
+"
+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="/$(get_libdir)"
+ --libdir="/usr/$(get_libdir)/${PN}"
+ --libexecdir=/lib/s6
+ --with-dynlib="/$(get_libdir)"
+ --with-lib="/usr/$(get_libdir)/execline"
+ --with-lib="/usr/$(get_libdir)/skalibs"
+ --with-sysdeps="/usr/$(get_libdir)/skalibs"
+ --enable-shared
+ --disable-allstatic
+ --disable-static
+ --disable-static-libc
+ $(use_enable execline)
+ )
+
+ econf "${myconf[@]}"
+}