kumquat-buildroot/package/postgresql/Config.in
Peter Seiderer beada77a73 package/postgresql: select mandatory libopenssl features
Select mandatory libopenssl features (which are selectable since
commit a83d41867c):

- 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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-19 22:14:18 +02:00

37 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_POSTGRESQL
bool "postgresql"
depends on BR2_USE_MMU # fork()
depends on BR2_USE_WCHAR
# fails to build in a pure static linking scenario, and
# 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.
Enable the readline package to gain readline support in
psql (the command line interpreter), which offers
command history and edit functions.
Enable the zlib package to gain builtin compression for
archives with pg_dump and pg_restore.
http://www.postgresql.org
if BR2_PACKAGE_POSTGRESQL
config BR2_PACKAGE_POSTGRESQL_FULL
bool "postgresql-full"
help
Build PostgreSQL, contrib, and documentation.
endif
comment "postgresql needs a toolchain w/ dynamic library, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR