summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-10-12 18:41:28 -0700
committerZac Medico <zmedico@gentoo.org>2016-10-12 18:53:25 -0700
commit7390b0c441f96786138142b0a98a4f73f4aac3a5 (patch)
treee4f5b388e45488dd2c498c7a37ad4468b9ab1511 /sys-process/tini
parentdev-python/ldap3: version bump to 1.4.0 (diff)
downloadgentoo-7390b0c441f96786138142b0a98a4f73f4aac3a5.tar.gz
gentoo-7390b0c441f96786138142b0a98a4f73f4aac3a5.tar.bz2
gentoo-7390b0c441f96786138142b0a98a4f73f4aac3a5.zip
sys-process/tini: add package
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-process/tini')
-rw-r--r--sys-process/tini/Manifest1
-rw-r--r--sys-process/tini/metadata.xml11
-rw-r--r--sys-process/tini/tini-0.10.0.ebuild30
3 files changed, 42 insertions, 0 deletions
diff --git a/sys-process/tini/Manifest b/sys-process/tini/Manifest
new file mode 100644
index 000000000000..78d0f6f69c2d
--- /dev/null
+++ b/sys-process/tini/Manifest
@@ -0,0 +1 @@
+DIST tini-0.10.0.tar.gz 24722 SHA256 67ab1f8fda1b3fcceeea2e0b1e06874fc20938d605cecf96e95898b1c38f60ec SHA512 1ca4ede9116656c39b07216934b21e2b5e0cde154b80987b5d9209400ccae9f14c283de2bfffcae51e674e074560d2d60ced30f9d05e940ce422ac3f083a1dcf WHIRLPOOL 725efece7f923845ceee50f4238f81ad3902db316653129bb88c7d6b2093422b56738af440840c65d969eca9685dbc7e3e52b4f29c48a801b19003e871183ab5
diff --git a/sys-process/tini/metadata.xml b/sys-process/tini/metadata.xml
new file mode 100644
index 000000000000..f8b03114569d
--- /dev/null
+++ b/sys-process/tini/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">krallin/tini</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-process/tini/tini-0.10.0.ebuild b/sys-process/tini/tini-0.10.0.ebuild
new file mode 100644
index 000000000000..a9ff2c768c7b
--- /dev/null
+++ b/sys-process/tini/tini-0.10.0.ebuild
@@ -0,0 +1,30 @@
+# 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="static"
+
+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
+}