From: "Marc Schiffbauer" <mschiff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/dehydrated/
Date: Thu, 14 Jun 2018 20:25:33 +0000 (UTC) [thread overview]
Message-ID: <1529007890.732381afb5b3fd6461dfb6833613cf2c73c511e9.mschiff@gentoo> (raw)
commit: 732381afb5b3fd6461dfb6833613cf2c73c511e9
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Thu Jun 14 19:39:27 2018 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 14 20:24:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732381af
Create dehydrated-0.6.2-r1.ebuild
Closes: https://github.com/gentoo/gentoo/pull/8844
app-crypt/dehydrated/dehydrated-0.6.2-r1.ebuild | 67 +++++++++++++++++++++++++
1 file changed, 67 insertions(+)
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 00000000000..328af1a4cfb
--- /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."
+}
next reply other threads:[~2018-06-14 20:25 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 20:25 Marc Schiffbauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 8:12 [gentoo-commits] repo/gentoo:master commit in: app-crypt/dehydrated/ Sam James
2025-03-14 7:39 Arthur Zamarin
2024-06-17 0:17 Sam James
2022-10-03 1:46 Marc Schiffbauer
2022-07-01 5:59 Arthur Zamarin
2021-06-21 23:58 Marek Szuba
2021-02-05 18:12 Thomas Deutschmann
2021-02-05 10:40 Sam James
2021-02-04 19:43 Thomas Deutschmann
2021-02-04 19:43 Thomas Deutschmann
2019-07-06 10:43 Thomas Deutschmann
2019-07-06 10:43 Thomas Deutschmann
2019-07-06 10:43 Thomas Deutschmann
2019-06-27 21:45 Thomas Deutschmann
2019-05-20 11:35 Mikle Kolyada
2019-05-13 1:41 Thomas Deutschmann
2019-05-09 21:55 Aaron Bauman
2019-01-03 23:05 Stephen Klimaszewski
2018-06-14 20:25 Marc Schiffbauer
2018-05-03 8:49 Marc Schiffbauer
2018-05-03 8:10 Marc Schiffbauer
2018-05-03 8:06 Marc Schiffbauer
2018-03-26 19:02 Thomas Deutschmann
2018-03-26 19:02 Thomas Deutschmann
2017-02-28 8:38 Marc Schiffbauer
2017-02-22 20:53 Marc Schiffbauer
2017-02-06 23:48 Marc Schiffbauer
2017-02-06 23:17 Patrice Clement
2016-10-21 22:10 Marc Schiffbauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529007890.732381afb5b3fd6461dfb6833613cf2c73c511e9.mschiff@gentoo \
--to=mschiff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox