summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-10-12 19:12:44 -0700
committerZac Medico <zmedico@gentoo.org>2016-10-12 19:25:42 -0700
commit8d07399f942e500e0d42daa41756625b3ecdb67e (patch)
tree169e980607cc41a769277e13d3e6927cc90f4722 /sys-process/dumb-init
parentsys-process/tini: add package (diff)
downloadgentoo-8d07399f942e500e0d42daa41756625b3ecdb67e.tar.gz
gentoo-8d07399f942e500e0d42daa41756625b3ecdb67e.tar.bz2
gentoo-8d07399f942e500e0d42daa41756625b3ecdb67e.zip
sys-process/dumb-init: add package
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-process/dumb-init')
-rw-r--r--sys-process/dumb-init/Manifest1
-rw-r--r--sys-process/dumb-init/dumb-init-1.2.0.ebuild28
-rw-r--r--sys-process/dumb-init/metadata.xml12
3 files changed, 41 insertions, 0 deletions
diff --git a/sys-process/dumb-init/Manifest b/sys-process/dumb-init/Manifest
new file mode 100644
index 000000000000..170bbc640cdc
--- /dev/null
+++ b/sys-process/dumb-init/Manifest
@@ -0,0 +1 @@
+DIST dumb-init-1.2.0.tar.gz 23370 SHA256 74486997321bd939cad2ee6af030f481d39751bc9aa0ece84ed55f864e309a3f SHA512 07f75771014c897b2e2f4de84b88ef5b829e19df81f6cbde0372a2f30ea78237af8e5cd6ab47b0a104606ea3b85c9883b86f777bc49bc428d52a32a4ff2ddad8 WHIRLPOOL 77385e68de43f043b1137285cbc97d48fa59e48b9053aa0530962692832e6806ad5fcb70e161e6887adfe4dadf211b726724c3b1bc1c09a8af2af05a4c183f00
diff --git a/sys-process/dumb-init/dumb-init-1.2.0.ebuild b/sys-process/dumb-init/dumb-init-1.2.0.ebuild
new file mode 100644
index 000000000000..47da8479f0bd
--- /dev/null
+++ b/sys-process/dumb-init/dumb-init-1.2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A minimal init system for Linux containers"
+HOMEPAGE="https://github.com/Yelp/${PN}"
+SRC_URI="https://github.com/Yelp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static"
+RESTRICT="test"
+
+src_prepare() {
+ eapply_user
+ use static && append-cflags -static
+ sed -e "s|^CFLAGS=.*|CFLAGS=-std=gnu99 ${CFLAGS}|" -i Makefile || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README.md
+}
diff --git a/sys-process/dumb-init/metadata.xml b/sys-process/dumb-init/metadata.xml
new file mode 100644
index 000000000000..e026c3bf74aa
--- /dev/null
+++ b/sys-process/dumb-init/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">Yelp/dumb-init</remote-id>
+ <remote-id type="pypi">dumb-init</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+</pkgmetadata>