diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-01-09 23:25:38 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-09 08:56:42 -0800 |
commit | 0b4a4cd05e34b74179bf1a67fc29c4088e426b08 (patch) | |
tree | 8f7d77dfa67b2d672a1ed3b903c80b805d4bbe78 /meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch | |
parent | 8f9ad1050dc94b919b43cbfd699e06862122ecc4 (diff) | |
download | meta-openembedded-0b4a4cd05e34b74179bf1a67fc29c4088e426b08.tar.gz |
freeradius: upgrade 3.0.21 -> 3.0.26
Release Notes:
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_0_26
* Refresh patches
* Add autogen.sh as we still need it in do_configure
* Backport a patch to fix configure error for rlm_python3
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch b/meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch deleted file mode 100644 index fcadae93a0..0000000000 --- a/meta-networking/recipes-connectivity/freeradius/files/check-openssl-cmds-in-script-bootstrap.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | bootstrap: check commands of openssl exist | ||
2 | |||
3 | It calls openssl commands dhparam and pkcs12 in script bootstrap. These | ||
4 | commands are configurable based on configure options 'no-dh' and | ||
5 | 'no-des', and may not be provided by openssl. So check existence of | ||
6 | these commands. If not, abort running of script bootstrap. | ||
7 | |||
8 | 1. https://github.com/openssl/openssl/blob/master/apps/build.info#L37 | ||
9 | 2. https://github.com/openssl/openssl/blob/master/apps/build.info#L22 | ||
10 | |||
11 | Upstream-Status: Denied [https://github.com/FreeRADIUS/freeradius-server/pull/4059] | ||
12 | The maintainer commented in the pull that the script could | ||
13 | be run on a host which provides these openssl commands. | ||
14 | |||
15 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
16 | --- | ||
17 | raddb/certs/bootstrap | 8 ++++++++ | ||
18 | 1 file changed, 8 insertions(+) | ||
19 | |||
20 | diff --git a/raddb/certs/bootstrap b/raddb/certs/bootstrap | ||
21 | index 0f719aafd4..17feddbeeb 100755 | ||
22 | --- a/raddb/certs/bootstrap | ||
23 | +++ b/raddb/certs/bootstrap | ||
24 | @@ -13,6 +13,14 @@ | ||
25 | umask 027 | ||
26 | cd `dirname $0` | ||
27 | |||
28 | +# check commands of openssl exist | ||
29 | +for cmd in dhparam pkcs12; do | ||
30 | + if ! openssl ${cmd} -help >/dev/null 2>&1; then | ||
31 | + echo "Error: command ${cmd} is not supported by openssl." | ||
32 | + exit 1 | ||
33 | + fi | ||
34 | +done | ||
35 | + | ||
36 | make -h > /dev/null 2>&1 | ||
37 | |||
38 | # | ||