diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 05:02:38 +0100 |
commit | f1bc537f089cc8477a9a18db597cb349e1b00e91 (patch) | |
tree | c48eb730c43e5f35729fabbe5cb4bfbe4a1bc794 /app-crypt/dehydrated | |
parent | cb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (diff) |
gentoo resync : 16.06.2018
Diffstat (limited to 'app-crypt/dehydrated')
-rw-r--r-- | app-crypt/dehydrated/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild | 67 | ||||
-rw-r--r-- | app-crypt/dehydrated/metadata.xml | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/app-crypt/dehydrated/Manifest b/app-crypt/dehydrated/Manifest index e599ef85b70a..422e354f5068 100644 --- a/app-crypt/dehydrated/Manifest +++ b/app-crypt/dehydrated/Manifest @@ -5,5 +5,6 @@ DIST dehydrated-0.6.1.tar.gz 76693 BLAKE2B 5ecca2942aedc024e87e7b5aac05d836adbbc 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 415 BLAKE2B 8d9bb04264444c4647ec70e1b95fa7acdad4fa8fd2fa05ebe2c34133b58c0b11f8c534e5649ce8a3a311008f6adc00d68e1229a7ee0fd4d7028d0fad969f26de SHA512 06c66b6a1e1b2378876bf3c1ed29dfd5915c189128e3723f46c07df6366888c6d5eb0a9c84c0387482fdec06d5c687b7f88ec0aec658859bb9c23ee82846e61b +MISC metadata.xml 531 BLAKE2B dcd597fde3bafe2970275a99609546b1a2ef764729cd410a62389a29f8ce95e269f2155970503e041c937a28026c3d70763c86f492c4a8a3478026125eb5eecc SHA512 fe42f3b7b8ca0d2f18d389348599f468eaa80928a05fa7151bae23f5dd73d260fca6ebd3a701eed450b639438e44ca038aef420732e92ab9ddc672c0022bfbdd 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/metadata.xml b/app-crypt/dehydrated/metadata.xml index 146b3f01d685..f2198d055c2f 100644 --- a/app-crypt/dehydrated/metadata.xml +++ b/app-crypt/dehydrated/metadata.xml @@ -8,6 +8,9 @@ <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> |