public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/tini/
Date: Mon,  4 Jan 2021 23:10:14 +0000 (UTC)	[thread overview]
Message-ID: <1609801617.a770c6979c580d17a912fe16b33a59c2266ddcd8.williamh@gentoo> (raw)

commit:     a770c6979c580d17a912fe16b33a59c2266ddcd8
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  4 22:59:19 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 23:06:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a770c697

sys-apps/tini: 0.19.0 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-process/tini/Manifest           |  1 +
 sys-process/tini/tini-0.19.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest
index 0b361120492..e704ce94a15 100644
--- a/sys-process/tini/Manifest
+++ b/sys-process/tini/Manifest
@@ -1 +1,2 @@
 DIST tini-0.18.0.tar.gz 32152 BLAKE2B d676f0f1b4d9f6dca98cdb626aa7c525ec55e090cfeb1cf0e9ab167f1ef4285123223873e92e81d5d62ceb631e26e9012f16b28b1d35813ac801f8e4594be70b SHA512 83279180b6a875aaff9b6b7446ee7e71fd05357279744afcb4db67c76572dc871acfba86c035857009b5dd88ca75d9f2e815d6a925563cdb3e6e771eb83be9b1
+DIST tini-0.19.0.tar.gz 32369 BLAKE2B 5d86f6299b92152063974e6ecd347e1a2ba90f0188f2a702ddb6c814fc1c9723062481fe560caa89e9f74883017ee833566adf1eb1f11fe625671eced47f3296 SHA512 1fa85b56e2c6085ea474f251928e7a40510d92aeef60b3c145b0496969c1b5df86835d143cb91ef5b4bf4da63fa8a56947cc39a4276e4b72faa57276d432b292

diff --git a/sys-process/tini/tini-0.19.0.ebuild b/sys-process/tini/tini-0.19.0.ebuild
new file mode 100644
index 00000000000..4e04e46695c
--- /dev/null
+++ b/sys-process/tini/tini-0.19.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+GIT_COMMIT=fec3683b971d9c3ef73f284f176672c44b448662
+DESCRIPTION="A tiny but valid init for containers"
+HOMEPAGE="https://github.com/krallin/tini"
+SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="+args +static"
+
+src_prepare() {
+	cmake_src_prepare
+
+	local sed_args=(
+		# Do not strip binary
+		-e 's/-Wl,-s")$/")/'
+
+		# Remove -Werror and -pedantic-errors in order to allow macro
+		# redefinition, so that CFLAGS="-U_FORTIFY_SOURCE" does not
+		# trigger an error due to add_definitions(-D_FORTIFY_SOURCE=2)
+		# in CMakeLists.txt (bug 626438).
+		-e "s/ -Werror / /"
+		-e "s/ -pedantic-errors / /"
+	)
+
+	sed -i "${sed_args[@]}" \
+		-e "s/git.*status --porcelain.*/true/" \
+		-e "s/git.*log -n 1.*/true/" \
+		-e "s/git.\${tini_VERSION_GIT}/git.${GIT_COMMIT}/" \
+		CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=()
+	use args || mycmakeargs+=(-DMINIMAL=ON)
+
+	cmake_src_configure
+}
+
+src_compile() {
+	append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37
+	cmake_src_compile
+}
+
+src_install() {
+	cmake_src_install
+	if use static; then
+		mv "${ED}"/usr/bin/{${PN}-static,${PN}} || die
+	else
+		rm "${ED}"/usr/bin/${PN}-static || die
+	fi
+}


             reply	other threads:[~2021-01-04 23:10 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-04 23:10 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-18 10:37 [gentoo-commits] repo/gentoo:master commit in: sys-process/tini/ Sam James
2022-02-02  1:51 Sam James
2021-11-13  6:03 Sam James
2021-08-13  2:09 Yixun Lan
2021-06-15  2:06 Georgy Yakovlev
2021-06-15  2:06 Georgy Yakovlev
2021-06-11  1:00 Georgy Yakovlev
2021-05-16 12:45 Sam James
2021-04-28 16:44 Mikle Kolyada
2020-10-18  0:48 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-05-04 17:36 Thomas Deutschmann
2020-02-08 16:25 David Seifert
2020-01-17  8:52 Georgy Yakovlev
2019-11-23 11:08 Manuel Rüger
2019-04-16 17:20 Zac Medico
2019-04-16 17:18 Zac Medico
2018-12-11 10:11 Manuel Rüger
2018-07-26  7:32 Zac Medico
2018-07-26  5:45 Zac Medico
2018-06-04 19:25 Mart Raudsepp
2018-04-25  0:51 Manuel Rüger
2018-04-10  1:17 Manuel Rüger
2018-02-27 12:43 Manuel Rüger
2017-11-03 11:54 Manuel Rüger
2017-10-16  3:34 David Seifert
2017-09-25 14:07 Manuel Rüger
2017-09-10 10:59 Manuel Rüger
2017-07-05 11:24 Manuel Rüger
2017-04-22 18:53 William Hubbs
2017-04-21 19:01 William Hubbs
2017-04-21 17:52 William Hubbs
2017-04-20 22:29 Manuel Rüger
2017-04-05 10:21 Michael Weber
2017-01-03  3:09 Zac Medico
2017-01-03  2:59 Zac Medico
2016-11-14 23:12 Manuel Rüger
2016-11-14 17:49 Manuel Rüger
2016-11-14 17:43 Zac Medico
2016-11-03 19:43 Zac Medico
2016-10-13 17:18 Zac Medico
2016-10-13  1:53 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609801617.a770c6979c580d17a912fe16b33a59c2266ddcd8.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox