1 |
commit: ccd64c52c0f7f372bb9c3115c9e5c10407f5dcd6 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 18:12:21 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 18:12:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd64c52 |
7 |
|
8 |
app-crypt/dehydrated: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
app-crypt/dehydrated/Manifest | 1 - |
14 |
app-crypt/dehydrated/dehydrated-0.6.5.ebuild | 68 ---------------------------- |
15 |
2 files changed, 69 deletions(-) |
16 |
|
17 |
diff --git a/app-crypt/dehydrated/Manifest b/app-crypt/dehydrated/Manifest |
18 |
index 0feddd582c2..a30f779bfc9 100644 |
19 |
--- a/app-crypt/dehydrated/Manifest |
20 |
+++ b/app-crypt/dehydrated/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST dehydrated-0.6.5.tar.gz 82274 BLAKE2B 3c8138bafdaab9c60db1463860d6c16dd0fb8e686f368e55a4fa010d004f350d03cdd161dde38361411506959f896a25ef802b76432c0fcd89a69d75fe1be9c9 SHA512 da8ff3ecb7ddeb25356469fa272aef4e7c3705049caf88d09656dbc4baf29e0efa135e6f154c78cec82da17a27a78f2145ee3b7bd71521a080e10550d09b8a53 |
23 |
DIST dehydrated-0.7.0.tar.gz 86574 BLAKE2B 35a3b0b7592126ca65003a6c9eb8934a76584710d028057e5add7f77bb2fa3799e89a060306da3b98a62d291229a2a78f23e0f95f19e033796aee31e97b94488 SHA512 47740d2d31ca73482a4fc5ed0dfce986af907dd5449cb3a5230bf9683845686c8122fc32e6219a4439574ef11d6fb104ee09591c5ff667927a2c9c13ba005511 |
24 |
|
25 |
diff --git a/app-crypt/dehydrated/dehydrated-0.6.5.ebuild b/app-crypt/dehydrated/dehydrated-0.6.5.ebuild |
26 |
deleted file mode 100644 |
27 |
index 6f4d78f26c1..00000000000 |
28 |
--- a/app-crypt/dehydrated/dehydrated-0.6.5.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,68 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI="7" |
35 |
- |
36 |
-inherit user |
37 |
- |
38 |
-DESCRIPTION="A client for signing certificates with an ACME-server" |
39 |
-HOMEPAGE="https://github.com/lukas2511/dehydrated" |
40 |
-SRC_URI="https://github.com/lukas2511/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="MIT" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 arm arm64 x86" |
45 |
-IUSE="+cron" |
46 |
- |
47 |
-DEPEND="cron? ( virtual/cron )" |
48 |
-RDEPEND=" |
49 |
- ${DEPEND} |
50 |
- app-shells/bash |
51 |
- net-misc/curl |
52 |
-" |
53 |
- |
54 |
-src_configure() { |
55 |
- default |
56 |
- sed -i 's,^#CONFIG_D=.*,CONFIG_D="/etc/dehydrated/config.d",' docs/examples/config || die "could not set config (CONFIG_D)" |
57 |
-} |
58 |
- |
59 |
-src_install() { |
60 |
- dobin "${PN}" |
61 |
- insinto "/etc/${PN}" |
62 |
- doins docs/examples/{config,domains.txt,hook.sh} |
63 |
- fperms u+x "/etc/${PN}/hook.sh" |
64 |
- dodoc docs/*.md |
65 |
- |
66 |
- insinto /etc/"${PN}"/config.d |
67 |
- doins "${FILESDIR}"/00_gentoo.sh |
68 |
- |
69 |
- if use cron ; then |
70 |
- insinto "/etc/cron.d" |
71 |
- newins "${FILESDIR}"/cron "${PN}" |
72 |
- fi |
73 |
- |
74 |
- dodir /etc/"${PN}"/config.d |
75 |
- keepdir /etc/"${PN}"/config.d |
76 |
- |
77 |
- default |
78 |
-} |
79 |
- |
80 |
-pkg_preinst() { |
81 |
- enewgroup "${PN}" |
82 |
- enewuser "${PN}" -1 -1 /var/lib/"${PN}" "${PN}" |
83 |
-} |
84 |
- |
85 |
-pkg_postinst() { |
86 |
- if [[ "${REPLACING_VERSIONS}" =~ (0\.3\.1|0\.4\.0) ]]; then |
87 |
- ewarn "" |
88 |
- ewarn "The new default BASEDIR is now '/var/lib/dehydrated'" |
89 |
- ewarn "Please consider migrating your data with a command like" |
90 |
- ewarn "" |
91 |
- ewarn " 'mv -v /etc/dehydrated/{accounts,archive,certs,lock} /var/lib/dehydrated'" |
92 |
- ewarn "" |
93 |
- ewarn "and make sure BASEDIR is set to '/var/lib/dehydrated'" |
94 |
- ewarn "" |
95 |
- fi |
96 |
- einfo "See /etc/dehydrated/config for configuration." |
97 |
- use cron && einfo "After finishing setup you should enable the cronjob in /etc/cron.d/dehydrated." |
98 |
-} |