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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 020AB1395E1 for ; Thu, 3 Nov 2016 19:43:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35ED1E09FC; Thu, 3 Nov 2016 19:43:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0658BE09FC for ; Thu, 3 Nov 2016 19:43:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A152B340EAA for ; Thu, 3 Nov 2016 19:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B20227E1 for ; Thu, 3 Nov 2016 19:43:07 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1478202181.22d5e75e8fdcf517d77dd3c86073dd249298b94a.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/tini/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/tini/Manifest sys-process/tini/metadata.xml sys-process/tini/tini-0.11.0.ebuild X-VCS-Directories: sys-process/tini/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 22d5e75e8fdcf517d77dd3c86073dd249298b94a X-VCS-Branch: master Date: Thu, 3 Nov 2016 19:43:07 +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-Archives-Salt: cf3b4fd1-a472-4f0a-bb25-41f61e8b004c X-Archives-Hash: 247f0ab9ff29dcdcac82e835bdaa7586 commit: 22d5e75e8fdcf517d77dd3c86073dd249298b94a Author: Zac Medico gentoo org> AuthorDate: Thu Nov 3 19:41:27 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Nov 3 19:43:01 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d5e75e sys-process/tini: version bump to 0.11.0 Package-Manager: portage-2.3.2 sys-process/tini/Manifest | 1 + sys-process/tini/metadata.xml | 3 +++ sys-process/tini/tini-0.11.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest index 78d0f6f..628397a 100644 --- a/sys-process/tini/Manifest +++ b/sys-process/tini/Manifest @@ -1 +1,2 @@ DIST tini-0.10.0.tar.gz 24722 SHA256 67ab1f8fda1b3fcceeea2e0b1e06874fc20938d605cecf96e95898b1c38f60ec SHA512 1ca4ede9116656c39b07216934b21e2b5e0cde154b80987b5d9209400ccae9f14c283de2bfffcae51e674e074560d2d60ced30f9d05e940ce422ac3f083a1dcf WHIRLPOOL 725efece7f923845ceee50f4238f81ad3902db316653129bb88c7d6b2093422b56738af440840c65d969eca9685dbc7e3e52b4f29c48a801b19003e871183ab5 +DIST tini-0.11.0.tar.gz 25218 SHA256 fdf86dce32e7e2c5b15bf56220a7e528f8e6d654397964a7046c71b07c9eecfe SHA512 f99004a56d732972a1e2f2232a7637e937980ed576c0e093a9307b5285ab6ba091edf3cd01c66d07ced245b7ca59ca86649470911144469b8c3a48ceacc32e90 WHIRLPOOL d9e4426e857b6ad43917eab3811e9b4ca7c494100db3b0106047104e7b5258c6708ce3e7b6b645a6297145dc4949b687affa50beef3e6e9be8a6bc7a77fc4a88 diff --git a/sys-process/tini/metadata.xml b/sys-process/tini/metadata.xml index f8b0311..709eba8 100644 --- a/sys-process/tini/metadata.xml +++ b/sys-process/tini/metadata.xml @@ -8,4 +8,7 @@ zmedico@gentoo.org Zac Medico + + Enable argument parsing. + diff --git a/sys-process/tini/tini-0.11.0.ebuild b/sys-process/tini/tini-0.11.0.ebuild new file mode 100644 index 00000000..715aed3 --- /dev/null +++ b/sys-process/tini/tini-0.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils flag-o-matic + +DESCRIPTION="A tiny but valid init for containers" +HOMEPAGE="https://github.com/krallin/${PN}" +SRC_URI="https://github.com/krallin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+args static" + +# vim-core is needed just for the xxd program +DEPEND="app-editors/vim-core" + +src_configure() { + local mycmakeargs=() + use args || mycmakeargs+=(-DNO_ARGS=ON) + + cmake-utils_src_configure +} + +src_compile() { + append-cflags -DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + if use static; then + mv "${ED%/}"/usr/bin/{${PN}-static,${PN}} || die + else + rm "${ED%/}"/usr/bin/${PN}-static || die + fi +}