summaryrefslogtreecommitdiff
path: root/app-emulation/s6-overlay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/s6-overlay
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/s6-overlay')
-rw-r--r--app-emulation/s6-overlay/Manifest4
-rw-r--r--app-emulation/s6-overlay/metadata.xml14
-rw-r--r--app-emulation/s6-overlay/s6-overlay-1.18.1.3.ebuild58
3 files changed, 76 insertions, 0 deletions
diff --git a/app-emulation/s6-overlay/Manifest b/app-emulation/s6-overlay/Manifest
new file mode 100644
index 000000000000..bb2b24512829
--- /dev/null
+++ b/app-emulation/s6-overlay/Manifest
@@ -0,0 +1,4 @@
+DIST s6-overlay-1.18.1.3.tar.gz 20067 SHA256 15d16c0882a3bc014e6dd7de0f13dbdb2a4acdee4b48365db3d3b18d9c2bed5d SHA512 2b17b86a93e1efc27181a100bb86aacbce2e2c58cfd0d0855a293b99ba5c871a2f17bd10fa14b173b297816ae2d1658aaee2e6a6e25b957ad60f93d535955775 WHIRLPOOL ea53eb5595fbaa7340ae3223a0a885b57c94fa478b9cbe13cfab58c7fc61deb4714ccce624066be363530aa6f664365f36db9d9d84e8142ebc93c158d9de4829
+EBUILD s6-overlay-1.18.1.3.ebuild 1561 SHA256 1ea035430c8d032a5f5483a991ce40b9d826e5b7df086d66c6720457c8893ec9 SHA512 9d672afde5c015c5d7ea89abedd3e7a5126c1ad2d8c3e0702bab1b4f93127b21f64ed2828c8f9c69027d92ce84d943c60fa9f8f30e8c1ad5b20bd6122563b583 WHIRLPOOL 9a721795fc84792b374f1f18456ff91a01d824912fcde5c5a190fd0bd427543849480b4cf8b706e5f34ee922be340c777081ff04745d5f3c11a9e2791a5ca506
+MISC ChangeLog 479 SHA256 131d88675dfdfe6a5dcea7c2581625325f2c0ef97e1f49d7a029396ab5a47e98 SHA512 c54c06a67afa98e2b689cf36e9369bc4b2603aefb45c41970ca2e3f31103e45cd3810eddc502efde9557f47a5163eb4b558a1a0f8d1a0bc228d8aabeb7b4645a WHIRLPOOL ae650903366a285d0e35c368cbdf786b5f97ba16193fc0170fbaf64e319f8fb80b89ec05e1e0a4eb038082ef40f7cc2a6dd4904d30be8bba8da8c0c470bf4e64
+MISC metadata.xml 448 SHA256 9a0866952c44ddefd8a402c86f7d705faf0f21c67cf59d2235213ae9fb6c23ee SHA512 7e71bcc37baca26248aa190379063d76f66abd23c153a194206630b935f0e740bc97811397ee603fb9d6a8ecc02007658a08aa1978d41d847fed7509b27ab01d WHIRLPOOL 7761b7597ea70cb9673fa96d76506fe503eea471943156ebff7de7ebe2e40421bf3f3267526cf1418438808691c85957579379dfb01423aa3f9c36a822a08162
diff --git a/app-emulation/s6-overlay/metadata.xml b/app-emulation/s6-overlay/metadata.xml
new file mode 100644
index 000000000000..1982ba7173f5
--- /dev/null
+++ b/app-emulation/s6-overlay/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is an s6-based custom init to be used in containers.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">just-containers/s6-overlay</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emulation/s6-overlay/s6-overlay-1.18.1.3.ebuild b/app-emulation/s6-overlay/s6-overlay-1.18.1.3.ebuild
new file mode 100644
index 000000000000..c9dd1445da21
--- /dev/null
+++ b/app-emulation/s6-overlay/s6-overlay-1.18.1.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/just-containers/${PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/just-containers/${PN}/archive/v${PV}.tar.gz ->
+ ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit vcs-snapshot
+fi
+
+DESCRIPTION="an s6-based init system for containers"
+HOMEPAGE="https://github.com/just-containers/s6-overlay"
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="sys-apps/s6
+ sys-apps/s6-portable-utils"
+
+src_install() {
+ dodoc *.md
+ cd builder/overlay-rootfs
+ dobin usr/bin/{fix-attrs,logutil*,print*,with*}
+
+ insinto /
+ doins -r etc init
+
+ # create must exist directories
+ dodir /etc/{cont-init.d,cont-finish.d,fix-attrs.d,services.d}
+ dodir /etc/s6/init/env-stage2
+
+ # create "supervise" directory in fdholder, its needed for no-catchall
+ # stage2 wake up
+ dodir /etc/s6/services/s6-fdholderd/supervise
+ fperms 0700 /etc/s6/services/s6-fdholderd/supervise
+
+ # fix misc permissions
+ fperms 0755 /init
+ fperms 0755 /etc/s6/init/init-stage1 \
+ /etc/s6/init/init-stage2 \
+ /etc/s6/init/init-stage2-redirfd \
+ /etc/s6/init/init-stage3
+ fperms 0755 /etc/s6/init-catchall/init-stage1 \
+ /etc/s6/init-catchall/init-stage2
+ fperms 0755 /etc/s6/init-no-catchall/init-stage1 \
+ /etc/s6/init-no-catchall/init-stage2
+ fperms 0755 /etc/s6/services/.s6-svscan/crash
+ fperms 0755 /etc/s6/services/.s6-svscan/finish
+ fperms 0755 /etc/s6/services/s6-fdholderd/run
+ fperms 0755 /etc/s6/services/s6-svscan-log/run
+}