Peter Korsgaard
577021e81b
Merge branch 'next'
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-06-01 17:55:16 +02:00
Bernd Kuhls
02c43157ab
package/postgresql: fix snprintf() detection
...
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-22 21:44:51 +02:00
Vicente Olivert Riera
17b034e640
postgresql: bump version to 9.5.3
...
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-05-13 21:48:38 +02:00
Vicente Olivert Riera
73aaf73916
postgresql: bump version to 9.5.2
...
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-04-14 14:37:46 +02:00
Gustavo Zacarias
cd80d3c031
postgresql: security bump to version 9.4.6
...
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 >
2016-02-16 21:33:12 +01:00
Gustavo Zacarias
4cab124a0b
postgresql: security bump to version 9.4.5
...
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-09 15:24:34 +02:00
Baruch Siach
468233a9b7
postgresql: fix ZIC configure variable assignment
...
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-30 00:33:02 +02:00
Baruch Siach
b70f2f96d3
postgresql: disable rpath
...
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-09-30 00:32:04 +02:00
Vicente Olivert Riera
0b9d184ddd
postgresql: bump to version 9.4.4
...
- 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-21 06:39:19 +02:00
Gustavo Zacarias
233862860c
postgresql: bump to version 9.4.3
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-06-09 22:43:17 +02:00
Gustavo Zacarias
dffd39168a
postgresql: security bump to version 9.4.2
...
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-26 23:53:34 +02:00
Baruch Siach
3d3f70b567
postgresql: avoid AC_TRY_RUN when testing snprintf()
...
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-14 11:00:44 +02:00
Max Filippov
257a2393d0
package/postgresql: fix pthread flags detection
...
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-05-06 21:36:55 +02:00
Gustavo Zacarias
79ce08bbdc
packages: remove non-IPv6 dependencies and tweaks
...
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-04-22 23:06:35 +02:00
Jerzy Grzegorek
bd8c733fb4
packages: indentation cleanup
...
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-31 13:57:41 +02:00
Mike Williams
173f15e62b
postgresql: move systemd service file to /usr/lib
...
Signed-off-by: Mike Williams <mike@mikebwilliams.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-03-20 20:39:26 +01:00
Peter Seiderer
b1d20221e8
postgresql: disable spinlock support for arcle/arcbe
...
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-20 14:22:19 +01:00
Peter Seiderer
98689e11f5
postgresql: uses fork(), needs mmu
...
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-17 23:16:29 +01:00
Peter Seiderer
6f177dac73
postgresql: enable bfin compile
...
- 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-16 22:02:37 +01:00
Baruch Siach
7ebbf2e5c5
postgresql: disable spinlock for xtensa
...
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-16 22:00:14 +01:00
Peter Seiderer
f909587180
postgresql: fix IPv6 detection for uclibc compile
...
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-15 19:06:56 +01:00
Peter Seiderer
f5e4ca1022
postgresql: enable uclibc build
...
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-03-15 18:56:32 +01:00
Peter Seiderer
a7f8bf5cfa
postgresql: bump version to 9.4.1
...
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-02-08 21:36:47 +01:00
Nathaniel Roach
ff8832a5b5
postgresql: bump version to 9.4.0
...
Signed-off-by: Nathaniel Roach <nroach44@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-01-12 12:36:02 +01:00
Peter Seiderer
828d7b2f0d
postgresql: add systemd service file
...
[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 >
2015-01-10 19:04:31 +01:00
Thomas De Schampheleire
aaffd209fa
packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
...
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-10-04 18:54:16 +02:00
Peter Korsgaard
5aedb8be68
Merge branch 'next'
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2014-09-01 15:22:07 +02:00
Floris Bos
a9dbaa7726
postgresql: add replacement pg_config
...
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-17 21:18:09 +02:00
Floris Bos
4e116bf369
postgresql: remove devfiles from target
...
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2014-08-17 21:16:34 +02:00
Peter Seiderer
bf3d9840d7
postgresql: disable spinlock support for nios2
...
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-11 22:57:56 +02:00
Peter Seiderer
ed3cc0d017
postgresql: bump to version 9.3.5
...
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-08-09 10:09:20 +02:00
Nathaniel Roach
0d7236bd30
postgresql: enable staging installation
...
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-07-28 20:53:05 +02:00
Peter Seiderer
6811423894
postgresql: disable spinlock support for microblaze (el/be)
...
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-16 09:54:23 +02:00
Peter Seiderer
cb4e64e5fb
postgresql: add host-zic dependency
...
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-05-07 15:03:44 +02:00
Peter Seiderer
04e6fe2891
postgresql: bump version to 9.3.4
...
Signed-off-by: Peter Seiderer <ps.report@gmx.net >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2014-04-21 10:36:03 +02:00
Peter Seiderer
ad2e796df3
postgresql: new package
...
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 >
2014-04-20 18:50:49 +02:00