Commit graph

18 commits

Author SHA1 Message Date
Gergely Kiss
5ab41729ea postgresql: fix download URLs
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-11-11 11:23:49 +01:00
Daniel Golle
ce46b633e2 postgresql: properly stop service
postmaster always detaches from procd, work around by using
pg_ctl to stop the server.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-10-11 01:03:27 +02:00
Daniel Golle
c14f2ac6da postgresql: move some binaries to pgsql-cli-extra
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-28 14:45:27 +02:00
Daniel Golle
46ab42b35e postgresql: clean package to fix duplicate files issue
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>
2016-09-27 21:08:12 +02:00
Daniel Golle
63120640e6 postgresql: update to version 9.5.4 and major rework
* 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>
2016-09-23 20:03:05 +02:00
Daniel Golle
3d3918bb9a postgresql: make host-built-tools safe for rebuilds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-08-26 20:24:22 +02:00
Jo-Philipp Wich
9843f170d7 treewide: replace my defunct email address
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-07 12:00:59 +02:00
Jo-Philipp Wich
ff0f689f97 Merge pull request #2530 from dangowrt/update-postgresql-to-9-5-1
postgresql: update source to 9.5.1 and refresh patches
2016-04-15 11:48:48 +02:00
Daniel Golle
b0f8e994f3 postgresql: update source to 9.5.1 and refresh patches
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>
2016-03-21 23:04:28 +01:00
Yousong Zhou
92b0575e28 Drop the redundant -r option to $(CP)
$(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>
2016-03-12 01:23:28 +08:00
Alexander Ryzhov
4bfc89560e postgresql: now visible with uclibc
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2015-12-06 08:08:49 -05:00
Dirk Neukirchen
bf119cb33b postgresql: fix potential snprintf issue
adopt buildroot commit: 3d3f70b567718ae308b5704ddd7d107c4849309e

spotted while reviewing buildroot changes to postgresql

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-21 10:05:11 +02:00
Dirk Neukirchen
b19dc5496e postgresql: fix uclibc locale.h bug
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>
2015-08-21 10:05:06 +02:00
Dirk Neukirchen
736ecae209 postgresql: add missing librt dependency
fixes build error with uclibc

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-21 10:04:59 +02:00
Daniel Golle
714a408a6e postgresql: update source to 9.4.4 and refresh scripts
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-12 17:30:20 +02:00
Dirk Neukirchen
6ae54e4075 postgresql: update to 9.4.1
- supports arm64/aarch64

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-08-12 17:30:20 +02:00
Ted Hess
581aef1d6e libpq: Fix missing dependency (shadow-utils)
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-10-07 14:02:46 -04:00
Jo-Philipp Wich
022ce86177 postgresql: import from oldpackages, add myself as maintainer, add license information, update to v9.0.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-02 12:42:33 +02:00