Commit Graph

121 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f115c678e1 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=93 2017-11-03 13:27:36 +00:00
68e3cdac9a - Move the start/stop script to /usr/share/postgresql
- Add a script for handling update-alternatives as subpackages
  get installed/uninstalled, so that the implementation packages
  don't have to repeat the logic (postgresql-install-alternatives).
- Add the postgresql-test subpackage.
- Fix some dependencies.
- Save the enabled and running state when upgrading from the
  obsolete postgresql-init package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=92
2017-11-03 12:59:51 +00:00
00771bc5b0 we actually needed the bumped version in the obsoletes more than in the provides
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=91
2017-10-06 17:05:30 +00:00
b13c8cb1c4 - properly guard the systemd macro in %pre server so it wont be
used on sle11
- add Requires(pre) so we have groupadd/useradd available

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=90
2017-10-06 14:39:51 +00:00
2d1ca233eb Dependency refinements and reduction of rpmlint warnings.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=89
2017-10-06 12:41:43 +00:00
97f7687608 More dependency adjustments
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=88
2017-09-25 15:18:43 +00:00
18cf988488 Fix some provides
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=87
2017-09-25 09:57:54 +00:00
5715de7283 add postgresql-script
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=86
2017-09-22 13:04:23 +00:00
fbfec6a5ae OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=85 2017-09-21 16:15:27 +00:00
0f2fbd2c27 - Refine the dependencies between the "dummy" packages and the
actual implementation of PostgreSQL. The dummy packages now
  require an arbitrary implementation and recommend the default
  version.
- Move the contents of postgresql-init to the server package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=84
2017-09-21 13:48:21 +00:00
5bb6fea7ae Accepting request 525781 from home:darix:branches:server:database:postgresql
- bump to 10

OBS-URL: https://build.opensuse.org/request/show/525781
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=83
2017-09-13 16:53:50 +00:00
cabd6b3bcc Sync changes with SLE12
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=82
2017-07-05 11:24:29 +00:00
Martin Pluskal
9d6d170313 Accepting request 440011 from home:13ilya:branches:server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/440011
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=81
2016-12-01 08:38:54 +00:00
c4e89e5119 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=80 2015-09-30 08:07:39 +00:00
2aa0a9657e OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=79 2015-09-30 07:30:44 +00:00
03694168dc - Move ~postgres/.bash_profile to postgresql-server to avoid a
file conflict between the versioned server packages.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=78
2015-09-28 15:09:38 +00:00
74edc60107 - Bump version and defaultpackage to 9.4.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=77
2015-02-18 15:29:10 +00:00
d2747c20c4 - Bump version and defaultpackage to 9.3.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=76
2013-09-17 11:44:46 +00:00
a98d67828c Use PostgreSQL license
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=75
2013-01-09 09:55:46 +00:00