summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-10-24 09:27:57 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-10-24 11:38:16 +0200
commitf7d07340c2675d2cb5e779c9641899b7a98f6309 (patch)
tree5157707b9c2cf85fc657d7168393a3be08afb000 /sys-apps/s6
parentdev-lang/execline: add 2.9.6.1 (diff)
downloadgentoo-f7d07340c2675d2cb5e779c9641899b7a98f6309.tar.gz
gentoo-f7d07340c2675d2cb5e779c9641899b7a98f6309.tar.bz2
gentoo-f7d07340c2675d2cb5e779c9641899b7a98f6309.zip
sys-apps/s6: add 2.13.1.0
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'sys-apps/s6')
-rw-r--r--sys-apps/s6/Manifest1
-rw-r--r--sys-apps/s6/s6-2.13.1.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-apps/s6/Manifest b/sys-apps/s6/Manifest
index c48efd2109a7..d8e86863758d 100644
--- a/sys-apps/s6/Manifest
+++ b/sys-apps/s6/Manifest
@@ -1 +1,2 @@
DIST s6-2.13.0.0.tar.gz 256126 BLAKE2B 08c20a6e2268bcecea39f7066f8fcbb61723c4c0ae3772af5362b68f53ed65494b824827779d44d64d204688f03634bdd079f08def5b41a5170d88888e2fbc8a SHA512 b54d334496d79d1b845552f5e7763c536d6f253c9bb2d61802695ea1a596af918562daa230f09f4cbfc06614eff70930d0963439d7d84ec8ae0388291912ca9d
+DIST s6-2.13.1.0.tar.gz 256614 BLAKE2B 806a79e293d50180695beed5c397d60b23e9434dfc48d4bdd835e35e073ef8be2c2105cb421e3329a93ec9855fe86275bf745cffb973a02898d99a58e21b674c SHA512 89912f627d239e9d0b830c97e3b35b0358ac3ea1b3b958de091318e19ee9ca0bac0a008f114682bc0ed8388e15592ffd683c4bbf1128fe7109cad16f18a1065b
diff --git a/sys-apps/s6/s6-2.13.1.0.ebuild b/sys-apps/s6/s6-2.13.1.0.ebuild
new file mode 100644
index 000000000000..2dc850cad795
--- /dev/null
+++ b/sys-apps/s6/s6-2.13.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature 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 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+execline"
+
+RDEPEND="
+ >=dev-libs/skalibs-2.14.3.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[@]}"
+}
+
+pkg_postinst() {
+ optfeature "man pages" app-doc/s6-man-pages
+}