[openssl-commits] [web] master update

Richard Levitte levitte at openssl.org
Wed Apr 4 09:15:00 UTC 2018

The branch master has been updated
       via  a2e614d7f5554b477dedd0066709df3cd3e14990 (commit)
      from  f0dd77fca46f3d630d5a47d3bb93e8d50c66f7df (commit)

- Log -----------------------------------------------------------------
commit a2e614d7f5554b477dedd0066709df3cd3e14990
Author: Richard Levitte <levitte at openssl.org>
Date:   Wed Apr 4 11:14:44 2018 +0200

    Generalise the rewrites of older tarballs
    We enumerated every series when we could as simply handle them all
    with one simple regexp.


Summary of changes:
 bin/mk-latest | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/bin/mk-latest b/bin/mk-latest
index 2307837..8c2d3a7 100755
--- a/bin/mk-latest
+++ b/bin/mk-latest
@@ -43,15 +43,7 @@ print <<\EOF;
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(openssl-0\.9\.\d.*) old/0.9.x/$1 [L]
 RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^openssl-(1\.0\.0.*) old/1.0.0/openssl-$1 [L]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^openssl-(1\.0\.1.*) old/1.0.1/openssl-$1 [L]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^openssl-(1\.0\.2.*) old/1.0.2/openssl-$1 [L]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^openssl-(1\.1\.0.*) old/1.1.0/openssl-$1 [L]
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^openssl-(1\.1\.1.*) old/1.1.1/openssl-$1 [L]
+RewriteRule ^(openssl-(\d+\.\d+\.\d+).*) old/$2/$1 [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^openssl-(fips.*)  old/fips/openssl-$1 [L]

More information about the openssl-commits mailing list