summaryrefslogtreecommitdiff
path: root/package/postgresql
AgeCommit message (Collapse)Author
2017-02-15postgresql: disable spinlocks on openriscThomas Petazzoni
Just like all non-mainstream architectures, postgresql doesn't provide its internal spinlock implementation on OpenRISC, so disable it. Fixes: http://autobuild.buildroot.net/results/e9de750e34f10c4a2403696936260ad1547d0d15/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-28postgresql: fix pgac_cv_snprintf_long_long_int_modifierPeter Seiderer
Supplementary change the pgac_cv_snprintf_long_long_int_modifier from complete format '%lld' to modifier 'll' version only (forgotten in commit 02c43157ab09f6fe4078fd1145fc9d403d66c089 ([1])). Fixes Bug 9451 ([2]). [1] https://git.buildroot.net/buildroot/commit/?id=02c43157ab09f6fe4078fd1145fc9d403d66c089 [2] https://bugs.busybox.net/show_bug.cgi?id=9451 Reported-by: Daniel <dde@innovaphone.com> Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-01postgresql: bump version to 9.6.1Vicente Olivert Riera
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-28package/postgresql: indentation cleanupJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-24postgresql: enable ldap support for pg_service.confChris Frederick
Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on Signed-off-by: Chris Frederick <cdf123@cdf123.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-22postgresql: bump version to 9.6.0Peter Seiderer
For release notes see [1]. [1] https://www.postgresql.org/docs/9.6/static/release-9-6.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-13postgresql: security bump to version 9.5.4Gustavo Zacarias
Fixes: CVE-2016-5423 - CASE/WHEN with inlining can cause untrusted pointer dereference (bsc#993454). CVE-2016-5424 - Fix client programs' handling of special characters in database and role names (bsc#993453). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-01Merge branch 'next'Peter Korsgaard
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-22package/postgresql: fix snprintf() detectionBernd Kuhls
https://git.busybox.net/buildroot/commit/package/postgresql/postgresql.mk?id=3d3f70b567718ae308b5704ddd7d107c4849309e forced postgresql not to use its own snprintf() implementation which needs libm. This fix got broken after this upstream commit http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ce486056ecd28050f367894a2b5aad3656d37511#patch1 changed the variable name from pgac_cv_snprintf_long_long_int_format to pgac_cv_snprintf_long_long_int_modifier leading to problems in the rsyslog package while detecting postgresql support. Fixes http://autobuild.buildroot.net/results/1cd/1cda32983fdf9522e4a9d48cc1304cc1451771a9/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-13postgresql: bump version to 9.5.3Vicente Olivert Riera
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-14postgresql: bump version to 9.5.2Vicente Olivert Riera
Also remove a patch which is no longer necessary and do not autoreconf. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-16postgresql: security bump to version 9.4.6Gustavo Zacarias
Fixes: CVE-2016-0766 - privilege escalation issue for users of PL/Java. CVE-2016-0773 - issue with regular expression (regex) parsing. Prior code allowed users to pass in expressions which included out-of-range Unicode characters, triggering a backend crash. This issue is critical for PostgreSQL systems with untrusted users or which generate regexes based on user input. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-09postgresql: security bump to version 9.4.5Gustavo Zacarias
Fixes: CVE-2015-5289: json or jsonb input values constructed from arbitrary user input can crash the PostgreSQL server and cause a denial of service. CVE-2015-5288: The crypt() function included with the optional pgCrypto extension could be exploited to read a few additional bytes of memory. No working exploit for this issue has been developed. sparc build fix patch upstream so drop it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-10-04package: Replace 'echo -n' by 'printf'Maxime Hadjinlian
'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-30postgresql: fix ZIC configure variable assignmentBaruch Siach
The 'ZIC=$$(ZIC)' assignment is seen as 'ZIC=$(ZIC)' by the shell, that interprets that as command substitution causing an error like: /bin/sh: ZIC: command not found Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-30postgresql: disable rpathBaruch Siach
The linker -rpath option causes the linker to search for libraries in host directories. Should fix: http://autobuild.buildroot.net/results/2cc/2cca5f8d8a8cd1bf9bbbc8c955aec477839e059f/ http://autobuild.buildroot.net/results/da6/da61d30791f216033971d679c84704d0fc0c3de0/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-08-10postgresql: fix sparc compile issueWaldemar Brodkorb
Fixes autobuilder compile error: http://autobuild.buildroot.net/results/f374d3535cf91f139ce80703cd2d0a2be5d3b2b1/ The predefines are wrong: ./output/host/usr/bin/sparc-buildroot-linux-uclibc-gcc -dM -E - </dev/null|grep sparc #define sparc 1 #define __sparc__ 1 #define __sparc 1 #define __sparc_v8__ 1 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-11postgresql: init script: wait till server has startedFloris Bos
Adds "-w" option to init script to wait till the database server has fully started and accepts connections before continuing. Prevents other applications that depend on PostgreSQL from failing to start, if the database server is not ready yet. Times out after 60 seconds by default. Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-21postgresql: bump to version 9.4.4Vicente Olivert Riera
- Bump to version 9.4.4 - Update hash file Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-09postgresql: bump to version 9.4.3Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-26postgresql: security bump to version 9.4.2Gustavo Zacarias
Fixes: CVE-2015-3165 (denial of service) CVE-2015-3166 (information disclosure) CVE-2015-3167 (side-channel key exposure) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-16postgresql: mark as not available for static linkingThomas Petazzoni
postgresql currently does not build in BR2_STATIC_LIBS=y configurations, and since there is little interest in using such a big piece of software in statically linked configuration, this commit makes postgresql depends on !BR2_STATIC_LIBS. Fixes: http://autobuild.buildroot.net/results/f9ed96d22e91cdba9ad92c4d4ea52e422bf1f1c9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-14postgresql: avoid AC_TRY_RUN when testing snprintf()Baruch Siach
A few snprintf() compatibility tests in config/c-library.m4 use AC_TRY_RUN that doesn't work for cross compilation. As a result configure.in decides to build a bundled implementation of snprintf(). This implementation calls isnan(), but -lm is missing. This breaks link with libpq.so. Preseed the correct values to make the configure script happy, and fix rsyslog build. Fixes: http://autobuild.buildroot.net/results/e76/e769982e3131581b38698c109c9bc5215e3d5b11/ http://autobuild.buildroot.net/results/2b9/2b9d3edc8341675455bc3b74d1e84c8c0c24c521/ http://autobuild.buildroot.net/results/2a8/2a80357237ed7225823a008b5ff02bab01269814/ and many more. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-06package/postgresql: fix pthread flags detectionMax Filippov
PostgreSQL configure may not correctly determine flags for compiling and linking with pthreads support when compiler or linker give irrelevant warnings. Record default compiler and linker output and see if adding pthread option changes that, instead of assuming that linker and compiler are silent by default. Fixes: http://autobuild.buildroot.net/results/916487aae929c181d4e3f471c6c7508552f0b683/ http://autobuild.buildroot.net/results/921a94d1a489d81b362c5b6a403a156b4691effd/ http://autobuild.buildroot.net/results/dbcdc58ad32b7b811ea47b6fc0f926a477e30786/ http://autobuild.buildroot.net/results/68b582f4caec223a646f095487263353f273156d/ Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-22packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias
Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-31packages: indentation cleanupJerzy Grzegorek
This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20postgresql: move systemd service file to /usr/libMike Williams
Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-20postgresql: disable spinlock support for arcle/arcbePeter Seiderer
Fixes: http://autobuild.buildroot.net/results/9b2/9b20513253fa68a3eb5588464a206092bb45e82d http://autobuild.buildroot.net/results/8ea/8ea59872bd68d302a11681426a47c70d9aa1475f http://autobuild.buildroot.net/results/4a1/4a1cf5721af631e15e076a5bcdd8676839c2a98d http://autobuild.buildroot.net/results/050/050a799f2e9e864e02cf75b2a5697ece215ab0a2 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-17postgresql: uses fork(), needs mmuPeter Seiderer
Additional revert 'postgresql: enable bfin compile' ([2]) which is now useless (Blackfin is a noMMU architecture). Fixes ([1]): postmaster/fork_process.o: In function `_fork_process': fork_process.c:(.text+0x22): undefined reference to `_fork' [1] http://autobuild.buildroot.org/results/c9c/c9c93156fe64e89f35627aa592c47d8c5181ed7d [2] http://git.buildroot.net/buildroot/commit/?id=6f177dac73a289db28772fb3e20347aba5cd5e67 [Thomas: propagate to the appropriate reverse dependencies.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-16postgresql: enable bfin compilePeter Seiderer
- overwrite platform support with linux template - disable spinlock support [Thomas: use the --with-template=linux option unconditionally.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-16postgresql: disable spinlock for xtensaBaruch Siach
Fixes: http://autobuild.buildroot.net/results/fbf/fbf601af8b194effcad21a431ca447cb69c2bbd9/ http://autobuild.buildroot.net/results/822/822bd05bcb7384c671bfe13125db3a818982781a/ http://autobuild.buildroot.net/results/4ae/4ae938730a74f2be0f74fef8a99622f8f42742af/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-15postgresql: fix IPv6 detection for uclibc compilePeter Seiderer
Assist configure IPv6 support detection for uclibc, fixes the following uclibc compile failure: auth.c: In function ‘CheckRADIUSAuth’: auth.c:2379:24: error: ‘in6addr_any’ undeclared (first use in this function) localaddr.sin6_addr = in6addr_any; Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-15postgresql: enable uclibc buildPeter Seiderer
Build with uclibc and locale support failes with the following error message: regc_pg_locale.c: In function ‘pg_wc_isdigit’: regc_pg_locale.c:312:6: error: dereferencing pointer to incomplete type isdigit_l((unsigned char) c, pg_regex_locale)); This can be fixed by overwriting the HAVE_LOCALE_T detection (thanks to Alex Potapenko <opotapenko@gmail.com> for the hint [1]). [1] http://lists.busybox.net/pipermail/buildroot/2015-March/121088.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-08postgresql: bump version to 9.4.1Peter Seiderer
See [1] for a detailed list of changes. [1] http://www.postgresql.org/docs/9.4/static/release-9-4-1.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-14postgresql: add hashGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-12postgresql: bump version to 9.4.0Nathaniel Roach
Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-10postgresql: add systemd service filePeter Seiderer
[Thomas: indent using tabs.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-09-01Merge branch 'next'Peter Korsgaard
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-17postgresql: add replacement pg_configFloris Bos
Normally pg_config is a native application compiled for the target architecture. Since we cannot execute those on the host system, provide a simple shell script as replacement. Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-17postgresql: remove devfiles from targetFloris Bos
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-11postgresql: disable spinlock support for nios2Peter Seiderer
Fixes: http://autobuild.buildroot.net/results/4d2/4d2f962ae59cfe11fce4d6790dbccfbb527a8f5f/ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-09postgresql: bump to version 9.3.5Peter Seiderer
See [1] for a detailed list of changes/fixes. [1] http://www.postgresql.org/docs/current/static/release-9-3-5.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-28postgresql: enable staging installationNathaniel Roach
Certain packages need the headers/libraries from Postgresql to build properly. [Thomas: slightly reword the commit message.] Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-05-16postgresql: disable spinlock support for microblaze (el/be)Peter Seiderer
Fixes: http://autobuild.buildroot.org/results/686/6860988c9edb62d0d32cc6b0bd6af4f35ca0e343/ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-07postgresql: add host-zic dependencyPeter Seiderer
Fixes zic related build failure [1], patch suggested by Yann E. MORIN [2]. [1] http://autobuild.buildroot.net/results/9ec69f92a48c1adc50bdb3096008243d842c27e6/ [2] http://lists.busybox.net/pipermail/buildroot/2014-April/094767.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-21postgresql: bump version to 9.3.4Peter Seiderer
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-21postgresql: change readline and zlib to be real optional selectionsPeter Seiderer
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-20postgresql: new packagePeter Seiderer
Based on suggested new package by Marco Trapanese ([1]). [1] http://lists.busybox.net/pipermail/buildroot/2014-February/090661.html [Thomas: make it only available with glibc toolchains.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>