public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/dehydrated/
Date: Mon, 26 Mar 2018 19:02:06 +0000 (UTC)	[thread overview]
Message-ID: <1522090915.7c2ec6dedb9a29cc48092722f331bf651d0614a5.whissi@gentoo> (raw)

commit:     7c2ec6dedb9a29cc48092722f331bf651d0614a5
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 26 19:00:12 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 19:01:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2ec6de

app-crypt/dehydrated: Bump to v0.6.1

Closes: https://bugs.gentoo.org/648928
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-crypt/dehydrated/Manifest                |  1 +
 app-crypt/dehydrated/dehydrated-0.6.1.ebuild | 64 ++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/app-crypt/dehydrated/Manifest b/app-crypt/dehydrated/Manifest
index 6906aa69809..13596883642 100644
--- a/app-crypt/dehydrated/Manifest
+++ b/app-crypt/dehydrated/Manifest
@@ -1,2 +1,3 @@
 DIST dehydrated-0.3.1.tar.gz 71375 BLAKE2B 9ab014d0a4cc744081bd8aa134c460408da7f9936f1c41ef890bcebc70282fa61828620be3850cbb02f5b59b4e4fd32bdc41395340aa3673f906f154ca0877b9 SHA512 34b57edc6ab950c2c0163795ef45d6fa104dcf02978bbfa325da63f7d844176ecf20cb8d7604cfedc6b2f47d8c12ce1db5b37f532eda7fffa194b4603e4ee3b9
 DIST dehydrated-0.4.0.tar.gz 74005 BLAKE2B ad55b7c53be0bc0c08ff372171638e9739a6213062b45c36e6ca5bce205b35d097bcffb6d1db6cd9c01f46a6ea31143cd2713bffb5e19f91041969e96a3cc337 SHA512 3c8c0f2fab57a432b69451f8372c02666dd953985679d12a2af9f6b917335b5b10a1196699106e317660039178ce1139a4d5455d4825a152b6911596fba16738
+DIST dehydrated-0.6.1.tar.gz 76693 BLAKE2B 5ecca2942aedc024e87e7b5aac05d836adbbc8bb1dfb38bfcd396a63e9d3e8637d625e279c4e5a47514c0b4f27006226dad7257a620da49c426c256e5267a33d SHA512 c3ef92da4e0e12100d267422eb2667607842f6fb0fe10cbc4d10aee9b5137d292db2348eca34b1f492e21c6c325dcbb595a9ab4de634e4d4a43346be1e2ce0ad

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 00000000000..a04c83040fd
--- /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."
+}


             reply	other threads:[~2018-03-26 19:02 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-26 19:02 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-17  0:17 [gentoo-commits] repo/gentoo:master commit in: app-crypt/dehydrated/ 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-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
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=1522090915.7c2ec6dedb9a29cc48092722f331bf651d0614a5.whissi@gentoo \
    --to=whissi@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