Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752658017, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"0ba0b12d11f93e30ae8f43e73173f8ce", "commit": {"type":"commit", "time": 1521111548, "time_ofs": 60, "oid_tree": { "oid": "a9c4cf2f2505680176b92573e7fbc6b82e380691", "alias": []}, "oid":{ "oid": "9e381e8a018592a2a42e83df402e1ef921469e9f", "alias": []}, "msg": "Configure: allow to enable afalgeng if target does not start with Linux", "sig_commit": { "git_time": { "time": 1521111548, "offset": 60 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" }, "sig_author": { "git_time": { "time": 1516917055, "offset": 60 }, "name": "Sebastian Andrzej Siewior", "email": "sebastian@breakpoint.cc", "md5": "132577d32d45dd410c3fe2f0e917473d" }}, "body": "Configure: allow to enable afalgeng if target does not start with Linux\n\nThe Debian build system uses a `debian' target which sets CFLAGS and\nthen we have for instance debian-amd64 which inherits from\nlinux-x86_64 and debian [0]. So far so good.\n\nUnless there are different suggestions how to do this, I would keep it.\nHowever since the target name does not start with `linux', the build\nsystem does not enable the afalg engine. So in order to get enabled, I\nadded a\n\t`enable \u003d\u003e [ \u0022afalgeng\u0022 ],'\nto the generic linux config which sets it explicit (as suggested by\nRichard Levitte). Having this set, we can check for it instead matching\nthe target name.\n\n[0] https://sources.debian.org/src/openssl/1.1.0g-2/Configurations/20-debian.conf/\nSigned-off-by: Sebastian Andrzej Siewior \u003csebastian@breakpoint.cc\u003e\n\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/5169)\n" , "diff": "diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf\nindex 6c73d9f..a0a9e17 100644\n--- a/Configurations/10-main.conf\n+++ b/Configurations/10-main.conf\n@@ -679,6 +679,7 @@ my %targets \u003d (\n shared_cflag \u003d\u003e \u0022-fPIC\u0022,\n shared_ldflag \u003d\u003e \u0022-Wl,-znodelete\u0022,\n shared_extension \u003d\u003e \u0022.so.\u005c$(SHLIB_VERSION_NUMBER)\u0022,\n+ enable \u003d\u003e [ \u0022afalgeng\u0022 ],\n },\n \u0022linux-generic64\u0022 \u003d\u003e {\n inherit_from \u003d\u003e [ \u0022linux-generic32\u0022 ],\ndiff --git a/Configure b/Configure\nindex adb098e..ca90a75 100755\n--- a/Configure\n+++ b/Configure\n@@ -1518,7 +1518,7 @@ unless ($disabled{\u0022crypto-mdebug-backtrace\u0022})\n \n unless ($disabled{afalgeng}) {\n $config{afalgeng}\u003d\u0022\u0022;\n- if ($target \u003d~ m/^linux/) {\n+ if (grep { $_ eq 'afalgeng' } @{$target{enable}}) {\n my $minver \u003d 4*10000 + 1*100 + 0;\n if ($config{CROSS_COMPILE} eq \u0022\u0022) {\n my $verstr \u003d `uname -r`;\n","s":{"c":1752658017,"u": 38225}} ],"g": 39129,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}