* [Buildroot] [PATCH/next v1] package/postgresql: select mandatory libopenssl features
@ 2021-05-19 18:14 Peter Seiderer
2021-05-19 20:15 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2021-05-19 18:14 UTC (permalink / raw)
To: buildroot
Select mandatory libopenssl features (which are selectable since
commit a83d41867c8d69a77d5cd0a665aa216af5340359):
- BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH
- BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST
- BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
Fixes:
- http://autobuild.buildroot.net/results/7fdcaa337a7369673ac4580ff7a2bbccc895dca2
openssl.c:449:35: warning: implicit declaration of function 'EVP_bf_ecb'; did you mean 'EVP_sm4_ecb'? [-Wimplicit-function-declaration]
449 | if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
| ^~~~~~~~~~
| EVP_sm4_ecb
openssl.c:449:35: warning: passing argument 2 of 'EVP_EncryptInit_ex' makes pointer from integer without a cast [-Wint-conversion]
449 | if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
| ^~~~~~~~~~~~
| |
| int
In file included from openssl.c:34:
.../host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/openssl/evp.h:583:53: note: expected 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} but argument is of type 'int'
583 | const EVP_CIPHER *cipher, ENGINE *impl,
| ~~~~~~~~~~~~~~~~~~^~~~~~
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
package/postgresql/Config.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in
index 2debdc24d7..b42b219558 100644
--- a/package/postgresql/Config.in
+++ b/package/postgresql/Config.in
@@ -6,6 +6,9 @@ config BR2_PACKAGE_POSTGRESQL
# postgresql is unlikely to be used in a pure statically
# linked environment.
depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL
+ select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
help
PostgreSQL is a powerful, open source object-relational
database system.
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH/next v1] package/postgresql: select mandatory libopenssl features
2021-05-19 18:14 [Buildroot] [PATCH/next v1] package/postgresql: select mandatory libopenssl features Peter Seiderer
@ 2021-05-19 20:15 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-05-19 20:15 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2021-05-19 20:14 +0200, Peter Seiderer spake thusly:
> Select mandatory libopenssl features (which are selectable since
> commit a83d41867c8d69a77d5cd0a665aa216af5340359):
>
> - BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH
> - BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST
> - BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
>
> Fixes:
>
> - http://autobuild.buildroot.net/results/7fdcaa337a7369673ac4580ff7a2bbccc895dca2
>
> openssl.c:449:35: warning: implicit declaration of function 'EVP_bf_ecb'; did you mean 'EVP_sm4_ecb'? [-Wimplicit-function-declaration]
> 449 | if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
> | ^~~~~~~~~~
> | EVP_sm4_ecb
> openssl.c:449:35: warning: passing argument 2 of 'EVP_EncryptInit_ex' makes pointer from integer without a cast [-Wint-conversion]
> 449 | if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
> | ^~~~~~~~~~~~
> | |
> | int
> In file included from openssl.c:34:
> .../host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/openssl/evp.h:583:53: note: expected 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} but argument is of type 'int'
> 583 | const EVP_CIPHER *cipher, ENGINE *impl,
> | ~~~~~~~~~~~~~~~~~~^~~~~~
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Applied to next, thanks.
Regards,
Yann E. MORIN.
> ---
> package/postgresql/Config.in | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/postgresql/Config.in b/package/postgresql/Config.in
> index 2debdc24d7..b42b219558 100644
> --- a/package/postgresql/Config.in
> +++ b/package/postgresql/Config.in
> @@ -6,6 +6,9 @@ config BR2_PACKAGE_POSTGRESQL
> # postgresql is unlikely to be used in a pure statically
> # linked environment.
> depends on !BR2_STATIC_LIBS
> + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
> + select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL
> + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
> help
> PostgreSQL is a powerful, open source object-relational
> database system.
> --
> 2.31.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-19 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 18:14 [Buildroot] [PATCH/next v1] package/postgresql: select mandatory libopenssl features Peter Seiderer
2021-05-19 20:15 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.