summaryrefslogtreecommitdiffstats
path: root/package/postgresql
Commit message (Collapse)AuthorAgeFilesLines
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | '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>
* postgresql: fix ZIC configure variable assignmentBaruch Siach2015-09-301-1/+1
| | | | | | | | | | 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>
* postgresql: disable rpathBaruch Siach2015-09-301-0/+1
| | | | | | | | | | | | 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>
* postgresql: fix sparc compile issueWaldemar Brodkorb2015-08-101-0/+38
| | | | | | | | | | | | | | | 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>
* postgresql: init script: wait till server has startedFloris Bos2015-07-111-1/+1
| | | | | | | | | | | | | 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>
* postgresql: bump to version 9.4.4Vicente Olivert Riera2015-06-212-3/+3
| | | | | | | | - 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>
* postgresql: bump to version 9.4.3Gustavo Zacarias2015-06-092-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: security bump to version 9.4.2Gustavo Zacarias2015-05-262-3/+3
| | | | | | | | | | 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>
* postgresql: mark as not available for static linkingThomas Petazzoni2015-05-161-0/+7
| | | | | | | | | | | | | | 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>
* postgresql: avoid AC_TRY_RUN when testing snprintf()Baruch Siach2015-05-141-1/+3
| | | | | | | | | | | | | | | | | | | 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>
* package/postgresql: fix pthread flags detectionMax Filippov2015-05-062-0/+57
| | | | | | | | | | | | | | | | | | | 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>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-7/+1
| | | | | | | | 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>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-12/+12
| | | | | | | 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>
* postgresql: move systemd service file to /usr/libMike Williams2015-03-201-2/+2
| | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: disable spinlock support for arcle/arcbePeter Seiderer2015-03-201-1/+1
| | | | | | | | | | | 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>
* postgresql: uses fork(), needs mmuPeter Seiderer2015-03-172-6/+2
| | | | | | | | | | | | | | | | | 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>
* postgresql: enable bfin compilePeter Seiderer2015-03-161-1/+6
| | | | | | | | | | - 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>
* postgresql: disable spinlock for xtensaBaruch Siach2015-03-161-1/+1
| | | | | | | | | | 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>
* postgresql: fix IPv6 detection for uclibc compilePeter Seiderer2015-03-151-0/+6
| | | | | | | | | | | | 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>
* postgresql: enable uclibc buildPeter Seiderer2015-03-152-7/+8
| | | | | | | | | | | | | | | | | 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>
* postgresql: bump version to 9.4.1Peter Seiderer2015-02-082-3/+3
| | | | | | | | | 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>
* postgresql: add hashGustavo Zacarias2015-01-141-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: bump version to 9.4.0Nathaniel Roach2015-01-121-1/+1
| | | | | Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: add systemd service filePeter Seiderer2015-01-102-0/+32
| | | | | | | | [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>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-6/+6
| | | | | | | | | | | | 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>
* Merge branch 'next'Peter Korsgaard2014-09-012-1/+28
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * postgresql: add replacement pg_configFloris Bos2014-08-172-0/+27
| | | | | | | | | | | | | | | | | | 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>
| * postgresql: bump to version 9.3.5Peter Seiderer2014-08-091-1/+1
| | | | | | | | | | | | | | | | | | 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>
* | postgresql: remove devfiles from targetFloris Bos2014-08-171-0/+1
| | | | | | | | | | Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | postgresql: disable spinlock support for nios2Peter Seiderer2014-08-111-1/+1
|/ | | | | | | | 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>
* postgresql: enable staging installationNathaniel Roach2014-07-281-0/+2
| | | | | | | | | | 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>
* postgresql: disable spinlock support for microblaze (el/be)Peter Seiderer2014-05-161-0/+4
| | | | | | | | 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>
* postgresql: add host-zic dependencyPeter Seiderer2014-05-071-0/+3
| | | | | | | | | | | 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>
* postgresql: bump version to 9.3.4Peter Seiderer2014-04-211-1/+1
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: change readline and zlib to be real optional selectionsPeter Seiderer2014-04-211-2/+0
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: new packagePeter Seiderer2014-04-203-0/+121
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>
OpenPOWER on IntegriCloud