aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/postgresql
AgeCommit message (Collapse)Author
2017-07-24postgresql: Do not link with libnsl on muslKhem Raj
libnsl is not available on musl Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-23postgresql: update 9.4.10 -> 9.4.11Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-02-23postgresql: use gettext bbclass and unblacklistAndreas Müller
Although I reomeve gettext related packages from my build machine, I could not reproduce error mentioned. Let's hope my asumption is good enough. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-16postgresql: add gettext-native and tcl-native to DEPENDSRobert Yang
Fixed: | checking for msgfmt... no | configure: error: msgfmt is required for NLS And: | checking for tclsh83... no | configure: error: Tcl shell not found Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2017-02-13python-edbus exquisite elementary libeweather unionfs-fuse xfsprogs gmtk ↵Martin Jansa
devilspie2 gnome-backgrounds gnome-desktop gnome-mime-data gtk-engines gtksourceview2 libgnomekbd libidl-native onboard libgpewidget ubi-utils-klibc kexec-tools-klibc gupnp-igd gupnp-tools dvb-apps gstreamer mpd crda netcat-openbsd wireshark gnokii libmbim mosh networkmanager-openvpn libtelepathy dbus-daemon-proxy libdbus-c++ php vala-dbus-binding-tool collectd libgxim pywbem gtkhtml2 fbida fontforge libsexy wayland-fits xstdcmap xf86-video-glamo font-adobe-100dpi font-adobe-utopia-100dpi font-bh-100dpi font-bh-lucidatypewriter-100dpi font-misc-misc crash a2jmidid libsdl2-mixer libsdl-mixer minidlna sylpheed libsdl2-ttf libsdl-ttf ode pidgin postgresql syslog-ng usb-modeswitch xdg-user-dirs gateone python3-cryptography-vectors python3-ndg-httpsclient python-cryptography-vectors python-pbr bundler netdata menulibre openzone xfce4-verve-plugin iperf terminus-font xf86-video-nouveau ipmiutil klibc-utils pmbw multipath-tools gparted, gnome-system-monitor, php, vala-dbus-binding-tool, gtkmathview, lmsensors, postgresql: Blacklist * fails repeatedly as reported in: http://lists.openembedded.org/pipermail/openembedded-devel/2017-February/111112.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13postgresgl: update to 9.4.10 and build fixArmin Kuster
9.4.10 contains: CVE-2016-5423, CVE-2016-5424 see https://www.postgresql.org/docs/current/static/release-9-4-10.html and build failure: checking for tcl.h... no | configure: error: header file <tcl.h> is required for Tcl drop hardcoded PR Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-10-25postgresql.inc: Fix do_configure error (could not find Python.h)Mario Domenech Goulart
Fixes: | checking for Python.h... no | configure: error: header file <Python.h> is required for Python | NOTE: The following config.log files may provide further information. | WARNING: exit code 1 from a shell command. | NOTE: .../tmp/work/armv5e-poky-linux-gnueabi/postgresql/9.4.8-r0.0/build/config.log | ERROR: configure failed Signed-off-by: Mario Domenech Goulart <mario.goulart@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03Remove bashismsHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08postgresql: 9.4.5 -> 9.4.8mingli.yu@windriver.com
* Upgrade postgresql from 9.4.5 to 9.4.8 * Update LIC_FILES_CHKSUM as COPYRIGHT file updates * Remove two backport CVE patches Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29Revert "postgresql: blacklist because tcl in oe-core is broken for last month"Jackie Huang
This reverts commit 44ea80d3a3652741cefbbe02b29ed7be4696d914. The tcl issue is fixed by: "69dfc58 tcl: fix sed command in do_install" Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-13postgresql: blacklist because tcl in oe-core is broken for last monthMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin
They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton
base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25postgresql: Security Advisory-postgresql-CVE-2016-0773Zhixiong Chi
add CVE-2016-0773 patch for avoiding attackers to cause a denial of service (infinite loop or buffer overflow and crash) via a large Unicode character range in a regular expression. Patch comes from: http://git.postgresql.org/gitweb/?p=postgresql.git;a=summary commit 3bb3f42f3749d40b8d4de65871e8d828b18d4a45 Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-14postgresql: Security Advisory-postgresql-CVE-2016-0766Zhixiong Chi
add CVE-2016-0766 patch for avoiding attackers to gain privileges via unspecified vectors. Patch comes from: http://git.postgresql.org/gitweb/?p=postgresql.git;a=summary commit f4aa3a18a20d51575562520754aa376b3b08b2d0 Signed-off-by: Zhixiong Chi <Zhixiong.Chi@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-06postgresql: 9.4.4 -> 9.4.5Li xin
Upgrade postgresql from 9.4.4 to 9.4.5. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18postgresql: Don't symlink to perl if it's disabledGeorge McCollister
Don't create a symlink to libperl.so if perl isn't in PACKAGECONFIG. Attempting to do so will fail if perl hasn't been built. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23postgresql.inc: fix indentation to use 4 spacesMartin Jansa
* like rest of meta-oe and other sane layers * never mix tabs and spaces (especially on the same line) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23postgresql: set the tclsh as target pathYue Tao
The tclsh path in pltcl_listmod is set to sysroot, which causes pltcl_listmod to fails to run on target, so fix the path to /usr/bin/tclsh. $ pltcl_listmod /usr/bin/pltcl_listmod: line 5: /buildarea1/WRLinux70-STD-0825/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tclsh: No such file or directory $ Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30postgresql: advance from 9.4.2 to 9.4.4Joe Slater
Consolidate patches in one directory and remove two unused patches. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30postgresql: Add explict getVar expansion parameterRichard Purdie
Bitbake is likely to require this parameter in future, add the default value. Patch generated with the command: sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-06-23postgresql: upgrade to 9.4.2Roy Li
1. remove Backport patches 2. Update the checksume, include CopyRight file, since date in it is changed 3. remove --without-krb5 configure options, since it become useless 4. Update remove.autoconf.version.check.patch 5. skip to check libperl Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0065 and CVE-2014-0066 Security AdvisoryKang Kai
Coverity identified a number of places in which it couldn't prove that a string being copied into a fixed-size buffer would fit. We believe that most, perhaps all of these are in fact safe, or are copying data that is coming from a trusted source so that any overrun is not really a security issue. Nonetheless it seems prudent to forestall any risk by using strlcpy() and similar functions. Fixes by Peter Eisentraut and Jozef Mlich based on Coverity reports. In addition, fix a potential null-pointer-dereference crash in contrib/chkpass. The crypt(3) function is defined to return NULL on failure, but chkpass.c didn't check for that before using the result. The main practical case in which this could be an issue is if libc is configured to refuse to execute unapproved hashing algorithms (e.g., "FIPS mode"). This ideally should've been a separate commit, but since it touches code adjacent to one of the buffer overrun changes, I included it in this commit to avoid last-minute merge issues. This issue was reported by Honza Horak. Security: CVE-2014-0065 for buffer overruns, CVE-2014-0066 for crypt() https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0065 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0066 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0067 Security AdvisoryKang Kai
The make check command for the test suites in PostgreSQL 9.3.3 and earlier does not properly invoke initdb to specify the authentication requirements for a database cluster to be used for the tests, which allows local users to gain privileges by leveraging access to this cluster. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0067 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0063 Security AdvisoryKang Kai
Multiple stack-based buffer overflows in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via vectors related to an incorrect MAXDATELEN constant and datetime values involving (1) intervals, (2) timestamps, or (3) timezones, a different vulnerability than CVE-2014-0065. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0063 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0062 Security AdvisoryKang Kai
Race condition in the (1) CREATE INDEX and (2) unspecified ALTER TABLE commands in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allows remote authenticated users to create an unauthorized index or read portions of unauthorized tables by creating or deleting a table with the same name during the timing window. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0062 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0061 Security AdvisoryKang Kai
The validator functions for the procedural languages (PLs) in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to gain privileges via a function that is (1) defined in another language or (2) not allowed to be directly called by the user due to permissions. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0061 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0060 Security AdvisoryKang Kai
PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 does not properly enforce the ADMIN OPTION restriction, which allows remote authenticated members of a role to add or remove arbitrary users to that role by calling the SET ROLE command before the associated GRANT command. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0060 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-11-07postgresql: add fix for CVE-2014-0064 Security AdvisoryKang Kai
Multiple integer overflows in the path_in and other unspecified functions in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to have unspecified impact and attack vectors, which trigger a buffer overflow. NOTE: this identifier has been SPLIT due to different affected versions; use CVE-2014-2669 for the hstore vector. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0064 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26postgresql: add systemd unit fileChong.Lu@windriver.com
Add systemd unit file for postgresql. When 'sysvinit' and 'systemd' are both in DISTRO_FEATURES, we need to prevent the init script from running via systemd. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-26postgresql: move initdb to postgresql-setupChong.Lu@windriver.com
We shouldn't use sysvinit init script to initialize database when use systemd as the init manager, so split initdb function to postgresql-setup. Before starting postgresql server, we can use "postgresql-setup initdb" to initialize the database cluster. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21postgresql: Fix typo in PACKAGECONFIG[python] variableBob Cochran
typo in extra argument to be added when feature is disabled Signed-off-by: Bob Cochran <openembedded@mindchasers.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22postgresql : Fix build using pkg-config for libxml-2.0.Philip Balister
Use package-config instead of binconfig for libxml-2.0. The pgac_option processing is filtering the output from the xml-config programming. The pkgconfig output is good enough to use without such filtering. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13postgresql: use BP instead of P to fix multilib buildJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-10postgresql: B!=S fixArmin Kuster
This fixes a configure issue do to incorrect directory reference. Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03postgresql: enable some bindingsChong.Lu@windriver.com
1. Enable pam, openssl, python, uuid, libxml, tcl, nls, libxml and perl bindings. 2. Make plperl, plpython, pltcl subpackages as dynamic in case other packages runtime depend on them. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03postgresql: split out contrib into seperate packagesChong.Lu@windriver.com
Make contrib and split them into postgresql-contrib. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03postgresql: split out some lib files into seperate packagesChong.Lu@windriver.com
1. Split out libecpg-compat-dev, libecpg-staticdev, libecpg-doc, libpq-staticdev, libpgtypes-staticdev and libpgtypes-dev into seperate packages. 2. Multilib builds set the package name (PN) to both foo and lib32-foo breaking build.use BPN instead to get the Base package name. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03postgresql: add init script and DESCRIPTIONChong.Lu@windriver.com
1. Add DESCRIPTION 2. Add init script for starting up the PostgreSQL server. 3. Disable krb5 by default Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-01postgresql: apply upstream parallel make fixChristopher Larson
Reported-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-03postgresql: upgrade to 9.2.4Mihai Prica
Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-16postgresql: disable spinlocks for AArch64Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-07postgresql: Fix packaging of static librariesOtavio Salvador
This patch fixes the following QA issue: ,----[ Fragment of build error log ] | ... | ERROR: QA Issue: non -staticdev package contains static .a library: | libecpg-dev path '/work/.../packages-split/libecpg-dev/usr/lib/libpgtypes.a' | ... `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-08-07postgresql: Fix redundant rpath for '/usr/lib'Otavio Salvador
This patch fixes the following QA issue: ,----[ Fragment of build error log ] | ... | ERROR: QA Issue: postgresql-client: | /work/.../usr/bin/pg_dumpall contains probably-redundant | RPATH /usr/lib | ... `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reported-by: Nathan West <nate.ewest@gmail.com> Reported-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-23postgresql: include Makefile.global in SSTATE_SCAN_FILESMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10postgresql: update to 8.4.7 since 8.4.4 was unfetchableOtavio Salvador
This has been synced with postgresql recipes in OE. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-03-17move layer into meta-oe in preparation for future splitsKoen Kooi
As per TSC decision Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>