Commit de28becd authored by Jérome Perrin's avatar Jérome Perrin

component/openssl: run test suite at compile time

this depends on perl Text::Template module
parent d7d7a3bd
......@@ -8,7 +8,7 @@ extends =
../ca-certificates/buildout.cfg
../coreutils/buildout.cfg
../patch/buildout.cfg
../perl/buildout.cfg
../perl-Text-Template/buildout.cfg
../zlib/buildout.cfg
parts =
......@@ -37,13 +37,14 @@ configure-options =
make-options =
SHARED_LDFLAGS='-Wl,-rpath=${:location}/lib -Wl,-rpath=${zlib:location}/lib'
make-targets =
install_sw install_ssldirs &&
test install_sw install_ssldirs &&
rm -f ${:certs}/* &&
for i in ${ca-certificates:location}/certs/*/*.crt; do
ln -sv $i ${:certs}/`${:location}/bin/openssl x509 -hash -noout -in $i`.0
; done
environment =
PERL=${perl:location}/bin/perl
PERL=${perl-Text-Template:perl-bin}
[openssl-output]
# Shared binary location to ease migration
......@@ -80,9 +81,9 @@ configure-options =
make-options =
SHARED_LDFLAGS='-Wl,-rpath=${:location}/lib -Wl,-rpath=${zlib:location}/lib'
make-targets =
install_sw && x=${:location}/etc/ssl/certs && rm -f $x/* &&
test install_sw && x=${:location}/etc/ssl/certs && rm -f $x/* &&
for i in ${ca-certificates:location}/certs/*/*.crt; do
ln -sfv $i $x/`${:location}/bin/openssl x509 -hash -noout -in $i`.0
; done
environment =
PERL=${perl:location}/bin/perl
PERL=${perl-Text-Template:perl-bin}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment