From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1422215817D for ; Fri, 14 Jun 2024 13:31:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE0B6E2B14; Fri, 14 Jun 2024 13:31:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE949E2B14 for ; Fri, 14 Jun 2024 13:31:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A339033BEEE for ; Fri, 14 Jun 2024 13:31:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECFBC1CEA for ; Fri, 14 Jun 2024 13:31:08 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1718371798.f00010d947ef04f5ec09701feaaeb17dc1cce799.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/s6-rc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/s6-rc/Manifest sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild X-VCS-Directories: sys-apps/s6-rc/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: f00010d947ef04f5ec09701feaaeb17dc1cce799 X-VCS-Branch: master Date: Fri, 14 Jun 2024 13:31:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 39b38ba6-cc99-4f9b-b893-fe354cb22f58 X-Archives-Hash: 20c3774dba2d2705d2b6a9eff4adbfa6 commit: f00010d947ef04f5ec09701feaaeb17dc1cce799 Author: Petr Vaněk gentoo org> AuthorDate: Fri Jun 14 13:02:28 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Fri Jun 14 13:29:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00010d9 sys-apps/s6-rc: add 0.5.4.3 Signed-off-by: Petr Vaněk gentoo.org> sys-apps/s6-rc/Manifest | 1 + sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sys-apps/s6-rc/Manifest b/sys-apps/s6-rc/Manifest index b8157b68c6fa..a4059c272e87 100644 --- a/sys-apps/s6-rc/Manifest +++ b/sys-apps/s6-rc/Manifest @@ -1 +1,2 @@ DIST s6-rc-0.5.4.2.tar.gz 100896 BLAKE2B d9e6f580a32d27950c7c525a5b657b429616d1c937c71cee302939b847a58bae1d5e209f53113dc82b953b5aa14c6078b206566e4809902a8f06b17c5621205f SHA512 f04e94db957e6d0033e328cc63530f64c9db101815bcafdb00a23205f4e75039dd3e593f93d48e4d9877b0696ea734ca62f672d92ff31e4e07aa19d26d809443 +DIST s6-rc-0.5.4.3.tar.gz 101738 BLAKE2B fbf69bff42c999af063810fd92467de5357d9405dbb3767064ab1aa12bda1262f5622884a1d547ca4d2c03cb9714f0f53acc4389949c65f606780837dcd0ccf7 SHA512 7a54a32ea1261de79b9494adde74b50dbefce831f5a00f9d3772c9b64fd71918ce54a16dff828de0fb762633255226ca935357f9f31c4264716b7041a5f5f8bb diff --git a/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild b/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild new file mode 100644 index 000000000000..0a8af8cd7296 --- /dev/null +++ b/sys-apps/s6-rc/s6-rc-0.5.4.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature 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" + +RDEPEND=" + dev-lang/execline:= + >=dev-libs/skalibs-2.14.0.0:= + >=sys-apps/s6-2.11.3.0:=[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)/s6" + --with-lib="/usr/$(get_libdir)/skalibs" + --with-sysdeps="/usr/$(get_libdir)/skalibs" + --enable-shared + --disable-allstatic + --disable-static + --disable-static-libc + ) + + econf "${myconf[@]}" +} + +pkg_postinst() { + for ver in ${REPLACING_VERSIONS}; do + if ver_test "${ver}" -lt "0.5.4.0"; then + elog "Location of helper utilities was changed from /usr/libexec to /lib/s6 in" + elog "version 0.5.4.0. It is necessary to recompile and update s6-rc database and" + elog "restart s6rc-oneshot-runner service because you are upgrading from older" + elog "version." + fi + done + + optfeature "man pages" app-doc/s6-rc-man-pages +}