aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/postgresql
AgeCommit message (Collapse)Author
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>