diff options
Diffstat (limited to 'app-crypt/dehydrated')
-rw-r--r-- | app-crypt/dehydrated/Manifest | 10 | ||||
-rw-r--r-- | app-crypt/dehydrated/dehydrated-0.4.0-r3.ebuild | 63 | ||||
-rw-r--r-- | app-crypt/dehydrated/dehydrated-0.6.1.ebuild | 64 | ||||
-rw-r--r-- | app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild | 67 | ||||
-rw-r--r-- | app-crypt/dehydrated/dehydrated-0.6.2.ebuild | 64 | ||||
-rw-r--r-- | app-crypt/dehydrated/files/00_gentoo.sh | 3 | ||||
-rw-r--r-- | app-crypt/dehydrated/files/cron | 2 | ||||
-rw-r--r-- | app-crypt/dehydrated/metadata.xml | 17 |
8 files changed, 290 insertions, 0 deletions
diff --git a/app-crypt/dehydrated/Manifest b/app-crypt/dehydrated/Manifest new file mode 100644 index 000000000000..422e354f5068 --- /dev/null +++ b/app-crypt/dehydrated/Manifest @@ -0,0 +1,10 @@ +AUX 00_gentoo.sh 115 BLAKE2B f24fe757e45d9af58adb9417ef6dbd36c5db85bdc50af1403048a01625dac68e649fee2913ed2c9f199ec285666cb4b9100650b3b1b54929005260c2182adb49 SHA512 2092f8bffbc6b34fa806276194873fed42146d8c8a434bb68088e03ec9eb0a2e0c1862a9ade67d56a6bd553119cd00f8815353b71345e451039254708430e52b +AUX cron 71 BLAKE2B 88ec5a0d8618bc9e058d4cb3fedb0f74a530828bf63dd58a267386bd3ed2c3b647a642bfca14f6b05161d13266983bf5672787c7fc5c44e55d953ebebf346259 SHA512 0a8ac29abf2ce84b7b429ec969a3fcbfbab3ba0ed854237efa9bc86eb62859138b027f8879e016d4bedabc788ead0bb5d55ea5b629687c0c980cb63b225852b6 +DIST dehydrated-0.4.0.tar.gz 74005 BLAKE2B ad55b7c53be0bc0c08ff372171638e9739a6213062b45c36e6ca5bce205b35d097bcffb6d1db6cd9c01f46a6ea31143cd2713bffb5e19f91041969e96a3cc337 SHA512 3c8c0f2fab57a432b69451f8372c02666dd953985679d12a2af9f6b917335b5b10a1196699106e317660039178ce1139a4d5455d4825a152b6911596fba16738 +DIST dehydrated-0.6.1.tar.gz 76693 BLAKE2B 5ecca2942aedc024e87e7b5aac05d836adbbc8bb1dfb38bfcd396a63e9d3e8637d625e279c4e5a47514c0b4f27006226dad7257a620da49c426c256e5267a33d SHA512 c3ef92da4e0e12100d267422eb2667607842f6fb0fe10cbc4d10aee9b5137d292db2348eca34b1f492e21c6c325dcbb595a9ab4de634e4d4a43346be1e2ce0ad +DIST dehydrated-0.6.2.tar.gz 77819 BLAKE2B 5a1cc097b42d5c4d9513b5a13c86f0b101b3442fb6cfbe54563357095619764724a2158e050a8e8b13a60a9effe83a5339ec647ef5a93622c8d63f1fcdb72be8 SHA512 97cce8f4936482d6b3a7d4227d8735b1c91f3b6cb7c728669a4a5139605932a88171c7e5d715d269782f260454d06ee95a0f6cd2735521e22c4f69bdc3e38f86 +EBUILD dehydrated-0.4.0-r3.ebuild 1554 BLAKE2B 3fbd4b2d0eda6858f085d2644709897faefbfab26855e37682b7f45a4d262bf80c8a72f8d757df94179f72b7b9a94e7b163cdfcde7d8a72f5e5cf655e05b2e4d SHA512 619e37279c8f7070d2e74f15033d7b6d098479b1837d73cdc9789b6a810160643b2561f268a63acc712abad365ee645150c76bd8c6f5c35e75d734dd3ec280c4 +EBUILD dehydrated-0.6.1.ebuild 1569 BLAKE2B 543ed28a4ff57bc5306f939e4ce0131af9434a437b867fee4e28ca4b0fec39478a370d97d0e3eec02b169c72e405170ad9d89a8f733a7a6f7936d9a49ae7b4a9 SHA512 9d5f30868d67e3e8bc8968142e5f27cb39aa5ff71897c993c15af598d5caf33329ae85947befda40a956ad7c10f78853d3269cc54f908885466cea47680eabec +EBUILD dehydrated-0.6.2-r1.ebuild 1630 BLAKE2B 637aebbef3fa97dae78a182ed9cc2e6feeb09c6e15ef6588b485ca16b86f530f8c210086d3df53adcb756845532d2d8c76ce164b61a88495a09336dde8efd381 SHA512 3ee7b5cc1303b797cd574f24030a7eb8413c8c39e039ebf18141fb7711390b6f56195d8140ea957b37abc10bd51be6a48911425910eb7776f74d7ec96af99bf1 +EBUILD dehydrated-0.6.2.ebuild 1569 BLAKE2B 543ed28a4ff57bc5306f939e4ce0131af9434a437b867fee4e28ca4b0fec39478a370d97d0e3eec02b169c72e405170ad9d89a8f733a7a6f7936d9a49ae7b4a9 SHA512 9d5f30868d67e3e8bc8968142e5f27cb39aa5ff71897c993c15af598d5caf33329ae85947befda40a956ad7c10f78853d3269cc54f908885466cea47680eabec +MISC metadata.xml 531 BLAKE2B dcd597fde3bafe2970275a99609546b1a2ef764729cd410a62389a29f8ce95e269f2155970503e041c937a28026c3d70763c86f492c4a8a3478026125eb5eecc SHA512 fe42f3b7b8ca0d2f18d389348599f468eaa80928a05fa7151bae23f5dd73d260fca6ebd3a701eed450b639438e44ca038aef420732e92ab9ddc672c0022bfbdd diff --git a/app-crypt/dehydrated/dehydrated-0.4.0-r3.ebuild b/app-crypt/dehydrated/dehydrated-0.4.0-r3.ebuild new file mode 100644 index 000000000000..04a980e238ad --- /dev/null +++ b/app-crypt/dehydrated/dehydrated-0.4.0-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="a client for signing certificates with an ACME-server" +HOMEPAGE="https://github.com/lukas2511/dehydrated" +SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/cron" +RDEPEND=" + ${DEPEND} + app-shells/bash +" + +src_configure() { + default + sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" +} + +src_install() { + dobin "${PN}" + insinto "/etc/${PN}" + doins docs/examples/{config,domains.txt,hook.sh} + dodoc docs/*.md + + insinto /etc/"${PN}"/config.d + doins "${FILESDIR}"/00_gentoo.sh + + insinto "/etc/cron.d" + newins "${FILESDIR}"/cron "${PN}" + + dodir /etc/"${PN}"/config.d + keepdir /etc/"${PN}"/config.d + + default +} + +pkg_preinst() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" +} + +pkg_postinst() { + if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then + ewarn "" + ewarn "The new default BASEDIR is now '/var/lib/dehydrated'" + ewarn "Please consider migrating your data with a command like" + ewarn "" + ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'" + ewarn "" + ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'" + ewarn "" + fi + einfo "See /etc/dehydrated/config for configuration." + einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated." +} diff --git a/app-crypt/dehydrated/dehydrated-0.6.1.ebuild b/app-crypt/dehydrated/dehydrated-0.6.1.ebuild new file mode 100644 index 000000000000..a04c83040fd4 --- /dev/null +++ b/app-crypt/dehydrated/dehydrated-0.6.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="a client for signing certificates with an ACME-server" +HOMEPAGE="https://github.com/lukas2511/dehydrated" +SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/cron" +RDEPEND=" + ${DEPEND} + app-shells/bash + net-misc/curl +" + +src_configure() { + default + sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" +} + +src_install() { + dobin "${PN}" + insinto "/etc/${PN}" + doins docs/examples/{config,domains.txt,hook.sh} + dodoc docs/*.md + + insinto /etc/"${PN}"/config.d + doins "${FILESDIR}"/00_gentoo.sh + + insinto "/etc/cron.d" + newins "${FILESDIR}"/cron "${PN}" + + dodir /etc/"${PN}"/config.d + keepdir /etc/"${PN}"/config.d + + default +} + +pkg_preinst() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" +} + +pkg_postinst() { + if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then + ewarn "" + ewarn "The new default BASEDIR is now '/var/lib/dehydrated'" + ewarn "Please consider migrating your data with a command like" + ewarn "" + ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'" + ewarn "" + ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'" + ewarn "" + fi + einfo "See /etc/dehydrated/config for configuration." + einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated." +} diff --git a/app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild b/app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild new file mode 100644 index 000000000000..328af1a4cfb7 --- /dev/null +++ b/app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="a client for signing certificates with an ACME-server" +HOMEPAGE="https://github.com/lukas2511/dehydrated" +SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+cron" + +DEPEND="cron? ( virtual/cron )" +RDEPEND=" + ${DEPEND} + app-shells/bash + net-misc/curl +" + +src_configure() { + default + sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" +} + +src_install() { + dobin "${PN}" + insinto "/etc/${PN}" + doins docs/examples/{config,domains.txt,hook.sh} + dodoc docs/*.md + + insinto /etc/"${PN}"/config.d + doins "${FILESDIR}"/00_gentoo.sh + + if use cron ; then + insinto "/etc/cron.d" + newins "${FILESDIR}"/cron "${PN}" + fi + + dodir /etc/"${PN}"/config.d + keepdir /etc/"${PN}"/config.d + + default +} + +pkg_preinst() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" +} + +pkg_postinst() { + if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then + ewarn "" + ewarn "The new default BASEDIR is now '/var/lib/dehydrated'" + ewarn "Please consider migrating your data with a command like" + ewarn "" + ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'" + ewarn "" + ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'" + ewarn "" + fi + einfo "See /etc/dehydrated/config for configuration." + use cron && einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated." +} diff --git a/app-crypt/dehydrated/dehydrated-0.6.2.ebuild b/app-crypt/dehydrated/dehydrated-0.6.2.ebuild new file mode 100644 index 000000000000..a04c83040fd4 --- /dev/null +++ b/app-crypt/dehydrated/dehydrated-0.6.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="a client for signing certificates with an ACME-server" +HOMEPAGE="https://github.com/lukas2511/dehydrated" +SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/cron" +RDEPEND=" + ${DEPEND} + app-shells/bash + net-misc/curl +" + +src_configure() { + default + sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" +} + +src_install() { + dobin "${PN}" + insinto "/etc/${PN}" + doins docs/examples/{config,domains.txt,hook.sh} + dodoc docs/*.md + + insinto /etc/"${PN}"/config.d + doins "${FILESDIR}"/00_gentoo.sh + + insinto "/etc/cron.d" + newins "${FILESDIR}"/cron "${PN}" + + dodir /etc/"${PN}"/config.d + keepdir /etc/"${PN}"/config.d + + default +} + +pkg_preinst() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" +} + +pkg_postinst() { + if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then + ewarn "" + ewarn "The new default BASEDIR is now '/var/lib/dehydrated'" + ewarn "Please consider migrating your data with a command like" + ewarn "" + ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'" + ewarn "" + ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'" + ewarn "" + fi + einfo "See /etc/dehydrated/config for configuration." + einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated." +} diff --git a/app-crypt/dehydrated/files/00_gentoo.sh b/app-crypt/dehydrated/files/00_gentoo.sh new file mode 100644 index 000000000000..cab73dbfa8e2 --- /dev/null +++ b/app-crypt/dehydrated/files/00_gentoo.sh @@ -0,0 +1,3 @@ +# base config required for gentoo defaults +BASEDIR="/var/lib/dehydrated" +DOMAINS_TXT="/etc/dehydrated/domains.txt" diff --git a/app-crypt/dehydrated/files/cron b/app-crypt/dehydrated/files/cron new file mode 100644 index 000000000000..df03b5fcee13 --- /dev/null +++ b/app-crypt/dehydrated/files/cron @@ -0,0 +1,2 @@ +# dehydrated cron job +#0 2 * * * dehydrated /usr/bin/dehydrated --cron diff --git a/app-crypt/dehydrated/metadata.xml b/app-crypt/dehydrated/metadata.xml new file mode 100644 index 000000000000..f2198d055c2f --- /dev/null +++ b/app-crypt/dehydrated/metadata.xml @@ -0,0 +1,17 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mschiff@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>whissi@gentoo.org</email> + <name>Thomas Deutschmann</name> + </maintainer> + <use> + <flag name="cron">Install cron job to sign/renew non-existent/changed/expiring certificates</flag> + </use> + <upstream> + <remote-id type="github">lukas2511/dehydrated</remote-id> + </upstream> +</pkgmetadata> |