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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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
Reinhard Max
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