You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2026/02/20 13:50:48 UTC

svn commit: r1931952 - in httpd/httpd/branches/2.4.x: . changes-entries modules/md

Author: icing
Date: Fri Feb 20 13:50:47 2026
New Revision: 1931952

Log:
Merge of /httpd/httpd/trunk:r1931951

Added:
   httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt
      - copied unchanged from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt
Modified:
   httpd/httpd/branches/2.4.x/   (props changed)
   httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c
   httpd/httpd/branches/2.4.x/modules/md/md_version.h

Copied: httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt (from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt	Fri Feb 20 13:50:47 2026	(r1931952, copy of r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
@@ -0,0 +1,5 @@
+  *) mod_md: update to version 2.6.8
+     - Fix the ARI related `replaces` property in ACME order creation to only
+       be used when the CA supports ARI and it is enabled in the menu config.
+     - Fix compatibility with APR versions before 1.6.0 which do not have
+       `apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.

Modified: httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c	Fri Feb 20 13:44:36 2026	(r1931951)
+++ httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c	Fri Feb 20 13:50:47 2026	(r1931952)
@@ -78,7 +78,8 @@ static apr_status_t ad_setup_order(md_pr
         md_acme_order_purge(d->store, d->p, MD_SG_STAGING, md, d->env);
     }
     
-    if (ad->cred->spec && ad->md->ca_account) {
+    if (ad->cred->spec && ad->md->ca_account && ad->md->ari_renewals &&
+        ad->acme->api.v2.renewal_info) {
         /* are we replacing a previous certificate on the same account? */
         int i;
         for (i = 0; i < md_pkeys_spec_count(d->md->pks); ++i) {

Modified: httpd/httpd/branches/2.4.x/modules/md/md_version.h
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/md/md_version.h	Fri Feb 20 13:44:36 2026	(r1931951)
+++ httpd/httpd/branches/2.4.x/modules/md/md_version.h	Fri Feb 20 13:50:47 2026	(r1931952)
@@ -27,7 +27,7 @@
  * @macro
  * Version number of the md module as c string
  */
-#define MOD_MD_VERSION "2.6.7-git"
+#define MOD_MD_VERSION "2.6.8"
 
 /**
  * @macro
@@ -35,7 +35,7 @@
  * release. This is a 24 bit number with 8 bits for major number, 8 bits
  * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
  */
-#define MOD_MD_VERSION_NUM 0x020607
+#define MOD_MD_VERSION_NUM 0x020608
 
 #define MD_ACME_DEF_URL         "https://acme-v02.api.letsencrypt.org/directory"
 


Re: svn commit: r1931952 - in httpd/httpd/branches/2.4.x: . changes-entries modules/md

Posted by Stefan Eissing via dev <de...@httpd.apache.org>.

> Am 20.02.2026 um 18:17 schrieb Ruediger Pluem <rp...@apache.org>:
> 
> 
> 
> On 2/20/26 2:50 PM, icing@apache.org wrote:
>> Author: icing
>> Date: Fri Feb 20 13:50:47 2026
>> New Revision: 1931952
>> 
>> Log:
>> Merge of /httpd/httpd/trunk:r1931951
>> 
>> Added:
>>   httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt
>>      - copied unchanged from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt
>> Modified:
>>   httpd/httpd/branches/2.4.x/   (props changed)
>>   httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c
>>   httpd/httpd/branches/2.4.x/modules/md/md_version.h
>> 
>> Copied: httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt (from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
>> ==============================================================================
>> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
>> +++ httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt Fri Feb 20 13:50:47 2026 (r1931952, copy of r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
>> @@ -0,0 +1,5 @@
>> +  *) mod_md: update to version 2.6.8
>> +     - Fix the ARI related `replaces` property in ACME order creation to only
>> +       be used when the CA supports ARI and it is enabled in the menu config.
>> +     - Fix compatibility with APR versions before 1.6.0 which do not have
>> +       `apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.
> 
> I guess you missed to backport r1931911 for this.

Damn. I hate our branch handling so, so much...

Thanks for the notice.

> 
> Regards
> 
> RĂ¼diger
> 


Re: svn commit: r1931952 - in httpd/httpd/branches/2.4.x: . changes-entries modules/md

Posted by Ruediger Pluem <rp...@apache.org>.

On 2/20/26 2:50 PM, icing@apache.org wrote:
> Author: icing
> Date: Fri Feb 20 13:50:47 2026
> New Revision: 1931952
> 
> Log:
> Merge of /httpd/httpd/trunk:r1931951
> 
> Added:
>    httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt
>       - copied unchanged from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt
> Modified:
>    httpd/httpd/branches/2.4.x/   (props changed)
>    httpd/httpd/branches/2.4.x/modules/md/md_acmev2_drive.c
>    httpd/httpd/branches/2.4.x/modules/md/md_version.h
> 
> Copied: httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt (from r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ httpd/httpd/branches/2.4.x/changes-entries/md_v2.6.8.txt	Fri Feb 20 13:50:47 2026	(r1931952, copy of r1931951, httpd/httpd/trunk/changes-entries/md_v2.6.8.txt)
> @@ -0,0 +1,5 @@
> +  *) mod_md: update to version 2.6.8
> +     - Fix the ARI related `replaces` property in ACME order creation to only
> +       be used when the CA supports ARI and it is enabled in the menu config.
> +     - Fix compatibility with APR versions before 1.6.0 which do not have
> +       `apr_cstr_casecmp` and should use `apr_strnatcasecmp` instead.

I guess you missed to backport r1931911 for this.

Regards

RĂ¼diger