diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/s6-overlay | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/s6-overlay')
-rw-r--r-- | app-emulation/s6-overlay/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/s6-overlay/metadata.xml | 14 | ||||
-rw-r--r-- | app-emulation/s6-overlay/s6-overlay-1.18.1.3.ebuild | 58 |
3 files changed, 75 insertions, 0 deletions
diff --git a/app-emulation/s6-overlay/Manifest b/app-emulation/s6-overlay/Manifest new file mode 100644 index 000000000000..45cc22332d9e --- /dev/null +++ b/app-emulation/s6-overlay/Manifest @@ -0,0 +1,3 @@ +DIST s6-overlay-1.18.1.3.tar.gz 20067 BLAKE2B 7006549052fb27c8e7ec2a756854ebd82a41a88e14be45657c375321f4c18f482aefc8d21f1d57d8432ff1b836f114aac75a28b56bdd7722b14de3c06330024d SHA512 2b17b86a93e1efc27181a100bb86aacbce2e2c58cfd0d0855a293b99ba5c871a2f17bd10fa14b173b297816ae2d1658aaee2e6a6e25b957ad60f93d535955775 +EBUILD s6-overlay-1.18.1.3.ebuild 1561 BLAKE2B 1432c8ef3f47561dbd517bff8d1390049e7451afaf2f5869daef4ab9f888496f85917026cfd81e94d18480b0c20cb89f74372c1d4dd9c244796bfd60473feabf SHA512 9d672afde5c015c5d7ea89abedd3e7a5126c1ad2d8c3e0702bab1b4f93127b21f64ed2828c8f9c69027d92ce84d943c60fa9f8f30e8c1ad5b20bd6122563b583 +MISC metadata.xml 448 BLAKE2B a25e2cdb6252ffceb870fbb51a3a39dabcf3f65d3eb6b9b4c862042d6b481fcc3363f4f2b1ec6716c9cbcc33db6f75b6a4bd0d59e9cc10fbe0b6842c0690dd4d SHA512 7e71bcc37baca26248aa190379063d76f66abd23c153a194206630b935f0e740bc97811397ee603fb9d6a8ecc02007658a08aa1978d41d847fed7509b27ab01d 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 +} |