aboutsummaryrefslogtreecommitdiff
path: root/libs/postgresql/Makefile
Commit message (Collapse)AuthorAge
* postgresql: update to version 9.6.8Sebastian Kemper2018-03-19
| | | | | | | | | | This update addresses: CVE-2018-1052 CVE-2018-1053 CVE-2018-1058 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* postgresql: fix build for ARC archSebastian Kemper2018-03-19
| | | | | | | | | | | | | When building for ARC the compile fails with: /var/lib/buildbot/slaves/dave-builder/arc_arc700/build/sdk/build_dir/target-arc_arc700_uClibc/postgresql-9.6.5/src/include/storage/s_lock.h:899:2: error: #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. #error PostgreSQL does not have native spinlock support on this platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be poor. Please report this to pgsql-bugs@postgresql.org. So disable spinlocks when compiling for this arch. This was done likewise for the avr32 target, which is not supported anymore, so this can be deleted. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* postgresql: clean up DEPENDSSebastian Kemper2018-03-19
| | | | | | Currently the DEPENDS do not reflect reality. Fix this. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* postgresql: clean up CFLAGSSebastian Kemper2018-03-19
| | | | | | | | | | | | | | | | | | | | | | | - The extra include is removed; the postgresql build system adds this include by itself. - '-lpthread' is removed; the postgresql build system is able to detect how to access pthread features by itself. - '$(FPIC)' is removed; adding this to CFLAGS is not recommendable: a) The postgresql build system adds its own PIC flag behind OpenWrt's CFLAGS when compiling shared objects, overriding OpenWrt's setting. b) Forcing applications into PIC mode will just slow them down. c) This leads to build failures on aarch64: access/transam/commit_ts.o: In function `CommitTsPagePrecedes': commit_ts.c:(.text+0x14): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `TransactionIdPrecedes' defined in .text section in access/transam/transam.o commit_ts.c:(.text+0x14): warning: Too many GOT entries for -fpic, please recompile with -fPIC /var/lib/buildbot/slaves/dave-builder/aarch64_generic/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-7.3.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/7.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld: final link failed: Symbol needs debug section which does not exist collect2: error: ld returned 1 exit status Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* postgresql: update to version 9.6.6Daniel Golle2018-01-05
| | | | | | Fixes CVE-2017-12172, CVE-2017-15098 and CVE-2017-15099. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: update to version 9.6.5Daniel Golle2017-11-07
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: update to version 9.6.4Daniel Golle2017-08-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #4180 from michael-dev/features/libpq-pkgconfig-filesDaniel Golle2017-08-01
|\ | | | | postgresql: InstallDev pkg-config files for libpq
| * postgresql: InstallDev pkg-config files for libpqMichael Braun2017-08-01
| | | | | | | | Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
* | postgresql: allow populating required DB using scriptDaniel Golle2017-07-02
| | | | | | | | | | | | | | Extend UCI mechanics to allow pre-populating a newly created database by executing SQL statements from a scripts file. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: update to version 9.6.3Daniel Golle2017-07-01
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: fix host build and correctly apply NLSDaniel Golle2017-06-24
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: properly handle pg_config host buildDaniel Golle2017-06-23
| | | | | | | | | | | | | | pg_config needs to be build for each target which creates some extra complications... Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: set include path to fix building contribsDaniel Golle2017-06-20
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: disable parallel buildDaniel Golle2017-06-20
| | | | | | | | | | | | It seems to break things (occasionally) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: fix build and improve packagingDaniel Golle2017-06-19
| | | | | | | | | | | | | | * make sure contrib stuff gets built and installed * refresh patches and improve Makefile while at it Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | postgresql: update to version 9.4.12Daniel Golle2017-06-19
|/ | | | | | Fixes CVE-2017-7484 and CVE-2017-7485. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with ↵Matthias Schiffer2017-01-10
| | | | | | | | | | | | | | | | | | $(STAGING_DIR_HOSTPKG) As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely on it. See 73b7f55424de52d8179a9ad808252fe3bf8dcc9d for more information on STAGING_DIR_HOSTPKG. STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release (it is equivalent to $(STAGING_DIR)/host), so this simple search/replace cleanup is safe to apply. Doing this cleanup now will be useful for the Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream. Also fixes a typo in the dbus Makefile ("STAGIND_DIR"). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* postgresql: fix download URLsGergely Kiss2016-11-11
| | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* postgresql: properly stop serviceDaniel Golle2016-10-11
| | | | | | | postmaster always detaches from procd, work around by using pg_ctl to stop the server. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: move some binaries to pgsql-cli-extraDaniel Golle2016-09-28
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: clean package to fix duplicate files issueDaniel Golle2016-09-27
| | | | | | | | | Both postgresql-server and postgresql-cli install /usr/bin/psql which thus creates a conflict when installing both packages. Fix this by removing duplicate and useless binaries from the postgresql-server package. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: update to version 9.5.4 and major reworkDaniel Golle2016-09-23
| | | | | | | | | | | | | * convert package build to use host-build for ecpg, pg_config and zic * introduce /lib/functions/postgresql.sh to be used by packages requiring a postgres database to exist as well as postgres' init * no longer require shadow-su, patch pg_ctl to setuid() ifself instead * auto-create database directory if there is enough free space * auto-create databases configured in UCI * remove some dead uci config options * grab maintainership Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: make host-built-tools safe for rebuildsDaniel Golle2016-08-26
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: replace my defunct email addressJo-Philipp Wich2016-06-07
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Merge pull request #2530 from dangowrt/update-postgresql-to-9-5-1Jo-Philipp Wich2016-04-15
|\ | | | | postgresql: update source to 9.5.1 and refresh patches
| * postgresql: update source to 9.5.1 and refresh patchesDaniel Golle2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting the additional include path for host-build of ecpg is no longer required and started breaking the build (PostgeSQL BUG-14033), remove it. Also, pgsql-server no longer requires shadow-su since procd can take care of starting it running under the appropriate user. Moving the dependency to pgsql-cli makes sense as the 'su' command is still needed to boot-strap a new data directory and also commonly used for other administration tasks. However, in that way the CLI and shadow-su can be removed during production once pgsql-server has been setup. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | Drop the redundant -r option to $(CP)Yousong Zhou2016-03-12
|/ | | | | | | | | $(CP) was defined as `cp -fpR' since the very begining of OpenWrt build system (2006-06-22). The -R option should be enough and base packages use only $(CP) for the same purposes just fine and BSD manual of cp also discourages the use of `-r' option. So let's just tidy up the usage now. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* postgresql: now visible with uclibcAlexander Ryzhov2015-12-06
| | | | Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
* postgresql: fix potential snprintf issueDirk Neukirchen2015-08-21
| | | | | | | | adopt buildroot commit: 3d3f70b567718ae308b5704ddd7d107c4849309e spotted while reviewing buildroot changes to postgresql Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* postgresql: fix uclibc locale.h bugDirk Neukirchen2015-08-21
| | | | | | | | | | reported in forum: https://forum.openwrt.org/viewtopic.php?id=59137 issue was discovered and fixed already in buildroot git commit id: f5e4ca10220e2325d3a34c0a423388e40b27dbdf Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* postgresql: add missing librt dependencyDirk Neukirchen2015-08-21
| | | | | | fixes build error with uclibc Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* postgresql: update source to 9.4.4 and refresh scriptsDaniel Golle2015-08-12
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* postgresql: update to 9.4.1Dirk Neukirchen2015-08-12
| | | | | | - supports arm64/aarch64 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* libpq: Fix missing dependency (shadow-utils)Ted Hess2014-10-07
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* postgresql: import from oldpackages, add myself as maintainer, add license ↵Jo-Philipp Wich2014-07-02
information, update to v9.0.17 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>