summaryrefslogtreecommitdiff
path: root/app-crypt/acme-tiny
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/acme-tiny')
-rw-r--r--app-crypt/acme-tiny/Manifest4
-rw-r--r--app-crypt/acme-tiny/acme-tiny-4.1.0.ebuild47
-rw-r--r--app-crypt/acme-tiny/acme-tiny-9999.ebuild3
3 files changed, 51 insertions, 3 deletions
diff --git a/app-crypt/acme-tiny/Manifest b/app-crypt/acme-tiny/Manifest
index 43aec4e24ee5..5148aa627926 100644
--- a/app-crypt/acme-tiny/Manifest
+++ b/app-crypt/acme-tiny/Manifest
@@ -1,4 +1,6 @@
DIST acme-tiny-4.0.4.tar.gz 12667 BLAKE2B 6177d639a2d65080f84ca93400405c01ef18cb3c8d18ef5e7e57af1eede9d6f1e105ca7f6f89014e79c5cb1d865d3c81f590abdb37e8caa6b9699ea20064f698 SHA512 e66befe8262b3396e5e55ea01fc47c668c527868832d2ccdc2786156ec52e698fd20cb6fa4fe861d97947d64f4b6c751be9c79bf546eaac34978c53b9e6f85e4
+DIST acme-tiny-4.1.0.tar.gz 12776 BLAKE2B 7efd9d1399ec3bbd98180511c9f36fbf6f9a96a0d4e0e72b9d4c85d16246118eaaad25bc26ba42f746fd4b60b498ceca5307e279d788157237ac6ad153848501 SHA512 31d69a5031c019acbc23b3f06041eae8e261766396d4a7420fd70a71cfa16de953bea4c0c2ad0c6a6e793ed61ab5331f40145352ffce69f4f062f35dd0db7519
EBUILD acme-tiny-4.0.4.ebuild 1123 BLAKE2B b2eeaab3c586da0a554d7707a82d426573e91c876231d9234c8de20b1635360ac0ad57a0a025efc4bbfabc61853e1f4be6965421312ebe96f997ea5a90370864 SHA512 0aca96327d05bcacb6e960d69bb6972a234cb7d1316eb89021f42f06f756ed454033879e58dc9dc726043221a94c990635b54f9a26b08264e5aabf88e7e480a6
-EBUILD acme-tiny-9999.ebuild 1119 BLAKE2B da97a138852c81eb93e58ed071350e3a718291da3a59abe2d6df0941a3b1cef8af434527d5179699b052f3a94ef29e0926188fb0e59ba9007cd70351cc0fc1ff SHA512 077a62a16009f100e1d5945572734b5acb5fecd5c56efed161b4ded75d072e5544f6f850ae42e045a47275660e642a50fe39df4987272a87abf5389d26bc4d54
+EBUILD acme-tiny-4.1.0.ebuild 1114 BLAKE2B f89edfc1bbbe6d7775a19672d269a0e52aebb6e0d5ad3e9af8db495cd4d6c4f6ab21db97d7baea00ee289d67e5bf9e22191bc154bfba2cd67ed2b2dd80373cf0 SHA512 9701da44e3c150c0a27204ac933e21060e62f86dc16ba66fa10406a6c9e8525521f30bbf2a32acc80fa21ebc7e33c6b229065b10304c4f66740c80106554b301
+EBUILD acme-tiny-9999.ebuild 1114 BLAKE2B 82fb2e53832a806c908e634e1c6af5523050feff73ca126541f088e5f9d6d4782b45767e5b6a34ad27483e24dbf48f71039924f685e965cf2dc74887272e4f0a SHA512 960b6ef1e9ac8e7d076da62ef0b7035a88a90e95f8a7f22f6d79789a341e67ee82db5b8877a9972fdc0df7f1280fe409d1351b8ad8ad695fd9e6fd8493135d35
MISC metadata.xml 329 BLAKE2B ced7f9ec6d26b74b6c0ee133935595f1d7d4dcb7d0e134f072b66725151980d013fcc5a7ef30708dca402c6a8449e119bbf3084b85afa301965aee3465e1b034 SHA512 3c6601f8249de10c7cf8b14bd128d5d564671ebb5eb6554eaebf7b6e01b0469f2a26ae658aa05f6391ce28029c5a5d422e2ed12115f2a5451d17ceca4258684b
diff --git a/app-crypt/acme-tiny/acme-tiny-4.1.0.ebuild b/app-crypt/acme-tiny/acme-tiny-4.1.0.ebuild
new file mode 100644
index 000000000000..a1911edadfdc
--- /dev/null
+++ b/app-crypt/acme-tiny/acme-tiny-4.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
+inherit distutils-r1
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/diafygi/${PN}.git"
+else
+ SRC_URI="https://github.com/diafygi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A tiny, auditable script for Let's Encrypt's ACME Protocol"
+HOMEPAGE="https://github.com/diafygi/acme-tiny"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+RDEPEND="dev-libs/openssl:0"
+
+pkg_setup() {
+ if [[ ${PV} != 9999 ]]; then
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
+ fi
+}
+
+src_prepare() {
+ sed -i 's|#!/usr/bin/sh|#!/bin/sh|g' README.md || die
+
+ distutils-r1_src_prepare
+}
+
+pkg_postinst() {
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "$v" "-lt" "4.0.3" || ver_test "$v" "-ge" "9999"; then
+ einfo "The --account-email flag has been changed to --contact and"
+ einfo "has different syntax."
+ einfo "Please update your scripts accordingly"
+ fi
+ done
+}
diff --git a/app-crypt/acme-tiny/acme-tiny-9999.ebuild b/app-crypt/acme-tiny/acme-tiny-9999.ebuild
index 4d15c1d8601b..8521a3767ad0 100644
--- a/app-crypt/acme-tiny/acme-tiny-9999.ebuild
+++ b/app-crypt/acme-tiny/acme-tiny-9999.ebuild
@@ -3,13 +3,12 @@
EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_8} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/diafygi/${PN}.git"
- KEYWORDS=""
else
SRC_URI="https://github.com/diafygi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"