Waldemar Brodkorb
b1c6801f1c
postgresql: fix sparc compile issue
...
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-08-10 15:55:44 +02:00
Floris Bos
e7d515d00e
postgresql: init script: wait till server has started
...
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-07-11 09:27:38 +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
Thomas Petazzoni
b9f709e420
postgresql: mark as not available for static linking
...
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-16 17:24:16 +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
Gustavo Zacarias
382eeca032
postgresql: add hash
...
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2015-01-14 19:27:07 +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
85dc7d01c1
postgresql: change readline and zlib to be real optional selections
...
Signed-off-by: Peter Seiderer <ps.report@gmx.net >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2014-04-21 10:35:38 +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