apr: Update 1.7.2 => 1.7.4

Message ID 20230423113438.3563312-1-matthias.fischer@ipfire.org
State Accepted
Commit a0a00fc06c159e4310d41e4c99e936abb035dbe9
Headers
Series apr: Update 1.7.2 => 1.7.4 |

Commit Message

Matthias Fischer April 23, 2023, 11:34 a.m. UTC
  For details see:
https://downloads.apache.org/apr/CHANGES-APR-1.7

"Changes for APR 1.7.4

  *) Fix a regression where writing to a file opened with both APR_FOPEN_APPEND
     and APR_FOPEN_BUFFERED did not properly append the data on Windows.
     (This regression was introduced in APR 1.7.3)  [Evgeny Kotkov]

Changes for APR 1.7.3

  *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
     [Ruediger Pluem]

  *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
     available. [Ruediger Pluem]

  *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
     pointer on Windows. [Ivan Zhakov]

  *) apr_dir_read: Do not request short file names on Windows 7
     and later. [Ivan Zhakov]

  *) apr_file_gets: Optimize for buffered files on Windows.
     [Evgeny Kotkov]

  *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
     on Windows. PR 50058. [Evgeny Kotkov]

  *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
     [Evgeny Kotkov]

  *) apr_file_write: Optimize large writes to buffered files on Windows.
     [Evgeny Kotkov]

  *) apr_file_read: Optimize large reads from buffered files on Windows.
     [Evgeny Kotkov]"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 lfs/apr | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Adolf Belka April 25, 2023, 7:06 a.m. UTC | #1
Hi Matthias,

I think you missed the rootfile update for apr.

The latest Nightly Build is failing because cdrom can't find the library file libapr-1.so.0.7.2 which has probably changed to libapr-1.so.0.7.4


Regards,

Adolf.


On 23/04/2023 13:34, Matthias Fischer wrote:
> For details see:
> https://downloads.apache.org/apr/CHANGES-APR-1.7
>
> "Changes for APR 1.7.4
>
>    *) Fix a regression where writing to a file opened with both APR_FOPEN_APPEND
>       and APR_FOPEN_BUFFERED did not properly append the data on Windows.
>       (This regression was introduced in APR 1.7.3)  [Evgeny Kotkov]
>
> Changes for APR 1.7.3
>
>    *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
>       [Ruediger Pluem]
>
>    *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
>       available. [Ruediger Pluem]
>
>    *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
>       pointer on Windows. [Ivan Zhakov]
>
>    *) apr_dir_read: Do not request short file names on Windows 7
>       and later. [Ivan Zhakov]
>
>    *) apr_file_gets: Optimize for buffered files on Windows.
>       [Evgeny Kotkov]
>
>    *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
>       on Windows. PR 50058. [Evgeny Kotkov]
>
>    *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
>       [Evgeny Kotkov]
>
>    *) apr_file_write: Optimize large writes to buffered files on Windows.
>       [Evgeny Kotkov]
>
>    *) apr_file_read: Optimize large reads from buffered files on Windows.
>       [Evgeny Kotkov]"
>
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
>   lfs/apr | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lfs/apr b/lfs/apr
> index 6ef88fd18..1375448ff 100644
> --- a/lfs/apr
> +++ b/lfs/apr
> @@ -1,7 +1,7 @@
>   ###############################################################################
>   #                                                                             #
>   # IPFire.org - A linux based firewall                                         #
> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
> +# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
>   #                                                                             #
>   # This program is free software: you can redistribute it and/or modify        #
>   # it under the terms of the GNU General Public License as published by        #
> @@ -25,7 +25,7 @@
>   
>   include Config
>   
> -VER        = 1.7.2
> +VER        = 1.7.4
>   
>   THISAPP    = apr-$(VER)
>   DL_FILE    = $(THISAPP).tar.bz2
> @@ -42,7 +42,7 @@ objects = $(DL_FILE)
>   
>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>   
> -$(DL_FILE)_BLAKE2 = a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15
> +$(DL_FILE)_BLAKE2 = a93b9d3f2c46fe0a34ce1d544e7a43ba40720e2fae8b8a7d0957413ac695057902378dbf96f067ced7486da86c8e513b7fbd48fa79839efeeb40a3295fe2d3df
>   
>   install : $(TARGET)
>
  
Matthias Fischer April 25, 2023, 4:28 p.m. UTC | #2
On 25.04.2023 09:06, Adolf Belka wrote:
> Hi Matthias,

Hi Adolf,

> I think you missed the rootfile update for apr.

Ups. Yep. Fixed.

> The latest Nightly Build is failing because cdrom can't find the library file libapr-1.so.0.7.2 which has probably changed to libapr-1.so.0.7.4

Sorry - my fault - sorry, I was too quick sending the patch.

Best,
Matthias

> Regards,
> 
> Adolf.
> 
> 
> On 23/04/2023 13:34, Matthias Fischer wrote:
>> For details see:
>> https://downloads.apache.org/apr/CHANGES-APR-1.7
>>
>> "Changes for APR 1.7.4
>>
>>    *) Fix a regression where writing to a file opened with both APR_FOPEN_APPEND
>>       and APR_FOPEN_BUFFERED did not properly append the data on Windows.
>>       (This regression was introduced in APR 1.7.3)  [Evgeny Kotkov]
>>
>> Changes for APR 1.7.3
>>
>>    *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
>>       [Ruediger Pluem]
>>
>>    *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
>>       available. [Ruediger Pluem]
>>
>>    *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
>>       pointer on Windows. [Ivan Zhakov]
>>
>>    *) apr_dir_read: Do not request short file names on Windows 7
>>       and later. [Ivan Zhakov]
>>
>>    *) apr_file_gets: Optimize for buffered files on Windows.
>>       [Evgeny Kotkov]
>>
>>    *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
>>       on Windows. PR 50058. [Evgeny Kotkov]
>>
>>    *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
>>       [Evgeny Kotkov]
>>
>>    *) apr_file_write: Optimize large writes to buffered files on Windows.
>>       [Evgeny Kotkov]
>>
>>    *) apr_file_read: Optimize large reads from buffered files on Windows.
>>       [Evgeny Kotkov]"
>>
>> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
>> ---
>>   lfs/apr | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/lfs/apr b/lfs/apr
>> index 6ef88fd18..1375448ff 100644
>> --- a/lfs/apr
>> +++ b/lfs/apr
>> @@ -1,7 +1,7 @@
>>   ###############################################################################
>>   #                                                                             #
>>   # IPFire.org - A linux based firewall                                         #
>> -# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
>> +# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
>>   #                                                                             #
>>   # This program is free software: you can redistribute it and/or modify        #
>>   # it under the terms of the GNU General Public License as published by        #
>> @@ -25,7 +25,7 @@
>>   
>>   include Config
>>   
>> -VER        = 1.7.2
>> +VER        = 1.7.4
>>   
>>   THISAPP    = apr-$(VER)
>>   DL_FILE    = $(THISAPP).tar.bz2
>> @@ -42,7 +42,7 @@ objects = $(DL_FILE)
>>   
>>   $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>>   
>> -$(DL_FILE)_BLAKE2 = a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15
>> +$(DL_FILE)_BLAKE2 = a93b9d3f2c46fe0a34ce1d544e7a43ba40720e2fae8b8a7d0957413ac695057902378dbf96f067ced7486da86c8e513b7fbd48fa79839efeeb40a3295fe2d3df
>>   
>>   install : $(TARGET)
>>
  

Patch

diff --git a/lfs/apr b/lfs/apr
index 6ef88fd18..1375448ff 100644
--- a/lfs/apr
+++ b/lfs/apr
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -25,7 +25,7 @@ 
 
 include Config
 
-VER        = 1.7.2
+VER        = 1.7.4
 
 THISAPP    = apr-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15
+$(DL_FILE)_BLAKE2 = a93b9d3f2c46fe0a34ce1d544e7a43ba40720e2fae8b8a7d0957413ac695057902378dbf96f067ced7486da86c8e513b7fbd48fa79839efeeb40a3295fe2d3df
 
 install : $(TARGET)