Commit graph

98 commits

Author SHA1 Message Date
Domen Kožar f31ea5a2d5
postgresql: conditionalize systemd (on darwin) 2018-11-27 19:38:54 +00:00
Domen Kožar d04fedd715
postgresql: Enable systemd integration for 9.6+
This allows, finally, proper detection when postgresql is ready to
accept connections. Until now, it was possible that services depending
on postgresql would fail in a race condition trying to connect
to postgresql.
2018-11-27 19:16:21 +00:00
R. RyanTM 128a446c59 postgresql_11: 11.0 -> 11.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/postgresql/versions
2018-11-26 09:53:36 -06:00
Austin Seipp 2266f2014b nixos/postgresql: add myself as maintainer
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-02 13:52:33 -05:00
Alyssa Ross 91c746cacc
postgresql_11: init at 11.0 2018-10-30 14:33:35 +00:00
Alyssa Ross c6c7d55790
postgresql*: use underscores in version numbers 2018-10-30 14:32:21 +00:00
Alyssa Ross 9594b59f13
postgresql10: rename from postgresql100 2018-10-30 12:40:20 +00:00
John Ericson 440ac01e5a
postgresql: Fix cross compilation
b1548ce080 dropped the C compiler prefix
2018-08-20 10:12:18 +02:00
Vladimír Čunát b1548ce080
postgresql*: fixup build by a side-step
https://github.com/NixOS/nixpkgs/pull/44767#issuecomment-414066070
2018-08-19 09:07:00 +02:00
Andreas Rammhold 5de601e0d2
postgresql93: 9.3.23 -> 9.3.24
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-3-24.html
2018-08-16 21:52:37 +02:00
Andreas Rammhold 2abb00e249
postgresql94: 9.4.18 -> 9.4.19
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-4-19.html
2018-08-16 21:52:37 +02:00
Andreas Rammhold 98d8db4c32
postgresql95: 9.5.13 -> 9.5.14
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-5-14.html
2018-08-16 21:52:30 +02:00
Andreas Rammhold 94c35894b0
postgresql96: 9.6.9 -> 9.6.10
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-6-10.html
2018-08-16 21:41:05 +02:00
Andreas Rammhold 1c4fc1dbd9
postgresql100: 10.4 -> 10.5
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-10-5.html
2018-08-16 21:38:29 +02:00
Christoph Hrdinka 72a35533e0 postgresql: fix tzdata path
Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
2018-08-14 19:07:32 +01:00
John Ericson f539c30095 postgresql: Fix nits after cross fixes 2018-08-02 18:48:06 -04:00
Ding Xiang Fei 003055a670 pass NIX_CFLAGS_COMPILE through mkDerivation instead 2018-07-31 11:23:17 +08:00
Ding Xiang Fei c0ca3e36d6 be explicit on choice of uuid library 2018-07-30 15:47:10 +08:00
Ding Xiang Fei e8682cafd6 always build against tzdata 2018-07-30 11:54:57 +08:00
Ding Xiang Fei 894705161c use NIX_CFLAGS_COMPILE 2018-07-29 21:21:46 +08:00
Ding Xiang Fei a998a49ee4 reduce diffs due to reordering 2018-07-27 14:19:05 +08:00
Ding Xiang Fei b2104d93ff point to the right libxml2 header folder 2018-07-27 14:12:25 +08:00
Ding Xiang Fei 5c7cfbc0f1 allow postgresql cross compiling 2018-07-25 16:32:42 +08:00
volth dda95bae35 [bot] treewide: remove unused 'args@' in lambdas 2018-07-20 19:54:05 +00:00
Silvan Mosberger 446ec6df2d postgresql100: 10.3 -> 10.4
Fixes CVE-2018-1115

Release notes: https://www.postgresql.org/docs/10/static/release-10-4.html
2018-07-20 11:50:41 -05:00
Silvan Mosberger d066cecd7d postgresql96: 9.6.8 -> 9.6.9
Fixes CVE-2018-1115

Release notes: https://www.postgresql.org/docs/10/static/release-9-6-9.html
2018-07-20 11:50:41 -05:00
Silvan Mosberger ac5fdda5a6 postgresql95: 9.5.12 -> 9.5.13
Release notes: https://www.postgresql.org/docs/10/static/release-9-5-13.html
2018-07-20 11:50:41 -05:00
Silvan Mosberger 3d16732102 postgresql94: 9.4.17 -> 9.4.18
Release notes: https://www.postgresql.org/docs/10/static/release-9-4-18.html
2018-07-20 11:50:41 -05:00
Silvan Mosberger 73aaf63fb1 postgresql93: 9.3.22 -> 9.3.23
Release notes: https://www.postgresql.org/docs/10/static/release-9-3-23.html
2018-07-20 11:50:41 -05:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Austin Seipp 7e21fd72ce postgresql100: 10.2 -> 10.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-20 08:05:28 -05:00
Austin Seipp 371721a57b postgresql96: 9.6.7 -> 9.6.8
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-20 08:05:28 -05:00
Austin Seipp 7c9f817abe postgresql95: 9.5.11 -> 9.5.12
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-20 08:05:28 -05:00
Austin Seipp 1e3e134b04 postgresql94: 9.4.16 -> 9.4.17
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-20 08:05:28 -05:00
Austin Seipp 1617fa98c7 postgresql93: 9.3.21 -> 9.3.22
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-20 08:05:28 -05:00
Lancelot SIX 4080c2ae8b
postgresql100: 10.1 -> 10.2
See https://www.postgresql.org/docs/10/static/release-10-2.html for
release information
2018-02-23 11:02:55 +01:00
Lancelot SIX 67f892b08f
postgresql96: 9.6.6 -> 9.6.7
See https://www.postgresql.org/docs/9.6/static/release-9-6-7.html for
release information
2018-02-23 11:02:50 +01:00
Lancelot SIX 67e45dfd58
postgresql95: 9.5.10 -> 9.5.11
See https://www.postgresql.org/docs/9.5/static/release-9-5-11.html for
release information.
2018-02-23 11:02:44 +01:00
Lancelot SIX 10ef07fd62
postgresql94: 9.4.15 -> 9.4.16
See https://www.postgresql.org/docs/9.4/static/release-9-4-16.html for
release information
2018-02-23 11:02:36 +01:00
Lancelot SIX 104dfd6f85
postgresql93: 9.3.20 -> 9.3.21
See https://www.postgresql.org/docs/9.3/static/release-9-3-21.html for
release information
2018-02-23 11:02:24 +01:00
Will Dietz 81eef05f86 postgresql: don't try to use 'locale' if not building to run on glibc 2018-02-13 09:44:31 -06:00
Shea Levy 0578f07b91
postgresql: Respect dontDisableStatic 2018-01-11 09:19:46 -05:00
adisbladis 2d74fa62a8
postgresql100: 10.0 -> 10.1 2018-01-02 12:13:45 +01:00
adisbladis 71acd1f8a2
postgresql96: 9.6.5 -> 9.6.6 2018-01-02 12:13:45 +01:00
adisbladis 414dc6ba15
postgresql95: 9.5.9 -> 9.5.10 2018-01-02 12:13:44 +01:00
adisbladis b7302ccb81
postgresql94: 9.4.14 -> 9.4.15 2018-01-02 12:13:43 +01:00
adisbladis 9da1b2f911
postgresql93: 9.3.19 -> 9.3.20 2018-01-02 12:13:42 +01:00
Franz Pletz b02b224027
postgresql100: init at 10.0 2017-10-07 00:50:44 +02:00
Daiderd Jordan 6118ace4d5
postgresql: enable all platforms on hydra 2017-10-06 21:25:22 +02:00
Robin Gloster 6b05651c20
Revert "postgresql: Add dev output"
Firstly this creates a cycle in 9.6 .out <-> .dev after fixing the PGXS
path.

Secondly this breaks extension handling and the pg_config as it
resolves a lot of paths relatively resulting in the following bogus
output:

BINDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/bin
DOCDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/doc
HTMLDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/doc
INCLUDEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include
PKGINCLUDEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include
INCLUDEDIR-SERVER = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/include/server
LIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
PKGLIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
LOCALEDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/locale
MANDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share/man
SHAREDIR = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/share
SYSCONFDIR = /etc/postgresql
PGXS = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/nix/store/irqqq4g173g9xrk1mh12kxv0s1d8dbyh-postgresql-9.5.9' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib' '--with-ossp-uuid' 'CC=gcc'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE -I/nix/store/z6r0j2b4bcdfw3pck2x6ay0vvx0qzb92-libxml2-2.9.5-dev/include/libxml2
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
CFLAGS_SL = -fPIC
LDFLAGS = -L../../../src/common -L/nix/store/ighspl5sa3qi1zy7nkih0c9p73xjfqa6-libxml2-2.9.5/lib -Wl,--as-needed -Wl,-rpath,'/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib',--enable-new-dtags
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 9.5.9

This can probably only be properly fixed by rewriting pg_config in large
parts as it does not in any way respect splitting the postgres tree and
assumes it can simply resolve paths relative to its location. This does
not even handle symlinks:

$ result-dev/bin/pg_config
BINDIR = /home/robin/dev/nixpkgs-upstream/result-dev/bin
DOCDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/doc
HTMLDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/doc
INCLUDEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/include
PKGINCLUDEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/include
INCLUDEDIR-SERVER = /home/robin/dev/nixpkgs-upstream/result-dev/include/server
LIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
PKGLIBDIR = /nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib
LOCALEDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/locale
MANDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share/man
SHAREDIR = /home/robin/dev/nixpkgs-upstream/result-dev/share
SYSCONFDIR = /etc/postgresql
PGXS = /nix/store/csiq6zkn2c994kkdjln461jvgbka4yb1-postgresql-9.5.9-dev/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--prefix=/nix/store/irqqq4g173g9xrk1mh12kxv0s1d8dbyh-postgresql-9.5.9' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib' '--with-ossp-uuid' 'CC=gcc'
CC = gcc
CPPFLAGS = -D_GNU_SOURCE -I/nix/store/z6r0j2b4bcdfw3pck2x6ay0vvx0qzb92-libxml2-2.9.5-dev/include/libxml2
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
CFLAGS_SL = -fPIC
LDFLAGS = -L../../../src/common -L/nix/store/ighspl5sa3qi1zy7nkih0c9p73xjfqa6-libxml2-2.9.5/lib -Wl,--as-needed -Wl,-rpath,'/nix/store/85s9m7hpfzsl93wcb5gr6ii2km9mpx3z-postgresql-9.5.9-lib/lib',--enable-new-dtags
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm
VERSION = PostgreSQL 9.5.9

cc @edolstra

Revert "bacula: fix after postgresql output splitting"

This reverts commit 13c9cbacdd.

Revert "postgresql: fix pgxs dir in pg_config"

This reverts commit 21998d597b.

Revert "rubyGems.pg: fix postgresql path"

This reverts commit e253ae7d3a.

Revert "kea: fix path to pg_config"

This reverts commit 086c636eb7.

Revert "php: fix build wrt. new postgres.dev build output"

This reverts commit 2f23a83920.

Revert "gdal: fix path to pg_config"

This reverts commit 032c50d45b.

Revert "postgresql: Add dev output"

This reverts commit b0280f598e.
2017-09-27 21:58:44 +02:00