Re: Testing mod_tls

2021-12-21 Thread Christophe JAILLET

Le 20/12/2021 à 09:58, Stefan Eissing a écrit :




Am 19.12.2021 um 10:36 schrieb Christophe JAILLET 
:

Hi,

I've been able to build mod_tls

Basically, I've done:

sudo apt install cargo
sudo apt install cbindgen

git clone https://github.com/rustls/rustls-ffi.git git_rustls-ffi
sudo make install

I have:
/usr/local/lib/libcrustls.a
/usr/local/lib/librustls.a
/usr/local/include/crustls.h
/usr/local/include/rustls.h


pytest is also (apparently correctly) installed.
pytest test/modules/http2 works fine.


However, when I 'pytest test/modules/tls', I get:

Syntax error on line 31 of 
XXX/svn_httpd_2.4.x/test/gen/apache/conf/modules.conf: Cannot load 
XXX/httpd-2.4/modules/mod_tls.so into server: XXX/httpd-2.4/modules/mod_tls.so: 
undefined symbol: fmaf


My understanding is that mod_tls is correctly compiled, but that there is a 
missing library somewhere.

Does it ring some bell to s.o.?


The issue came up here: https://github.com/rustls/rustls-ffi/issues/133




Hi,

Rebuilding with the following patch made the trick for me.

You know all that much better than me, so I let you see if it should be 
applied on trunk/2.4.x.


CJ


Index: modules/tls/config2.m4
===
--- modules/tls/config2.m4  (révision 1896121)
+++ modules/tls/config2.m4  (copie de travail)
@@ -141,7 +141,7 @@
 MOD_TLS_LINK_LIBS="-lrustls -framework Security 
-framework Foundation"

 ;;
  *)
-MOD_TLS_LINK_LIBS="-lrustls"
+MOD_TLS_LINK_LIBS="-lrustls -lm"
 ;;
esac
# The only symbol which needs to be exported is the module




Re: Testing mod_tls

2021-12-21 Thread Christophe JAILLET

Le 20/12/2021 à 09:58, Stefan Eissing a écrit :




Am 19.12.2021 um 10:36 schrieb Christophe JAILLET 
:

Hi,

I've been able to build mod_tls

Basically, I've done:

sudo apt install cargo
sudo apt install cbindgen

git clone https://github.com/rustls/rustls-ffi.git git_rustls-ffi
sudo make install

I have:
/usr/local/lib/libcrustls.a
/usr/local/lib/librustls.a
/usr/local/include/crustls.h
/usr/local/include/rustls.h


pytest is also (apparently correctly) installed.
pytest test/modules/http2 works fine.


However, when I 'pytest test/modules/tls', I get:

Syntax error on line 31 of 
XXX/svn_httpd_2.4.x/test/gen/apache/conf/modules.conf: Cannot load 
XXX/httpd-2.4/modules/mod_tls.so into server: XXX/httpd-2.4/modules/mod_tls.so: 
undefined symbol: fmaf


My understanding is that mod_tls is correctly compiled, but that there is a 
missing library somewhere.

Does it ring some bell to s.o.?


The issue came up here: https://github.com/rustls/rustls-ffi/issues/133


Hi Stefan,

Thx for the pointer.

CJ





CJ








Re: announce mails

2021-12-21 Thread Nick Edwards
Oh, right, then we can delete our mirror then, thats get a few gigabytes
back

its not an issue for us, since we are not permitted to perform any upgrades
since we are within the christmas embargo period, but the home users who
run apache might be seeking out their fave stale mirror :)


On Tue, Dec 21, 2021 at 4:31 PM Greg Stein  wrote:

> The mirror system is no longer used. Most downloads are processed through
> a CDN instead. European downloaders will tend to hit downloads.apache.org
> which is "instantly" updated once a release artifact is committed to the
> svn distribution repository.
>
> rsync.apache should be just as instant. If not, then please file an INFRA
> ticket.
>
> Cheers,
> -g
>
>
> On Mon, Dec 20, 2021 at 7:26 PM Nick Edwards 
> wrote:
>
>> Why would the release system initiate an announce when the mirrors are
>> not up to date, they cant be, since rsync.apache still lists 2.4.51 as
>> latest, the process is to allow time for mirrors to get the package before
>> announcing it
>>
>>
>> On Mon, Dec 20, 2021 at 7:53 PM Stefan Eissing 
>> wrote:
>>
>>> The mailings to announce lists continue to bother me. The release
>>> announcement is the the moderation queue (hopefully) and the cveprocess
>>> mails go right through to the list. This is not the order I prefer.
>>>
>>> I am holden back the send about the second CVE until I see the release
>>> announcement winked through.
>>>
>>> - Stefan
>>
>>