1 |
On Tue, 2021-09-14 at 16:47 +0300, Eray Aslan wrote: |
2 |
> --- |
3 |
> eclass/ssl-cert.eclass | 9 +++++++-- |
4 |
> 1 file changed, 7 insertions(+), 2 deletions(-) |
5 |
> |
6 |
> diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass |
7 |
> index 36945be3cd6..e5dfbbb141c 100644 |
8 |
> --- a/eclass/ssl-cert.eclass |
9 |
> +++ b/eclass/ssl-cert.eclass |
10 |
> @@ -6,7 +6,7 @@ |
11 |
> # maintainer-needed@g.o |
12 |
> # @AUTHOR: |
13 |
> # Max Kalika <max@g.o> |
14 |
> -# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7 |
15 |
> +# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7 8 |
16 |
> # @BLURB: Eclass for SSL certificates |
17 |
> # @DESCRIPTION: |
18 |
> # This eclass implements a standard installation procedure for |
19 |
> installing |
20 |
> @@ -19,13 +19,15 @@ case "${EAPI:-0}" in |
21 |
> 0) |
22 |
> die "${ECLASS}.eclass: EAPI=0 is not supported. |
23 |
> Please upgrade to EAPI >= 1." |
24 |
> ;; |
25 |
> - 1|2|3|4|5|6|7) |
26 |
> + 1|2|3|4|5|6|7|8) |
27 |
> ;; |
28 |
> *) |
29 |
> die "${ECLASS}.eclass: EAPI=${EAPI} is not supported |
30 |
> yet." |
31 |
> ;; |
32 |
> esac |
33 |
> |
34 |
> +if [[ ! ${_SSL_CERT_ECLASS} ]]; then |
35 |
> + |
36 |
> # @ECLASS-VARIABLE: SSL_CERT_MANDATORY |
37 |
> # @PRE_INHERIT |
38 |
> # @DESCRIPTION: |
39 |
> @@ -283,3 +285,6 @@ install_cert() { |
40 |
> ewarn "Some requested certificates were not generated" |
41 |
> fi |
42 |
> } |
43 |
> + |
44 |
> +_SSL_CERT_ECLASS=1 |
45 |
> +fi |
46 |
|
47 |
Please remove support for EAPIs < 6. |