diff options
Diffstat (limited to 'www-misc/skein')
-rw-r--r-- | www-misc/skein/Manifest | 4 | ||||
-rw-r--r-- | www-misc/skein/files/cgit-chroot.initd | 21 | ||||
-rw-r--r-- | www-misc/skein/files/skein-infra.initd | 21 | ||||
-rw-r--r-- | www-misc/skein/skein-0.1.0.ebuild (renamed from www-misc/skein/skein-0.0.1-r1.ebuild) | 2 |
4 files changed, 24 insertions, 24 deletions
diff --git a/www-misc/skein/Manifest b/www-misc/skein/Manifest index df8b12e..71b17f6 100644 --- a/www-misc/skein/Manifest +++ b/www-misc/skein/Manifest @@ -1,3 +1,3 @@ -AUX cgit-chroot.initd 477 BLAKE2B 721806eb51c5495863ee27d23e2c8c007de1f173c97cdccddd37c25822c05750af56b7323e231fec1bf67a1ead63da2b56358ffa7acd7b62f1548ed626bd9cee SHA512 a293d716645ff892aff05881167eb24c2edfbe087bb5d052c166b1f4120d8f473249e496dc65b3f41ff8e1627cfa865bf4aea212a1e8d701a00381805ce75e67 -EBUILD skein-0.0.1-r1.ebuild 573 BLAKE2B f70bb3443e3f3911eaa33708595685a03003a5b149733fb8072ff71b8deaa7035d30ad21eed68857c89eb2fa821b790a0061dd30354d83d4aed6beefcf21c6f2 SHA512 8f676f0a3ce3f2aea958c5fc6026cab63ed4ef1a7119bf5d26512b4f01968983f0a4d583f2bdc0b8fd0858273a89ab3af03e5509af41cd13ba2a25e14929cb74 +AUX skein-infra.initd 474 BLAKE2B 94e301f150e4c9338971e0624e1e6753004ff9b09aee4c140cc1c1eab233669e7ffd15b7fb7c9ad52366fbffb38e66006244cf1b02c97bed3dfbf5e4a6123a3d SHA512 5981641427f5da68bbbde82afcf225bf3ed9c7adc07e1a90cb232b1a5a17602ca33e3ab3273458372372a9f5fa6efd7c67eaea862fc2ffeb916b0083c1ec4267 +EBUILD skein-0.1.0.ebuild 573 BLAKE2B 159d9520bb77b59e64e30038ca03ccb67cdb3f50b44bb3641a5a8eecfc9e7f2c277ceb9911b24f08dc9181b4e1fc25e5d202a919b5994061220d02239cf7165e SHA512 1dd62ca31bd1be07dc04ff503d4db7e5d45a5b87fcf84c848b429ce2ebc7cb00a2adb8cc3f5fa51233eea3495817a110adeedc96fd8a52bc7df3f1881d55e35f MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b diff --git a/www-misc/skein/files/cgit-chroot.initd b/www-misc/skein/files/cgit-chroot.initd deleted file mode 100644 index bdbc5fb..0000000 --- a/www-misc/skein/files/cgit-chroot.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Sets up the chroot environment for cgit" - -export CGIT_CHROOT="${CGIT_CHROOT:-/srv/cgit}" -export CGIT_GIT_ROOT="${CGIT_GIT_ROOT:-/srv/git}" - -start_pre() { - checkpath -o root -d "${CGIT_CHROOT}" - checkpath -o root -d "${CGIT_GIT_ROOT}" -} - -start() { - /usr/libexec/skein/cgit-chroot setup -} - -stop() { - /usr/libexec/skein/cgit-chroot teardown -} diff --git a/www-misc/skein/files/skein-infra.initd b/www-misc/skein/files/skein-infra.initd new file mode 100644 index 0000000..95febee --- /dev/null +++ b/www-misc/skein/files/skein-infra.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Sets up the chroot environment for cgit" + +export SKEIN_CGIT_ROOT="${SKEIN_CGIT_ROOT:-/srv/cgit}" +export SKEIN_GIT_ROOT="${SKEIN_GIT_ROOT:-/srv/git}" + +start_pre() { + checkpath -o root -d "${SKEIN_CGIT_ROOT}" + checkpath -o root -d "${SKEIN_GIT_ROOT}" +} + +start() { + /usr/sbin/skein-infra setup +} + +stop() { + /usr/sbin/skein-infra teardown +} diff --git a/www-misc/skein/skein-0.0.1-r1.ebuild b/www-misc/skein/skein-0.1.0.ebuild index e20f457..e08aae7 100644 --- a/www-misc/skein/skein-0.0.1-r1.ebuild +++ b/www-misc/skein/skein-0.1.0.ebuild @@ -27,5 +27,5 @@ src_compile() { src_install() { emake PREFIX=/usr DESTDIR="${D}" install - newinitd "${FILESDIR}"/cgit-chroot.initd cgit-chroot + newinitd "${FILESDIR}"/skein-infra.initd skein-infra } |