From nobody Sat Feb 04 08:43:36 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P85f10w2Bz3ksjh; Sat, 4 Feb 2023 08:43:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P85f06pBnz4WmT; Sat, 4 Feb 2023 08:43:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675500217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2B7GBI9bJc8Q4oBlx+c5Jl50HltArX3rugP8QtmPYlE=; b=m6DiJmlBbsE2F/s0hJcQU6LMwQagMEjeLKggr3pDCoCAbAB8HObHd2k4E2zSKHrxh+Z0ih 0YtpIAgQ2YxbteZtJHJk2jSV6/UI+WIn9LXj9XB/ZVYZk6a/eFEZcnemTVrFo50KR1zRU9 NSeDfZy4eU2+cnCKyiuuHT92LxExCekm2F5U8p07fwJ8IbiVKtW7QpJl0hsBnmsaaIQ8QK FnhWOAesXn9oRN/Dc2OkG0TzMSfO42VOMwa8+1LkpMU9jA1FWtrzHTLd/s9cm+PfbiDD3k Aly9HRiiWVzbRCERwS5GRgRmn1hZ/VFKtzq5YaF+zJ/4bG8xb6wM4ci/VZDLXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675500217; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2B7GBI9bJc8Q4oBlx+c5Jl50HltArX3rugP8QtmPYlE=; b=wFotNY/mbfluLHUtR6AMneMbKSNadRvUTNN0C/cvzSx9CLKdVo0LSMJeAd6/6HYfwbp+Le ko7KFWZuvJzAf5fosdWftRpQZ1SEwLHahefiSmea5fAnGMX01m9fVEh7TBKdvv2WxgUwn3 qJxA+ZVkPpVLvMv9DfSw7Z1swrIZvejozKUTS1sOgCllEJBvqI7kqG5vms7lH3Fwwvicdt mAm0VNNRcEqBDm/mHJwuDCZEUnUzBA8onCVD+ayhO0AM8XOZ7OhnH0UsSiv77Yu7+k/fFR J5lgWRBMtXPm4C3wLsyhYwL/lwxOLDWK128pj8FEd2YNnhEKveqzvc2hNA6I9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675500217; a=rsa-sha256; cv=none; b=VHyHnp/GHOFNRiRKeN67qSfNbFD8BzMT3pmSBk4n3RVrOIBfw7RVhU4v13EhWLKLkMLgKp hEH8vz51LqV+1ZL6QgIWaXWg7XaoKk83FaSaJb9GSP8eVBYDJjaEG0acN/PQyH9bIs3LjK 3+cySG4Jga2F66kouIFx775rV2iJQJOMtjdWZpYoyVEi4cfqX3O2L+KHzQoGc3fUR0+q2z xC5F9/MgOcgCWh1xkbTQtF8CjdHozvmYEUmqIcjor86rpAyH7rf6VBgIZEL25hUONPFva+ ndN2+YRM9gMtDlAA+/NO1Iml02nB4h2DVaGuKesQXSGDrStoyftpNDrlHjidZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P85f05spyz17jQ; Sat, 4 Feb 2023 08:43:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3148haFM064278; Sat, 4 Feb 2023 08:43:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3148haj7064277; Sat, 4 Feb 2023 08:43:36 GMT (envelope-from git) Date: Sat, 4 Feb 2023 08:43:36 GMT Message-Id: <202302040843.3148haj7064277@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: 645c54e10d3b - main - security/xmlsec1: update to 1.2.37 release (+) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 645c54e10d3bd939a03d65e87aee074623c333d2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=645c54e10d3bd939a03d65e87aee074623c333d2 commit 645c54e10d3bd939a03d65e87aee074623c333d2 Author: Dima Panov AuthorDate: 2023-02-04 08:23:25 +0000 Commit: Dima Panov CommitDate: 2023-02-04 08:23:25 +0000 security/xmlsec1: update to 1.2.37 release (+) This is a prerequisite for LibreOffcie 7.5 update News: 1.2.37: Fixed two regressions from 1.2.36 release: issue #437 and issue #449. 1.2.36: Retired the XMLSec mailing list "xmlsec@aleksey.com" and the XMLSec Online Signature Verifier. Several other small fixes (more details). 1.3.25: Migration to OpenSSL 3.0 API (based on PR by @snargit). The OpenSSL before 1.1.0 and LibreSSL before 2.7.0 are now deprecated and will be removed in the future versions of XMLSec Library. Refactored all the integer casts to ensure cast-safety. Fixed all warnings and enabled "-Werror" and "-pedantic" flags on CI builds. Added configure flag to use size_t for xmlSecSize (currently disabled by default for backward compatibility). Several other small fixes (more details). Full Changelog: https://www.aleksey.com/xmlsec/ With hat: office --- security/xmlsec1/Makefile | 9 +++------ security/xmlsec1/distinfo | 6 +++--- security/xmlsec1/files/patch-Makefile.in | 4 ++-- security/xmlsec1/files/patch-apps-xmlsec.c | 11 ----------- security/xmlsec1/files/patch-src-openssl-app.c | 22 +++++++++++----------- 5 files changed, 19 insertions(+), 33 deletions(-) diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index aca23bcc2800..7d44f009d6f3 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -1,11 +1,8 @@ PORTNAME= xmlsec1 -PORTVERSION= 1.2.34 -PORTREVISION= 1 +PORTVERSION= 1.2.37 CATEGORIES= security -MASTER_SITES= http://www.aleksey.com/xmlsec/download/ \ - ftp://ftp.aleksey.com/pub/xmlsec/releases/ \ - ftp://ftp.xmlsoft.org/xmlsec/releases/ \ - ftp://ftp.rpmfind.net/pub/XML/xmlsec/releases/ +MASTER_SITES= https://www.aleksey.com/xmlsec/download/ \ + https://github.com/lsh123/xmlsec/releases/download/xmlsec-${PORTVERSION:S,.,_,g}/ MAINTAINER= hrs@FreeBSD.org COMMENT= XML Security Library diff --git a/security/xmlsec1/distinfo b/security/xmlsec1/distinfo index baa844e7f7ee..0482e6233802 100644 --- a/security/xmlsec1/distinfo +++ b/security/xmlsec1/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651858077 -SHA256 (xmlsec1-1.2.34.tar.gz) = 52ced4943f35bd7d0818a38298c1528ca4ac8a54440fd71134a07d2d1370a262 -SIZE (xmlsec1-1.2.34.tar.gz) = 1991505 +TIMESTAMP = 1670335424 +SHA256 (xmlsec1-1.2.37.tar.gz) = 5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c +SIZE (xmlsec1-1.2.37.tar.gz) = 2009175 diff --git a/security/xmlsec1/files/patch-Makefile.in b/security/xmlsec1/files/patch-Makefile.in index 250d09d1d46d..be5659c14e62 100644 --- a/security/xmlsec1/files/patch-Makefile.in +++ b/security/xmlsec1/files/patch-Makefile.in @@ -1,6 +1,6 @@ ---- Makefile.in.orig 2022-05-06 17:33:38 UTC +--- Makefile.in.orig 2022-12-06 14:04:01 UTC +++ Makefile.in -@@ -490,7 +490,7 @@ DEFAULT_CRYPTO = @XMLSEC_DEFAULT_CRYPTO@ +@@ -491,7 +491,7 @@ pkgconfigdir = $(prefix)/libdata/pkgconfig bin_SCRIPTS = xmlsec1-config pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@ pkgconfigdir = $(prefix)/libdata/pkgconfig diff --git a/security/xmlsec1/files/patch-apps-xmlsec.c b/security/xmlsec1/files/patch-apps-xmlsec.c deleted file mode 100644 index ce1c62f81e60..000000000000 --- a/security/xmlsec1/files/patch-apps-xmlsec.c +++ /dev/null @@ -1,11 +0,0 @@ ---- apps/xmlsec.c.orig 2022-05-03 14:36:17 UTC -+++ apps/xmlsec.c -@@ -1210,7 +1210,7 @@ int main(int argc, const char **argv) { - (xmlSecAppCmdLineParamGetInt(&repeatParam, 1) > 0)) { - - repeats = xmlSecAppCmdLineParamGetInt(&repeatParam, 1); -- fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, (1000 * total_time) / CLOCKS_PER_SEC); -+ fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, (long)(1000 * total_time) / CLOCKS_PER_SEC); - } - - goto success; diff --git a/security/xmlsec1/files/patch-src-openssl-app.c b/security/xmlsec1/files/patch-src-openssl-app.c index c723cad64dad..bbb25c3f4030 100644 --- a/security/xmlsec1/files/patch-src-openssl-app.c +++ b/security/xmlsec1/files/patch-src-openssl-app.c @@ -1,8 +1,8 @@ ---- src/openssl/app.c.orig 2022-05-03 23:36:17.000000000 +0900 -+++ src/openssl/app.c 2022-05-07 05:18:46.065103000 +0900 -@@ -43,6 +43,29 @@ +--- src/openssl/app.c.orig 2022-11-28 21:40:24 UTC ++++ src/openssl/app.c +@@ -46,6 +46,29 @@ - #include "openssl_compat.h" + #include "../cast_helpers.h" +#if defined(XMLSEC_OPENSSL_API_110) && defined(LIBRESSL_VERSION_NUMBER) +static UI_METHOD * @@ -27,10 +27,10 @@ +} +#endif + - static int xmlSecOpenSSLAppLoadRANDFile (const char *filename); - static int xmlSecOpenSSLAppSaveRANDFile (const char *filename); static int xmlSecOpenSSLDefaultPasswordCallback (char *buf, -@@ -415,6 +438,11 @@ + int bufsiz, + int verify, +@@ -462,6 +485,11 @@ xmlSecOpenSSLAppEngineKeyLoad(const char *engineName, EVP_PKEY* pKey = NULL; int engineInit = 0; int ret; @@ -40,9 +40,9 @@ + const UI_METHOD *ui_null = ui_null_create(); +#endif - #ifndef OPENSSL_NO_ENGINE xmlSecAssert2(engineName != NULL, NULL); -@@ -437,7 +465,7 @@ + xmlSecAssert2(engineKeyId != NULL, NULL); +@@ -487,7 +515,7 @@ xmlSecOpenSSLAppEngineKeyLoad(const char *engineName, } } @@ -51,7 +51,7 @@ xmlSecOpenSSLError("ENGINE_ctrl_cmd_string(SET_USER_INTERFACE)", NULL); goto done; } -@@ -453,7 +481,7 @@ +@@ -503,7 +531,7 @@ xmlSecOpenSSLAppEngineKeyLoad(const char *engineName, /* load private key */ pKey = ENGINE_load_private_key(engine, engineKeyId, @@ -60,7 +60,7 @@ NULL); if(pKey == NULL) { xmlSecOpenSSLError("ENGINE_load_private_key", NULL); -@@ -484,6 +512,7 @@ +@@ -534,6 +562,7 @@ done: data = NULL; done: