diff options
author | Vlad Glagolev | 2020-05-29 20:52:43 +0000 |
---|---|---|
committer | Vlad Glagolev | 2020-05-29 20:52:43 +0000 |
commit | effe779eae670d3b86d30305ff3db4b7563c8638 (patch) | |
tree | f6cb019c80612e6cf6dcd4db693160e0e8caf7d3 /security | |
parent | 81420816a3b3838ee86e39afd465ac6088b5d2be (diff) |
acme-client: => 1.0.1
Diffstat (limited to 'security')
-rwxr-xr-x | security/acme-client/BUILD | 1 | ||||
-rwxr-xr-x | security/acme-client/DETAILS | 12 | ||||
-rw-r--r-- | security/acme-client/HISTORY | 7 | ||||
-rwxr-xr-x | security/acme-client/INSTALL | 1 | ||||
-rwxr-xr-x | security/acme-client/PRE_BUILD | 6 | ||||
-rw-r--r-- | security/acme-client/libressl.patch | 22 |
6 files changed, 39 insertions, 10 deletions
diff --git a/security/acme-client/BUILD b/security/acme-client/BUILD deleted file mode 100755 index 8f58e6df93..0000000000 --- a/security/acme-client/BUILD +++ /dev/null @@ -1 +0,0 @@ -make diff --git a/security/acme-client/DETAILS b/security/acme-client/DETAILS index b09ec34e3f..00d1b5e263 100755 --- a/security/acme-client/DETAILS +++ b/security/acme-client/DETAILS @@ -1,14 +1,14 @@ SPELL=acme-client SPELLX=${SPELL}-portable - VERSION=0.1.16 + VERSION=1.0.1 SOURCE=${SPELLX}-${VERSION}.tar.gz - SOURCE_URL[0]=https://github.com/kristapsdz/${SPELLX}/archive/VERSION_${VERSION//./_}/${SOURCE} - SOURCE_HASH=sha512:7d8dcf0d9dd0eb8f978a0c069266935f59196760ff8e1e774b253310568b2b7595a82944d6276f8493b21608540900d79bdf20bc1220c14116005cc7c448c392 -SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-VERSION_${VERSION//./_}" - WEB_SITE=https://kristaps.bsd.lv/acme-client/ + SOURCE_URL[0]=https://git.sr.ht/~graywolf/${SPELLX}/archive/v${VERSION}.tar.gz + SOURCE_HASH=sha512:23314e98a0a8b29abf65042f35ccea6ee20f789a8f55eaedb802a29ceeca7c20399e4941c95ed2765683555547c165e083a8523e83e7c277570d2e1f395009d8 +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-v${VERSION}" + WEB_SITE=https://sr.ht/~graywolf/acme-client-portable/ LICENSE[0]=ISC ENTERED=20160702 - SHORT="a secure Let's Encrypt client" + SHORT="secure Let's Encrypt client" cat << EOF acme-client is yet another Let's Encrypt client, but one with a strong focus on security. diff --git a/security/acme-client/HISTORY b/security/acme-client/HISTORY index 35188a0c52..41cd7592ec 100644 --- a/security/acme-client/HISTORY +++ b/security/acme-client/HISTORY @@ -1,3 +1,10 @@ +2020-05-29 Vlad Glagolev <stealth@sourcemage.org> + * DETAILS: updated spell to 1.0.1; moved from archived project to + supported fork + * BUILD, INSTALL: removed, not required + * PRE_BUILD: updated + * libressl.patch: added, to fix build with older libressl + 2017-03-04 Vlad Glagolev <stealth@sourcemage.org> * DETAILS: updated spell to 0.1.16 diff --git a/security/acme-client/INSTALL b/security/acme-client/INSTALL deleted file mode 100755 index e72b41d353..0000000000 --- a/security/acme-client/INSTALL +++ /dev/null @@ -1 +0,0 @@ -make PREFIX="${INSTALL_ROOT}/usr" install diff --git a/security/acme-client/PRE_BUILD b/security/acme-client/PRE_BUILD index 8b24d7e3e7..2932ab1bf0 100755 --- a/security/acme-client/PRE_BUILD +++ b/security/acme-client/PRE_BUILD @@ -1,4 +1,6 @@ default_pre_build && -cd "$SOURCE_DIRECTORY" && +cd "${SOURCE_DIRECTORY}" && -sedit "s:man/man1:share/man/man1:;s:usr/local:usr:" GNUmakefile +patch -p0 < "${SPELL_DIRECTORY}/libressl.patch" && + +autoreconf -fi diff --git a/security/acme-client/libressl.patch b/security/acme-client/libressl.patch new file mode 100644 index 0000000000..8b9bac0d5f --- /dev/null +++ b/security/acme-client/libressl.patch @@ -0,0 +1,22 @@ +--- acctproc.c.orig ++++ acctproc.c +@@ -399,7 +399,7 @@ + goto out; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2060000fL) + ec_sig_r = ec_sig->r; + ec_sig_s = ec_sig->s; + #else +--- http.c.orig 2020-05-24 09:32:56.000000000 -0700 ++++ http.c 2020-05-29 13:48:43.502662599 -0700 +@@ -170,7 +170,7 @@ + goto err; + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2060000fL) + const long blacklist_versions = SSL_OP_NO_SSLv2 \ + | SSL_OP_NO_SSLv3 \ + | SSL_OP_NO_TLSv1 \ |