165 Commits

Author SHA256 Message Date
Dominique Leuenberger
8b2ac9021d Accepting request 923703 from server:database:postgresql
- Bump version and default to 14.

OBS-URL: https://build.opensuse.org/request/show/923703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=61
2021-10-12 19:48:01 +00:00
Reinhard Max
7c8701a962 - Bump version and default to 14.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=131
2021-10-05 14:04:43 +00:00
Dominique Leuenberger
cf0d9e4ce6 Accepting request 894073 from server:database:postgresql
- Re-enable build of the llvmjit subpackage on SLE, but it will
  only be delivered on PackageHub for now (boo#1183118).

- Bump default version to 13 for SLE-15-SP3.

- Bump major version to 13.
- Bump default version to 13 in OBS.

OBS-URL: https://build.opensuse.org/request/show/894073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=60
2021-05-20 17:24:43 +00:00
Reinhard Max
ea1306cd9b - Re-enable build of the llvmjit subpackage on SLE, but it will
only be delivered on PackageHub for now (boo#1183118).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=130
2021-05-18 13:45:07 +00:00
Reinhard Max
8eea7d87ce - Bump default version to 13 for SLE-15-SP3.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=129
2021-01-25 09:05:34 +00:00
Reinhard Max
be9fc87212 - Bump major version to 13.
- Bump default version to 13 in OBS.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=128
2020-11-12 15:02:35 +00:00
Dominique Leuenberger
390759a836 Accepting request 843219 from server:database:postgresql
- Bump major and default version to 13.

OBS-URL: https://build.opensuse.org/request/show/843219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=59
2020-10-24 13:16:02 +00:00
Reinhard Max
cdaebb3659 - Bump major and default version to 13.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=127
2020-09-25 08:00:00 +00:00
Dominique Leuenberger
136f72bcc9 Accepting request 826578 from server:database:postgresql
- We also transfer PostgreSQL 9.4.26 to the new package layout in
  SLE12-SP2 and newer. Reflect this in the conflict with
  postgresql94.

- Also conflict with PostgreSQL versions before 9.
- Conflicting with older versions is not limited to SLE.

- Bump version to 12.0.1, so that the binary packages also have
  a cut-point to conflict with.

- Bump package version to 12, but leave default at 10 for
  SLE-15 and SLE-15-SP1.

OBS-URL: https://build.opensuse.org/request/show/826578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=58
2020-08-15 19:13:20 +00:00
Reinhard Max
9c2b29dbb3 - We also transfer PostgreSQL 9.4.26 to the new package layout in
SLE12-SP2 and newer. Reflect this in the conflict with
  postgresql94.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=126
2020-08-14 05:48:42 +00:00
Reinhard Max
83e9b2b41d Compat definition for tmpfiles_create is not needed anymore
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=125
2020-07-06 07:01:48 +00:00
Reinhard Max
64e9ceca23 Accepting request 817275 from home:rmax:branches:server:database:postgresql
- Also conflict with PostgreSQL versions before 9.
- Add compat definition for the tmpfiles_create macro.
- Conflicting with older versions is not limited to SLE.

OBS-URL: https://build.opensuse.org/request/show/817275
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=124
2020-06-26 14:19:15 +00:00
Reinhard Max
ce56c37603 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=123 2020-06-17 14:22:21 +00:00
Reinhard Max
3797b05f5f OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=122 2020-06-17 13:56:28 +00:00
Dominique Leuenberger
8123f7e03b Accepting request 811579 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/811579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=57
2020-06-11 07:57:20 +00:00
Reinhard Max
4e0ca66ec2 Accepting request 811567 from home:rmax:branches:server:database:postgresql
- Disable LLVM on SLE (bsc#1172274).
- Conflict with versions of the binary packages prior to the
  May 2020 update, because we changed the package layout at that
  point and need a clean cutover.

OBS-URL: https://build.opensuse.org/request/show/811567
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=121
2020-06-04 17:46:46 +00:00
Dominique Leuenberger
0a1f05a885 Accepting request 766656 from server:database:postgresql
- Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
  with the tmpfiles mechanism (bsc#1159335).

- Sync ownership of /run/postgresql in the file list with tmpfiles.

- bump to 12

OBS-URL: https://build.opensuse.org/request/show/766656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=56
2020-01-28 09:45:39 +00:00
Reinhard Max
b7322d4c9b - Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
with the tmpfiles mechanism (bsc#1159335).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=120
2019-12-17 10:48:51 +00:00
Reinhard Max
e646e1cba3 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=119 2019-11-14 12:38:52 +00:00
Reinhard Max
ba1957f1d2 Accepting request 741843 from home:darix:branches:server:database:postgresql
- bump to 12

OBS-URL: https://build.opensuse.org/request/show/741843
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=118
2019-10-22 13:34:32 +00:00
Dominique Leuenberger
0dc093f576 Accepting request 735633 from server:database:postgresql
- Use the correct content for .bash_profile (boo#1153168).
- Stop shipping SUSEfirewall2 config files (bsc#1151591).
- Fix installation of bash_profile for SLE11 (pre systemd).

OBS-URL: https://build.opensuse.org/request/show/735633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=55
2019-10-14 10:31:13 +00:00
Reinhard Max
62d421e920 - Use the correct content for .bash_profile (boo#1153168).
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=117
2019-10-07 08:31:46 +00:00
Reinhard Max
bae088c398 - Stop shipping SUSEfirewall2 config files (bsc#1151591).
- Fix installation of bash_profile for SLE11 (pre systemd).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=116
2019-09-23 14:29:26 +00:00
Dominique Leuenberger
3f3a3fbaad Accepting request 678945 from server:database:postgresql
- Drop use of $FIRST_ARG in .spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

- Change the persmissions for /var/run/postgresql to 1775, so that
  the directory can only be used by users in the postgres group
  (bsc#1123886).

OBS-URL: https://build.opensuse.org/request/show/678945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=54
2019-03-12 08:49:03 +00:00
Reinhard Max
06cfbc3462 Accepting request 678171 from home:fbui:branches:server:database:postgresql
- Drop use of $FIRST_ARG in .spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

OBS-URL: https://build.opensuse.org/request/show/678171
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=115
2019-02-25 15:10:48 +00:00
Reinhard Max
affb1eeb43 the directory can only be used by users in the postgres group
(bsc#1123886).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=114
2019-02-25 15:03:17 +00:00
Reinhard Max
45b893abc9 - Change the persmissions for /var/run/postgresql to 1775, so that
the directory can only be used by users in the postgres group.
  At the same time a patch will be added to the postgresqlXX
  packages that adds a fallback to /tmp if socket creation in
  /var/run/postgresql fails.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=113
2019-02-19 16:10:28 +00:00
Reinhard Max
f432e6cc8e Fix syntax error in postgresql-tmpfiles.conf
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=112
2019-02-07 16:19:23 +00:00
Reinhard Max
d7b06dcf6d complete the reversion
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=111
2019-01-31 15:26:11 +00:00
Reinhard Max
cc93967c99 Revert ownership change
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=110
2019-01-31 15:24:22 +00:00
Reinhard Max
c56829af43 - Move bash profile out of /var/lib to allow transactional updates
(bsc#1100397).
- Fix permissions and ownership of /var/run/postgresql .
- Use /run/postgresql instead of /var/run/postgresql in %ghost and
  postgresql-tmpfiles.conf to avoid rpmlint warnings and errors.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=109
2019-01-31 13:50:51 +00:00
Lars Vogdt
e02a7c1604 Accepting request 653071 from home:darix:branches:server:database:postgresql
- add /var/run/postgresql to the filelist. as %ghost for systemd
  systems and directly for non systemd systems

OBS-URL: https://build.opensuse.org/request/show/653071
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=108
2018-12-04 15:17:50 +00:00
afec6e157e - fix the unexpanded macro in the description of server-devel
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=107
2018-11-30 11:05:16 +00:00
Reinhard Max
cac213e51b - Also bump the default package to 11.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=106
2018-11-15 14:35:10 +00:00
f8af2b0a17 Accepting request 647055 from home:darix:branches:server:database:postgresql
- add server-devel and llvmjit package file sections

OBS-URL: https://build.opensuse.org/request/show/647055
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=105
2018-11-07 17:01:11 +00:00
Reinhard Max
84c15fc166 - Add the new subpackages server-devel and llvmjit that were
introduced with postgresql11.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=104
2018-10-25 13:15:53 +00:00
Reinhard Max
22345bc5f8 Accepting request 644310 from home:darix:branches:server:database:postgresql
- bump to 11

OBS-URL: https://build.opensuse.org/request/show/644310
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=103
2018-10-24 13:56:43 +00:00
Dominique Leuenberger
f9c5019f5b Accepting request 604586 from server:database:postgresql
fix for update-alternatives

OBS-URL: https://build.opensuse.org/request/show/604586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=53
2018-05-07 12:53:39 +00:00
Reinhard Max
9be996bc70 - Put POSTGRES_LANG into LC_ALL instead of LANG to retain the
previous behaviour of that variable (boo#1077027).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=102
2018-05-02 15:35:49 +00:00
38903b2e5f Accepting request 602555 from home:dimstar:Factory
- Require update-alternatives by postgresql: one of the main
  scripts in use is install-alternatives, which calls u-a.

OBS-URL: https://build.opensuse.org/request/show/602555
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=101
2018-05-02 14:02:08 +00:00
Dominique Leuenberger
9b940d8742 Accepting request 566886 from server:database:postgresql
- postgresql-script: /etc/sysconfig/language is deprecated, use the
  locale that was inherited from systemd instead for initializing
  a new database instance (boo#1074988).

OBS-URL: https://build.opensuse.org/request/show/566886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=52
2018-01-19 10:49:03 +00:00
Reinhard Max
efaf1f2029 - postgresql-script: /etc/sysconfig/language is deprecated, use the
locale that was inherited from systemd instead for initializing
  a new database instance (boo#1074988).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=100
2018-01-17 17:14:44 +00:00
Dominique Leuenberger
9a37b5932f Accepting request 556945 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/556945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=51
2017-12-15 13:01:50 +00:00
Martin Pluskal
38997f090a Accepting request 556940 from home:darix:branches:server:database:postgresql
- add provides for all the pkgconfig() provides you also find in
  the postgresqlXY-devel packages. then we automatically will pull
  postgresql-devel which in turn will pull our default
  postgresqlXY-devel package. (boo#1071971)

OBS-URL: https://build.opensuse.org/request/show/556940
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=99
2017-12-14 11:49:04 +00:00
de0278567f Accepting request 554763 from home:bruno_friedmann:branches:server:database:postgresql
- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/554763
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=98
2017-12-12 15:43:28 +00:00
Dominique Leuenberger
fa29e408aa Accepting request 545165 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/545165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=50
2017-11-26 09:33:18 +00:00
Reinhard Max
15a35fecca Accepting request 545144 from home:darix:branches:server:database:postgresql
- instead of hardcoding version 10, just check if the prio is
  smaller than 80.

- simplify the postgresql-install-alternatives to only require the
  pg version and go from there.
  supported calls of the script are:
  /usr/share/postgresql/install-alternatives postgresqlXY
  /usr/share/postgresql/install-alternatives XY
  where XY can currently be: 92 93 94 95 96 10

OBS-URL: https://build.opensuse.org/request/show/545144
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=97
2017-11-24 12:45:09 +00:00
Reinhard Max
3eac0cf988 - CVE-2017-14798, bsc#1062722: Fix LPE via postgres init script.
This only affected SysV-init based systems (i.e. SLE11).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=96
2017-11-22 13:04:57 +00:00
Reinhard Max
6631adb591 - postgresql-test was missing a %files section.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=95
2017-11-14 08:56:22 +00:00
Reinhard Max
e5d1ca2c6b OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=94 2017-11-03 13:30:59 +00:00