Commit graph

664 commits

Author SHA1 Message Date
Danylo Hlynskyi
40cc269561
Merge branch 'master' into postgresql-socket-in-run 2019-03-25 01:06:59 +02:00
aszlig
f5106019d3
postgresql: Only use /run/postgresql on Linux
We only have /run on modern GNU/Linux systems and it's not necessarily
the case for Mac OS X or *BSD, so let's add the patch only if
stdenv.isLinux.

Thanks to @danbst for catching this.

Signed-off-by: aszlig <aszlig@nix.build>
2019-03-16 12:34:00 +01:00
R. RyanTM
1670e35e2d postgresqlPackages.pgroonga: 2.1.7 -> 2.1.8 (#54746)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2019-03-15 20:36:40 +01:00
aszlig
ef553788d0
postgresql: Move socket dir to /run/postgresql
The default, which is /tmp, has a few issues associated with it:

One being that it makes it easy for users on the system to spoof a
PostgreSQL server if it's not running, causing applications to connect
to their provided sockets instead of just failing to connect.

Another one is that it makes sandboxing of PostgreSQL and other services
unnecessarily difficult. This is already the case if only PrivateTmp is
used in a systemd service, so in order for such a service to be able to
connect to PostgreSQL, a bind mount needs to be done from /tmp to some
other path, so the service can access it. This pretty much defeats the
whole purpose of PrivateTmp.

We regularily run into issues with this in the past already (one example
would be https://github.com/NixOS/nixpkgs/pull/24317) and with the new
systemd-confinement mode upcoming in
https://github.com/NixOS/nixpkgs/pull/57519, it makes it even more
tedious to sandbox services.

I've tested this change against all the postgresql NixOS VM tests and
they still succeed and I also grepped through the source tree to replace
other occasions where we might have /tmp hardcoded. Luckily there were
very few occasions.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ocharles, @thoughtpolice, @danbst
2019-03-15 04:52:35 +01:00
Steve Chávez
28d49431c0 tds_fdw: init a 1.0.8
* tds_fdw: init a 1.0.8

* Use pname
2019-03-12 19:38:58 -07:00
R. RyanTM
65898a4ddb postgresqlPackages.pgtap: 0.99.0 -> 1.0.0 (#57360)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgtap/versions
2019-03-13 00:58:12 +02:00
Julian Nadeau
1aa13609b6 Use c++ 11 for MySQL 5.7 to fix build in mac (#56384)
https://github.com/NixOS/nixpkgs/issues/49174 shows us the error that we were experiencing.
The last successful build was https://hydra.nixos.org/build/81938220, with the first failing here: https://hydra.nixos.org/build/82083071

The difference between these 2 builds seems to be Protobuf 3.4 being updated to Protobuf 3.6.
Protobuf fails because the newer version uses newer C++ features.

This commit makes MySQL 5.7 use C++ 11 to fix these issues.
2019-02-28 20:59:40 +00:00
Ryan Mulligan
62b7f5c665
Merge pull request #54988 from thefloweringash/percona-server56
percona-server56: 5.6.35-80.0 -> 5.6.43-84.3
2019-02-24 16:07:12 -08:00
Austin Seipp
b59b5b2052
cockroachdb: 2.1.3 -> 2.1.5
Closes #56192.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 10:06:47 -06:00
Danylo Hlynskyi
d0d099266e
postgresql: fix regression in NixOS after update to 11.2 (#56146)
ryantm bot updates `psqlSchema` alongside with version: https://github.com/NixOS/nixpkgs/pull/50646, https://github.com/NixOS/nixpkgs/pull/55860
but `psqlSchema` is used to generate `stateDir`. It shouldn't be updated.

Ideally it should be equal to postgresql major version for pg versions,
but we already have deployments in /var/lib/postgresql/11.1. Strange why
nobody complained when it was changed from 11.0 -> 11.1.

I propose do correct naming for PG12+, but status quo for current versions.

Fixes https://github.com/NixOS/nixpkgs/issues/56134
2019-02-21 19:21:08 +02:00
Shea Levy
bb52ff3df8
postgresql: Don't move libs unnecessarily out of $lib.
In particular, when static linking pkgconfig expects libpq.a in $lib
2019-02-18 20:31:09 -05:00
R. RyanTM
e9aeffdc0a postgresql_11: 11.1 -> 11.2
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
2019-02-15 16:02:50 -08:00
R. RyanTM
7b84ac2190 mysql57: 5.7.24 -> 5.7.25
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql/versions
2019-02-03 08:55:01 +00:00
John Ericson
c85a8a1fad postgresql: No need to refer to super
self.callPackage works fine for now. If/when that changes, we have a
repo-wide thing to deal with so no reason to do anything now.
2019-02-02 15:56:52 -05:00
Andrew Childs
0536257612 percona-server56: 5.6.35-80.0 -> 5.6.43-84.3 2019-01-31 20:37:57 +09:00
Mario Rodas
2981a7b0e3
pg_topn: 2.2.0 -> 2.2.2 2019-01-30 19:59:21 -05:00
R. RyanTM
23a981a683 monetdb: 11.31.11 -> 11.31.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/monetdb/versions
2019-01-27 23:26:02 -08:00
Jörg Thalheim
ba34ffc665
Merge pull request #54619 from Mic92/remove-wkennington
treewide: remove wkennington as maintainer
2019-01-26 23:37:27 +00:00
Danylo Hlynskyi
4fb8bc8238
postgresql: cleanup postgis (#54396)
postgis: cleanup

Another part of https://github.com/NixOS/nixpkgs/pull/38698, though I did cleanup even more.
Moving docs to separate output should save another 30MB.

I did pin poppler to 0.61 just to be sure GDAL doesn't break again next
time poppler changes internal APIs.
2019-01-26 21:15:43 +02:00
Danylo Hlynskyi
8e985dced0
postgresql: reorganize package and its extensions (#54319)
* postgresql: reorganize package and it's extensions

Extracts some useful parts of https://github.com/NixOS/nixpkgs/pull/38698,
in particular, it's vision that postgresql plugins should be namespaced.
2019-01-26 19:46:57 +02:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Austin Seipp
8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
Austin Seipp
73f56ae191 nixpkgs: move postgresql patches into a common directory
This simply makes it easier to browse the PostgreSQL package directory. More to
come.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
R. RyanTM
2b183a448c pgroonga: 2.1.6 -> 2.1.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2019-01-13 09:48:03 +01:00
Lancelot SIX
ce235f70ca postgresql_9_3: drop
Postgresql 9.3 reached end of life on november 11, 2018 (see
https://www.postgresql.org/about/news/1905/)

(Rebase of #52052. Closes #52052.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-31 08:44:57 -06:00
Austin Seipp
f2c99c61cf cockroachdb: 2.1.1 -> 2.1.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-28 07:59:48 -06:00
Franz Pletz
61bd0e851e
postgresql: branch 9.3 is not maintained anymore
See https://www.postgresql.org/support/versioning/.
2018-12-17 16:35:48 +01:00
Izorkin
594fc72a32 mysql55: broken on aarch64 2018-12-12 20:07:51 +03:00
Izorkin
6aa42941dc mysql55: 5.5.60 -> 5.5.62 2018-12-12 15:04:24 +03:00
Alexey Shmalko
ef966c1952
Merge pull request #51719 from marsam/postgresql-build-icu-support
postgresql: Build with icu support
2018-12-10 01:52:54 +02:00
Mario Rodas
acc45d8f4f
postgresql: Build with icu support 2018-12-08 00:33:39 -05:00
Jan Tojnar
c5881ec2c9
Merge remote-tracking branch 'upstream/master' into staging 2018-11-30 20:09:45 +01:00
Frederik Rietdijk
1828a5c5ba Merge master into staging-next 2018-11-30 17:46:21 +01:00
Austin Seipp
c90a45a383 cockroachdb: 2.0.0 -> 2.1.1, aarch64 support
This also splits the .bin output to have a separate .man attribute:
previously it contained both.

This also adds provisional support for aarch64-linux, which seems to
build easily. (Full testing will ideally come via NixOS tests later)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-29 15:12:35 -06:00
Frederik Rietdijk
9b81c7e455 Merge staging-next into staging 2018-11-29 09:18:35 +01:00
Frederik Rietdijk
9db2421d1f Merge master into staging-next 2018-11-29 08:12:56 +01:00
Jack Kelly
5987c5c694 postgresql: Remove static libs using host platform extension 2018-11-28 10:49:13 -06:00
Alyssa Ross
c41c195dc5
postgresql: disable parallel building on Darwin
There have been multiple reports of this failing.

Fixes https://github.com/NixOS/nixpkgs/issues/51093.
2018-11-27 20:13:23 +00:00
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
Frederik Rietdijk
0d0d7dcd06 Merge staging-next into staging 2018-11-18 10:41:34 +01:00
Frederik Rietdijk
63c6875f26 Merge master into staging-next 2018-11-18 10:32:12 +01:00
Michael Weiss
939bb2189b monetdb: 11.29.7 -> 11.31.11 2018-11-16 23:33:26 +01:00
Markus Kowalewski
7d279b4780
virtuoso-opensource: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski
41c619a191
pgtap: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski
b9c5598b3c
mysql: add licenses 2018-11-15 00:13:46 +01:00
Matthew Bauer
bfbfe941ab treewide: use scons setup hook
Lots of packages can use it. Here is the list:

- jackmix
- klick
- mixx
- nova-filters
- rhvoice
- giv
- mypaint
- swift-im
- bombono
- mapnik
- serf
- nuitka
- pyexiv2
- godot
- hammer
- toluapp
- btanks
- dxx-rebirth
- endless-sky
- globulation
- the-powder-toy
- fceux
- gpsd
- mongodb
- rippled
- mariadb
- lprof
2018-11-13 19:14:10 -06:00
Lancelot SIX
3cbc20e8c4
postgresql_11: 11.0 -> 11.1
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:45 +01:00
Lancelot SIX
575151eb08
postgresql_10: 10.5 -> 10.6
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:45 +01:00