commit postgresql for openSUSE:Factory

2020-10-24 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2020-10-24 15:16:02

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.3463 (New)


Package is "postgresql"

Sat Oct 24 15:16:02 2020 rev:59 rq:843219 version:13

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2020-08-15 
21:13:28.003388340 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.3463/postgresql.changes  
2020-10-24 15:16:10.500155607 +0200
@@ -1,0 +2,5 @@
+Fri Sep 25 07:58:58 UTC 2020 - Reinhard Max 
+
+- Bump major and default version to 13.
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.aG0qxV/_old  2020-10-24 15:16:11.180156455 +0200
+++ /var/tmp/diff_new_pack.aG0qxV/_new  2020-10-24 15:16:11.184156460 +0200
@@ -15,7 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define pgmajor 12
+%define pgmajor 13
 %define defaultpackage postgresql%pgmajor
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
@@ -40,7 +40,7 @@
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:%pgmajor.0.1
+Version:%pgmajor
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build




commit postgresql for openSUSE:Factory

2020-08-15 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2020-08-15 21:13:20

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.3399 (New)


Package is "postgresql"

Sat Aug 15 21:13:20 2020 rev:58 rq:826578 version:12.0.1

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2020-06-11 
09:57:27.377762029 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.3399/postgresql.changes  
2020-08-15 21:13:28.003388340 +0200
@@ -1,0 +2,19 @@
+Thu Aug 13 08:22:16 UTC 2020 - Reinhard Max 
+
+- We also transfer PostgreSQL 9.4.26 to the new package layout in
+  SLE12-SP2 and newer. Reflect this in the conflict with
+  postgresql94.
+
+---
+Fri Jun 26 13:49:21 UTC 2020 - Reinhard Max 
+
+- Also conflict with PostgreSQL versions before 9.
+- Conflicting with older versions is not limited to SLE.
+
+---
+Tue Jun 16 12:17:33 UTC 2020 - Reinhard Max 
+
+- Bump version to 12.0.1, so that the binary packages also have
+  a cut-point to conflict with.
+
+---
@@ -7,0 +27,6 @@
+
+---
+Tue Mar 24 10:45:25 UTC 2020 - Reinhard Max 
+
+- Bump package version to 12, but leave default at 10 for
+  SLE-15 and SLE-15-SP1.



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.GW7Om9/_old  2020-08-15 21:13:30.303389628 +0200
+++ /var/tmp/diff_new_pack.GW7Om9/_new  2020-08-15 21:13:30.307389630 +0200
@@ -16,7 +16,7 @@
 #
 
 %define pgmajor 12
-%define defaultpackage postgresql%version
+%define defaultpackage postgresql%pgmajor
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
@@ -40,7 +40,7 @@
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:%pgmajor
+Version:%pgmajor.0.1
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -48,15 +48,19 @@
 Requires:   postgresql-implementation
 Requires:   update-alternatives
 Recommends: %defaultpackage
-%if 0%{?sle_version}
-# At this point we changed the package layout on SLE and conflict with
-# older releases to get a clean cut.
+# In June 2020 we changed the package layout for PostgreSQL and
+# conflict with older releases to get a clean cut-over.
+Conflicts:  postgresql < 9
+Conflicts:  postgresql90
+Conflicts:  postgresql91
+Conflicts:  postgresql92
+Conflicts:  postgresql93
+Conflicts:  postgresql94 < 9.4.26
 Conflicts:  postgresql95 < 9.5.22
 Conflicts:  postgresql96 < 9.6.18
 Conflicts:  postgresql10 < 10.13
 Conflicts:  postgresql11 < 11.8
 Conflicts:  postgresql12 < 12.3
-%endif
 BuildArch:  noarch
 Source0:postgresql-init
 Source1:postgresql-sysconfig




commit postgresql for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2020-06-11 09:57:20

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.3606 (New)


Package is "postgresql"

Thu Jun 11 09:57:20 2020 rev:57 rq:811579 version:12

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2020-01-28 
10:45:58.852452857 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new.3606/postgresql.changes  
2020-06-11 09:57:27.377762029 +0200
@@ -1,0 +2,8 @@
+Wed Jun  3 08:17:46 UTC 2020 - Reinhard Max 
+
+- 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.
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.MHLfpT/_old  2020-06-11 09:57:28.317765050 +0200
+++ /var/tmp/diff_new_pack.MHLfpT/_new  2020-06-11 09:57:28.317765050 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%define pgmajor 12
 %define defaultpackage postgresql%version
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
@@ -28,11 +29,18 @@
 %bcond_with systemd
 %endif
 
+%if 0%{?is_opensuse} && 0%{?suse_version} >= 1500 && %pgmajor >= 11 && 
%pgmajor < 90
+%bcond_without  llvm
+%else
+# LLVM is currently unsupported on SLE, so don't use it
+%bcond_with llvm
+%endif
+
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:12
+Version:%pgmajor
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -40,6 +48,15 @@
 Requires:   postgresql-implementation
 Requires:   update-alternatives
 Recommends: %defaultpackage
+%if 0%{?sle_version}
+# At this point we changed the package layout on SLE and conflict with
+# older releases to get a clean cut.
+Conflicts:  postgresql95 < 9.5.22
+Conflicts:  postgresql96 < 9.6.18
+Conflicts:  postgresql10 < 10.13
+Conflicts:  postgresql11 < 11.8
+Conflicts:  postgresql12 < 12.3
+%endif
 BuildArch:  noarch
 Source0:postgresql-init
 Source1:postgresql-sysconfig
@@ -426,9 +443,11 @@
 %defattr(-,root,root,-)
 %doc README
 
+%if %{with llvm}
 %files llvmjit
 %defattr(-,root,root,-)
 %doc README
+%endif
 
 %files plperl
 %defattr(-,root,root,-)




commit postgresql for openSUSE:Factory

2020-01-28 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2020-01-28 10:45:39

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.26092 (New)


Package is "postgresql"

Tue Jan 28 10:45:39 2020 rev:56 rq:766656 version:12

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2019-10-14 
12:31:15.184307721 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.26092/postgresql.changes 
2020-01-28 10:45:58.852452857 +0100
@@ -1,0 +2,16 @@
+Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max 
+
+- Fix a mistake in the creation of /var/lib/pgsql/.bash_profile
+  with the tmpfiles mechanism (bsc#1159335).
+
+---
+Thu Nov 14 12:36:59 UTC 2019 - Reinhard Max 
+
+- Sync ownership of /run/postgresql in the file list with tmpfiles.
+
+---
+Tue Oct 22 13:08:50 UTC 2019 - Marcus Rueckert 
+
+- bump to 12
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.ILhdmu/_old  2020-01-28 10:45:59.968453543 +0100
+++ /var/tmp/diff_new_pack.ILhdmu/_new  2020-01-28 10:45:59.988453554 +0100
@@ -32,7 +32,7 @@
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:11
+Version:12
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -268,7 +268,6 @@
 
 %install
 mkdir -p %buildroot/var/lib/pgsql/
-mkdir -p %buildroot/var/run/postgresql
 
 install -m755 -d %buildroot%{_fillupdir}
 install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql
@@ -326,6 +325,14 @@
 %post server
 %fillup_only -n postgresql
 %if %{with systemd}
+PROFILE="/var/lib/pgsql/.bash_profile"
+if test -r "$PROFILE" && test "`cat $PROFILE`" = 
"/usr/share/postgresql/bash_profile"
+then
+   # Correct a mistake in /usr/lib/tmpfiles.d/postgresql.conf
+   # that created /var/lib/pgsql/.bash_profile with invalid
+   # content (bsc#1159335).
+   rm "$PROFILE"
+fi
 %tmpfiles_create %_tmpfilesdir/postgresql.conf
 %service_add_post postgresql.service
 %endif
@@ -393,10 +400,10 @@
 %_tmpfilesdir/postgresql.conf
 %_unitdir/
 /usr/share/postgresql/postgresql-script
-%ghost %dir %attr(1775,root,root) /run/postgresql
+%ghost %dir %attr(1775,postgres,postgres) /run/postgresql
 %else
 %config /etc/init.d/postgresql
-%dir %attr(1775,root,root) /var/run/postgresql
+%dir %attr(1775,postgres,postgres) /var/run/postgresql
 %endif
 
 %files test

++ postgresql-tmpfiles.conf ++
--- /var/tmp/diff_new_pack.ILhdmu/_old  2020-01-28 10:46:00.268453727 +0100
+++ /var/tmp/diff_new_pack.ILhdmu/_new  2020-01-28 10:46:00.272453729 +0100
@@ -1,3 +1,3 @@
 # For the PostgreSQL server's unix domain socket
 d /run/postgresql 1775 postgres postgres - -
-f /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile
+C /var/lib/pgsql/.bash_profile 0640 postgres postgres - 
/usr/share/postgresql/bash_profile




commit postgresql for openSUSE:Factory

2019-10-14 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2019-10-14 12:31:13

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.2352 (New)


Package is "postgresql"

Mon Oct 14 12:31:13 2019 rev:55 rq:735633 version:11

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2019-03-12 
09:49:04.619589942 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new.2352/postgresql.changes  
2019-10-14 12:31:15.184307721 +0200
@@ -1,0 +2,11 @@
+Mon Oct  7 08:26:39 UTC 2019 - Reinhard Max 
+
+- Use the correct content for .bash_profile (boo#1153168).
+
+---
+Mon Sep 23 14:03:32 UTC 2019 - Reinhard Max 
+
+- Stop shipping SUSEfirewall2 config files (bsc#1151591).
+- Fix installation of bash_profile for SLE11 (pre systemd).
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.fK7NkD/_old  2019-10-14 12:31:15.868305939 +0200
+++ /var/tmp/diff_new_pack.fK7NkD/_new  2019-10-14 12:31:15.872305928 +0200
@@ -273,16 +273,18 @@
 install -m755 -d %buildroot%{_fillupdir}
 install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql
 
+%if 0%{?suse_version} < 1550
 install -m755 -d %buildroot%fwdir
 install -m644 %{S:2} %buildroot%fwdir/%fwname
+%endif
 
 install -m755 -d %buildroot/usr/sbin
 
 install -m755 -d %buildroot/usr/share/postgresql
-install -m640 %{S:7} %buildroot/usr/share/postgresql/bash_profile
 install -m755 %{S:7} %buildroot/usr/share/postgresql/install-alternatives
 
 %if %{with systemd}
+install -m644 %{S:5} %buildroot/usr/share/postgresql/bash_profile
 install -m755 -d %buildroot/%_tmpfilesdir
 install -m644 %{S:3} %buildroot%_tmpfilesdir/postgresql.conf
 install -m755 %{S:6} %buildroot/usr/share/postgresql
@@ -292,6 +294,7 @@
 
 ln -sf service %buildroot/usr/sbin/rcpostgresql
 %else
+install -m640 %{S:5} %buildroot/var/lib/pgsql/.bash_profile
 install -m755 -d %buildroot/etc/init.d
 install -m755 %{S:0} %buildroot/etc/init.d/postgresql
 ln -sf /etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql
@@ -370,13 +373,19 @@
 %defattr(-,root,root,-)
 %doc README
 %attr(750,postgres,postgres) %dir /var/lib/pgsql
+%if %{with systemd}
 %attr(644,root,root) /usr/share/postgresql/bash_profile
 %ghost %config %attr(640,postgres,postgres) /var/lib/pgsql/.bash_profile
+%else
+%config %attr(640,postgres,postgres) /var/lib/pgsql/.bash_profile
+%endif
 
+%if 0%{?suse_version} < 1550
 %if 0%{?suse_version} > 1110
 %dir %fwdir
 %endif
 %config %fwdir/%fwname
+%endif
 
 %{_fillupdir}/sysconfig.postgresql
 /usr/sbin/rcpostgresql




commit postgresql for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2019-03-12 09:49:03

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new.28833 (New)


Package is "postgresql"

Tue Mar 12 09:49:03 2019 rev:54 rq:678945 version:11

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2018-05-07 
14:53:39.318082969 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new.28833/postgresql.changes 
2019-03-12 09:49:04.619589942 +0100
@@ -1,0 +2,59 @@
+Fri Feb 22 07:46:53 UTC 2019 - Franck Bui 
+
+- 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.
+
+---
+Tue Feb 19 16:05:22 UTC 2019 - Reinhard Max 
+
+- 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).
+
+---
+Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max 
+
+- Move bash profile out of /var/lib to allow transactional updates
+  (bsc#1100397).
+- Use /run/postgresql instead of /var/run/postgresql in %ghost and
+  postgresql-tmpfiles.conf to avoid rpmlint warnings and errors.
+
+---
+Fri Nov 30 13:14:40 UTC 2018 - Marcus Rueckert 
+
+- add /var/run/postgresql to the filelist. as %ghost for systemd
+  systems and directly for non systemd systems
+
+---
+Fri Nov 30 11:05:00 UTC 2018 - Marcus Rueckert 
+
+- fix the unexpanded macro in the description of server-devel
+
+---
+Thu Nov 15 14:34:28 UTC 2018 - Reinhard Max 
+
+- Also bump the default package to 11.
+
+---
+Wed Nov  7 16:57:50 UTC 2018 - Marcus Rueckert 
+
+- add server-devel and llvmjit package file sections
+
+---
+Thu Oct 25 13:14:25 UTC 2018 - Reinhard Max 
+
+- Add the new subpackages server-devel and llvmjit that were
+  introduced with postgresql11.
+
+---
+Mon Jul  2 17:08:32 UTC 2018 - mrueck...@suse.de
+
+- bump to 11
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.ovmrEU/_old  2019-03-12 09:49:05.207589824 +0100
+++ /var/tmp/diff_new_pack.ovmrEU/_new  2019-03-12 09:49:05.211589824 +0100
@@ -15,7 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql10
+%define defaultpackage postgresql%version
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
@@ -32,7 +32,7 @@
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:10
+Version:11
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -102,6 +102,41 @@
 PostgreSQL server, which will in turn allow you to create and maintain
 PostgreSQL databases.
 
+%package server-devel
+Summary:PostgreSQL server development header files and utilities
+Group:  Development/Libraries/C and C++
+Provides:   postgresql-server-devel-noarch = %version-%release
+Requires:   postgresql-server-devel-implementation
+Recommends: %defaultpackage-server-devel
+
+%description server-devel
+PostgreSQL is an advanced object-relational database management system
+that supports an extended subset of the SQL standard, including
+transactions, foreign keys, subqueries, triggers, and user-defined
+types and functions.
+
+This package contains the header files and libraries needed to compile
+C extensions that link into the PostgreSQL server. For building client
+applications, see the %defaultpackage-devel package.
+
+%package llvmjit
+Summary:Just-in-time compilation support for PostgreSQL
+Group:  Productivity/Databases/Servers
+Provides:   postgresql-llvmjit-noarch = %version-%release
+Requires:   postgresql-llvmjit-implementation
+Recommends: %defaultpackage-llvmjit
+

commit postgresql for openSUSE:Factory

2018-05-07 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2018-05-07 14:53:39

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Mon May  7 14:53:39 2018 rev:53 rq:604586 version:10

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2018-01-19 
11:49:04.715332142 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2018-05-07 14:53:39.318082969 +0200
@@ -1,0 +2,12 @@
+Mon Apr 30 13:26:49 UTC 2018 - dims...@opensuse.org
+
+- Require update-alternatives by postgresql: one of the main
+  scripts in use is install-alternatives, which calls u-a.
+
+---
+Fri Feb  2 10:03:33 UTC 2018 - m...@suse.com
+
+- Put POSTGRES_LANG into LC_ALL instead of LANG to retain the
+  previous behaviour of that variable (boo#1077027).
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.Qd0RST/_old  2018-05-07 14:53:40.018061121 +0200
+++ /var/tmp/diff_new_pack.Qd0RST/_new  2018-05-07 14:53:40.022060996 +0200
@@ -38,6 +38,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Provides:   postgresql-noarch = %version-%release
 Requires:   postgresql-implementation
+Requires:   update-alternatives
 Recommends: %defaultpackage
 BuildArch:  noarch
 Source0:postgresql-init

++ postgresql-script ++
--- /var/tmp/diff_new_pack.Qd0RST/_old  2018-05-07 14:53:40.106058375 +0200
+++ /var/tmp/diff_new_pack.Qd0RST/_new  2018-05-07 14:53:40.110058250 +0200
@@ -43,7 +43,7 @@
 case "$1" in
 start)
if [ ! -f $DATADIR/PG_VERSION ]; then
-   LANG=${POSTGRES_LANG:-$LANG}
+   test -n "$POSTGRES_LANG" && export LC_ALL="$POSTGRES_LANG"
 V=$(printf "%02d%02d" $(echo $VERSION|awk -F. '{print $1, $2}'))
install -d -m 700 ${DATADIR} &&
echo "Initializing PostgreSQL $VERSION at location ${DATADIR}"




commit postgresql for openSUSE:Factory

2018-01-19 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2018-01-19 11:49:03

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Fri Jan 19 11:49:03 2018 rev:52 rq:566886 version:10

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2017-12-15 
14:01:53.222749209 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2018-01-19 11:49:04.715332142 +0100
@@ -1,0 +2,7 @@
+Wed Jan 17 16:48:57 UTC 2018 - m...@suse.com
+
+- postgresql-script: /etc/sysconfig/language is deprecated, use the
+  locale that was inherited from systemd instead for initializing
+  a new database instance (boo#1074988).
+
+---



Other differences:
--
++ postgresql-script ++
--- /var/tmp/diff_new_pack.n5wDSL/_old  2018-01-19 11:49:05.315303856 +0100
+++ /var/tmp/diff_new_pack.n5wDSL/_new  2018-01-19 11:49:05.319303667 +0100
@@ -43,13 +43,11 @@
 case "$1" in
 start)
if [ ! -f $DATADIR/PG_VERSION ]; then
-   LANG_SYSCONFIG=/etc/sysconfig/language
-   test -f "$LANG_SYSCONFIG" && . $LANG_SYSCONFIG
-   LANG=${POSTGRES_LANG:-$RC_LANG}
+   LANG=${POSTGRES_LANG:-$LANG}
 V=$(printf "%02d%02d" $(echo $VERSION|awk -F. '{print $1, $2}'))
install -d -m 700 ${DATADIR} &&
echo "Initializing PostgreSQL $VERSION at location ${DATADIR}"
-   /usr/bin/initdb --locale=$LANG --auth=ident $DATADIR &> initlog || {
+   /usr/bin/initdb --auth=ident $DATADIR &> initlog || {
echo "Initialisation failed. See $PWD/initlog ."
exit 1
}




commit postgresql for openSUSE:Factory

2017-12-15 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2017-12-15 14:01:50

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Fri Dec 15 14:01:50 2017 rev:51 rq:556945 version:10

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2017-11-26 
10:33:19.354440607 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2017-12-15 14:01:53.222749209 +0100
@@ -1,0 +2,14 @@
+Wed Dec 13 18:10:54 UTC 2017 - mrueck...@suse.de
+
+- 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)
+
+---
+Wed Dec  6 10:32:06 UTC 2017 - br...@ioda-net.ch
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.BcIwwS/_old  2017-12-15 14:01:54.186702674 +0100
+++ /var/tmp/diff_new_pack.BcIwwS/_new  2017-12-15 14:01:54.190702481 +0100
@@ -17,6 +17,11 @@
 
 %define defaultpackage postgresql10
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %if 0%{?suse_version} >= 1300
 %bcond_without  systemd
 %else
@@ -150,6 +155,10 @@
 Summary:PostgreSQL development header files and libraries
 Group:  Development/Libraries/C and C++
 Provides:   postgresql-devel-noarch = %version-%release
+Provides:   pkgconfig(libecpg) = %{version}-%{release}
+Provides:   pkgconfig(libecpg_compat) = %{version}-%{release}
+Provides:   pkgconfig(libpgtypes) = %{version}-%{release}
+Provides:   pkgconfig(libpq) = %{version}-%{release}
 Requires:   postgresql-devel-implementation
 Recommends: %defaultpackage-devel
 
@@ -225,8 +234,8 @@
 mkdir -p %buildroot/var/lib/pgsql/
 install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile
 
-install -m755 -d %buildroot/var/adm/fillup-templates
-install -m644 %{S:1} %buildroot/var/adm/fillup-templates/sysconfig.postgresql
+install -m755 -d %buildroot%{_fillupdir}
+install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql
 
 install -m755 -d %buildroot%fwdir
 install -m644 %{S:2} %buildroot%fwdir/%fwname
@@ -330,7 +339,8 @@
 %dir %fwdir
 %endif
 %config %fwdir/%fwname
-/var/adm/fillup-templates/sysconfig.postgresql
+
+%{_fillupdir}/sysconfig.postgresql
 /usr/sbin/rcpostgresql
 %if %{with systemd}
 %_tmpfilesdir/postgresql.conf




commit postgresql for openSUSE:Factory

2017-11-26 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2017-11-26 10:33:18

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Sun Nov 26 10:33:18 2017 rev:50 rq:545165 version:10

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2017-02-16 
16:45:31.345955355 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2017-11-26 10:33:19.354440607 +0100
@@ -1,0 +2,67 @@
+Fri Nov 24 11:24:09 UTC 2017 - mrueck...@suse.de
+
+- instead of hardcoding version 10, just check if the prio is
+  smaller than 80.
+
+---
+Thu Nov 23 17:05:21 UTC 2017 - mrueck...@suse.de
+
+- 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
+
+---
+Wed Nov 22 13:03:42 UTC 2017 - m...@suse.com
+
+- CVE-2017-14798, bsc#1062722: Fix LPE via postgres init script.
+  This only affected SysV-init based systems (i.e. SLE11).
+
+---
+Tue Nov 14 08:52:46 UTC 2017 - m...@suse.com
+
+- postgresql-test was missing a %files section.
+
+---
+Fri Nov  3 12:55:14 UTC 2017 - m...@suse.com
+
+- 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.
+
+---
+Fri Oct  6 14:33:54 UTC 2017 - mrueck...@suse.de
+
+- properly guard the systemd macro in %pre server so it wont be
+  used on sle11
+- add Requires(pre) so we have groupadd/useradd available
+
+---
+Thu Sep 21 07:59:26 UTC 2017 - m...@suse.com
+
+- 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.
+
+---
+Thu Aug  3 23:06:39 UTC 2017 - mrueck...@suse.de
+
+- bump to 10
+
+---
+Wed Jun 28 09:35:46 UTC 2017 - m...@suse.com
+
+- Bump version and defaultpackage to 9.6 in SLE12 (bsc#1046324).
+
+---
@@ -4 +71 @@
-- Bump version and defaultpackage to 9.6.
+- Bump version and defaultpackage to 9.6 in Factory.
@@ -12,0 +80,5 @@
+Mon Aug 17 00:25:13 CEST 2015 - r...@suse.de
+
+- Bump version and defaultpackage to 9.4. in SLE (bnc#941886)
+
+---
@@ -15 +87 @@
-- Bump version and defaultpackage to 9.4.
+- Bump version and defaultpackage to 9.4 in Factory.

New:

  postgresql-firewall
  postgresql-init
  postgresql-install-alternatives
  postgresql-script
  postgresql-sysconfig
  postgresql-tmpfiles.conf
  postgresql.service



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.7iSuUy/_old  2017-11-26 10:33:19.898420771 +0100
+++ /var/tmp/diff_new_pack.7iSuUy/_new  2017-11-26 10:33:19.902420625 +0100
@@ -15,20 +15,42 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql96
+%define defaultpackage postgresql10
+
+%if 0%{?suse_version} >= 1300
+%bcond_without  systemd
+%else
+%bcond_with systemd
+%endif
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.6
+Version:10
 Release:0
 Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Requires:   %defaultpackage
+Provides:   postgresql-noarch = %version-%release
+Requires:   postgresql-implementation
+Recommends: %defaultpackage
 BuildArch:  noarch
-Source0:postgresql-bashprofile
-
+Source0:

commit postgresql for openSUSE:Factory

2017-02-16 Thread root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2017-02-16 16:45:30

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2015-10-24 
10:25:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2017-02-16 16:45:31.345955355 +0100
@@ -1,0 +2,5 @@
+Sun Oct 30 06:17:24 UTC 2016 - 13i...@gmail.com
+
+- Bump version and defaultpackage to 9.6.
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.L4VvW9/_old  2017-02-16 16:45:31.901876412 +0100
+++ /var/tmp/diff_new_pack.L4VvW9/_new  2017-02-16 16:45:31.905875843 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package postgresql
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,15 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql94
+%define defaultpackage postgresql96
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.4
+Version:9.6
 Release:0
-Url:http://www.postgresql.org/
+Url:https://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   %defaultpackage
 BuildArch:  noarch




commit postgresql for openSUSE:Factory

2015-10-24 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2015-10-24 10:25:08

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is "postgresql"

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2014-02-03 
08:52:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2015-10-24 10:25:20.0 +0200
@@ -1,0 +2,11 @@
+Mon Sep 28 15:04:31 UTC 2015 - m...@suse.com
+
+- Move ~postgres/.bash_profile to postgresql-server to avoid a
+  file conflict between the versioned server packages.
+
+---
+Wed Feb 18 15:28:45 UTC 2015 - m...@suse.com
+
+- Bump version and defaultpackage to 9.4.
+
+---

New:

  postgresql-bashprofile



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.ksKzCY/_old  2015-10-24 10:25:21.0 +0200
+++ /var/tmp/diff_new_pack.ksKzCY/_new  2015-10-24 10:25:21.0 +0200
@@ -15,18 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql93
+%define defaultpackage postgresql94
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.3
+Version:9.4
 Release:0
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   %defaultpackage
 BuildArch:  noarch
+Source0:postgresql-bashprofile
+
 
 %description
 PostgreSQL is an advanced object-relational database management system
@@ -155,7 +157,9 @@
 echo "This is a dummy package to provide a dependency on the default 
PostgreSQL version." > README
 
 %install
-# Nothing to do here
+mkdir -p %buildroot/var/lib/pgsql/
+sed 's,@LIBDIR@,%_libdir,g' %{SOURCE0} > \
+%buildroot/var/lib/pgsql/.bash_profile
 
 %files
 %defattr(-,root,root,-)
@@ -164,6 +168,8 @@
 %files server
 %defattr(-,root,root,-)
 %doc README
+%attr(750,postgres,postgres) %dir /var/lib/pgsql
+%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
 
 %files docs
 %defattr(-,root,root,-)

++ postgresql-bashprofile ++

# Get PGDATA from /etc/sysconfig/postgresql
if test -f /etc/sysconfig/postgresql; then
   eval eval $(sed -n '/^POSTGRES_DATADIR=/s//PGDATA=/p' 
/etc/sysconfig/postgresql)
   export PGDATA
fi



commit postgresql for openSUSE:Factory

2014-02-02 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2014-02-03 08:52:25

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is postgresql

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2013-09-29 
17:24:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2014-02-03 08:52:25.0 +0100
@@ -1,0 +2,5 @@
+Tue Sep 17 11:44:19 UTC 2013 - m...@suse.com
+
+- Bump version and defaultpackage to 9.3.
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.eUlScQ/_old  2014-02-03 08:52:26.0 +0100
+++ /var/tmp/diff_new_pack.eUlScQ/_new  2014-02-03 08:52:26.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package postgresql
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,14 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-%define defaultpackage postgresql92
+%define defaultpackage postgresql93
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.2
+Version:9.3
 Release:0
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit postgresql for openSUSE:Factory

2013-09-29 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2013-09-29 17:24:47

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is postgresql

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2013-09-27 
17:58:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2013-09-29 17:24:48.0 +0200
@@ -2,5 +1,0 @@
-Tue Sep 17 11:44:19 UTC 2013 - m...@suse.com
-
-- Bump version and defaultpackage to 9.3.
-




Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.ScnLCz/_old  2013-09-29 17:24:49.0 +0200
+++ /var/tmp/diff_new_pack.ScnLCz/_new  2013-09-29 17:24:49.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package postgresql
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,13 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql93
+
+%define defaultpackage postgresql92
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.3
+Version:9.2
 Release:0
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit postgresql for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2013-09-27 17:58:18

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is postgresql

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2013-01-11 
15:58:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2013-09-27 17:58:19.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 17 11:44:19 UTC 2013 - m...@suse.com
+
+- Bump version and defaultpackage to 9.3.
+
+---



Other differences:
--
++ postgresql.spec ++
--- /var/tmp/diff_new_pack.Txme97/_old  2013-09-27 17:58:20.0 +0200
+++ /var/tmp/diff_new_pack.Txme97/_new  2013-09-27 17:58:20.0 +0200
@@ -15,13 +15,13 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define defaultpackage postgresql92
+%define defaultpackage postgresql93
 
 Name:   postgresql
 Summary:Basic Clients and Utilities for PostgreSQL
 License:PostgreSQL
 Group:  Productivity/Databases/Tools
-Version:9.2
+Version:9.3
 Release:0
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit postgresql for openSUSE:Factory

2013-01-11 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2013-01-11 15:58:54

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is postgresql, Maintainer is m...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/postgresql/postgresql.changes2011-10-06 
16:45:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.postgresql.new/postgresql.changes   
2013-01-11 15:58:57.0 +0100
@@ -2 +2 @@
-Wed Oct  5 16:41:31 UTC 2011 - m...@suse.com
+Wed Jan  9 09:55:11 UTC 2013 - m...@suse.com
@@ -4,6 +4 @@
-- New version 9.1.1. For detailed release notes, see:
-  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
-- Stop using deprecated silent_mode in default config.
-- postgresql-perl514.patch is no longer needed.
-- Use %_smp_mflags for parallel make
-- Keep the rpath when linking plperl [bnc#578053].
+- Change license string to PostgreSQL.
@@ -12 +7 @@
-Fri Sep 16 17:17:08 UTC 2011 - jeng...@medozas.de
+Fri Oct  5 17:28:22 UTC 2012 - m...@suse.com
@@ -14 +9 @@
-- Add postgresql-devel to baselibs
+- Make all dummy packages noarch.
@@ -17 +12 @@
-Wed Jun  8 16:40:03 UTC 2011 - m...@novell.com
+Thu Oct  4 14:51:58 UTC 2012 - m...@suse.com
@@ -19,2 +14 @@
-- Revert the postgresql-libs package split for SLE in preparation
-  of submitting the package to SLE11-SP1.
+- Make PostgreSQL 9.2 the default.
@@ -23 +17 @@
-Wed May 25 13:06:16 UTC 2011 - m...@novell.com
+Mon Oct  1 14:13:18 UTC 2012 - m...@suse.com
@@ -25,1879 +19,2 @@
-- Fix file name of last added patch and remove overlong comment.
-

-Wed May 25 08:06:44 UTC 2011 - idon...@novell.com
-
-- Add postgresql-9.0.4-perl514.patch: For Perl 5.14 GvCV(sv) is no
-  longer an lvalue and needs to be replaced by GvCV_set(sv, value) 
-

-Thu Apr 21 10:06:45 UTC 2011 - m...@novell.com
-
-- Bugfix release: 9.0.4:
-  * This update contains a critical fix to the pg_upgrade utility
-which prevents significant downtime issues. Do not use
-pg_upgrade without installing this update first.
-http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix
-  * change SQLSTATE for Hot Standby warnings
-  * prevent bgwriter hang during recovery
-  * prevent recursive composite type creation
-  * disallow dropping tables whose triggers are still pending
-  * allow use of replication as a user name
-  * prevent a crash during GEQO planning
-  * improve join plans for tables with missing statistics
-  * fix error with SELECT FOR UPDATE in a subselect
-  * close PL/python array slice memory leak
-  * allow SSL connections for users with no home directory
-- http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
-

-Fri Apr  1 10:23:05 UTC 2011 - nkrin...@novell.com
-
-- enabled --with-ossp-uuid
-

-Fri Mar  4 15:02:11 UTC 2011 - m...@novell.com
-
-- Fix the fix of the fix for the successors of postgresql-libs. 
-

-Mon Feb 21 01:09:08 CET 2011 - r...@suse.de
-
-- provide postgresql-libs in the specfile that actually builds
-  the libs package 
-

-Sat Feb 19 20:11:07 UTC 2011 - co...@novell.com
-
-- fix update of libs
-

-Thu Feb 17 11:38:42 UTC 2011 - m...@novell.com
-
-- Move all of pgxs into the devel package to fix build of server
-  extensions.
-

-Wed Feb 16 19:10:54 UTC 2011 - m...@novell.com
-
-- Move pg_config from -server to -devel to fix build of certain
-  client apps and language bindings, but using pg_config on the
-  client side is still considered broken, because it tells what
-  got linked into the server binary not what got linked into libpq.
-

-Tue Feb  8 18:23:22 UTC 2011 - m...@novell.com
-
-- Remove unneeded PreReq from postgresql on postgresql-libs.
-

-Fri Feb  4 11:40:12 UTC 2011 - m...@suse.de
-
-- New version: 9.0.3. For the complete release notes, see
-  http://www.postgresql.org/docs/9.0/static/release.html
-- Build libs and devel separate from the main package.
-- Build the PL subpackages as part of the main package.
-- Have separate packages for libpq and libecpg.
-- Generate the main and lib spec files from postgresql.spec.in.
-

commit postgresql for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory 
checked in at 2011-12-06 18:52:42

Comparing /work/SRC/openSUSE:Factory/postgresql (Old)
 and  /work/SRC/openSUSE:Factory/.postgresql.new (New)


Package is postgresql, Maintainer is m...@suse.com

Changes:

postgresql.changes: same change



Other differences:
--
++ postgresql-libs.spec ++
--- /var/tmp/diff_new_pack.U8sh4r/_old  2011-12-06 19:26:13.0 +0100
+++ /var/tmp/diff_new_pack.U8sh4r/_new  2011-12-06 19:26:13.0 +0100
@@ -36,7 +36,7 @@
 Version:9.1.1
 Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Group:  Productivity/Databases/Tools
 Source0:postgresql-%version.tar.bz2
 Source1:baselibs.conf
@@ -72,7 +72,7 @@
 %if %libs_package
 
 %package libs
-License:BSD 3-Clause
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 # bug437293
@@ -96,7 +96,7 @@
 %else
 
 %package -n %libpq
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Provides:   postgresql-libs = %version
@@ -116,7 +116,7 @@
 program or language bindings are using.
 
 %package -n %libecpg
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Provides:   postgresql-libs:%_libdir/libecpg.so.6
@@ -132,7 +132,7 @@
 %endif
 
 %package -n %_name-devel
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:PostgreSQL development header files and libraries
 Group:  Productivity/Databases/Tools
 %if %libs_package

++ postgresql.spec ++
--- /var/tmp/diff_new_pack.U8sh4r/_old  2011-12-06 19:26:13.0 +0100
+++ /var/tmp/diff_new_pack.U8sh4r/_new  2011-12-06 19:26:13.0 +0100
@@ -43,7 +43,7 @@
 Version:9.1.1
 Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Group:  Productivity/Databases/Tools
 Source0:postgresql-%version.tar.bz2
 Source1:baselibs.conf
@@ -79,7 +79,7 @@
 %if %libs_package
 
 %package libs
-License:BSD 3-Clause
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 # bug437293
@@ -103,7 +103,7 @@
 %else
 
 %package -n %libpq
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Provides:   postgresql-libs = %version
@@ -123,7 +123,7 @@
 program or language bindings are using.
 
 %package -n %libecpg
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Provides:   postgresql-libs:%_libdir/libecpg.so.6
@@ -139,7 +139,7 @@
 %endif
 
 %package server
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:The Programs Needed to Create and Run a PostgreSQL Server
 Group:  Productivity/Databases/Servers
 PreReq: %insserv_prereq %fillup_prereq
@@ -150,7 +150,7 @@
 Provides:   postgresql-server = %pg_minor_version
 
 %package docs
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:HTML Documentation for PostgreSQL
 Group:  Productivity/Databases/Tools
 %if 0%{?suse_version} = 1120
@@ -169,7 +169,7 @@
 postgresql package.
 
 %package contrib
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:Contributed Extensions and Additions to PostgreSQL
 Group:  Productivity/Databases/Tools
 Requires:   postgresql-server = %pg_minor_version
@@ -198,7 +198,7 @@
 PostgreSQL databases.
 
 %package -n %_name-devel
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:PostgreSQL development header files and libraries
 Group:  Productivity/Databases/Tools
 %if %libs_package
@@ -220,7 +220,7 @@
 which will interact with a PostgreSQL server.
 
 %package plperl
-License:BSD3c(or similar)
+License:BSD-3-Clause
 Summary:The PL/Tcl, PL/Perl, and  PL/Python procedural languages for 
PostgreSQL
 Group:  Productivity/Databases/Servers
 Requires:   perl = 

commit postgresql for openSUSE:Factory

2011-10-06 Thread h_root

Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory
checked in at Thu Oct 6 16:45:34 CEST 2011.




--- openSUSE:Factory/postgresql/postgresql-libs.changes 2011-10-02 
10:25:37.0 +0200
+++ /mounts/work_src_done/STABLE/postgresql/postgresql-libs.changes 
2011-10-05 18:42:25.0 +0200
@@ -1,0 +2,10 @@
+Wed Oct  5 16:41:31 UTC 2011 - m...@suse.com
+
+- New version 9.1.1. For detailed release notes, see:
+  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
+- Stop using deprecated silent_mode in default config.
+- postgresql-perl514.patch is no longer needed.
+- Use %_smp_mflags for parallel make
+- Keep the rpath when linking plperl [bnc#578053].
+
+---
--- openSUSE:Factory/postgresql/postgresql.changes  2011-10-02 
10:25:37.0 +0200
+++ /mounts/work_src_done/STABLE/postgresql/postgresql.changes  2011-10-05 
18:42:26.0 +0200
@@ -1,0 +2,15 @@
+Wed Oct  5 16:41:31 UTC 2011 - m...@suse.com
+
+- New version 9.1.1. For detailed release notes, see:
+  http://www.postgresql.org/docs/9.1/static/release-9-1-1.html
+- Stop using deprecated silent_mode in default config.
+- postgresql-perl514.patch is no longer needed.
+- Use %_smp_mflags for parallel make
+- Keep the rpath when linking plperl [bnc#578053].
+
+---
+Fri Sep 16 17:17:08 UTC 2011 - jeng...@medozas.de
+
+- Add postgresql-devel to baselibs
+
+---

calling whatdependson for head-i586


Old:

  postgresql-9.0.4.tar.bz2
  postgresql-perl514.patch

New:

  postgresql-9.1.1.tar.bz2



Other differences:
--
++ postgresql-libs.spec ++
--- /var/tmp/diff_new_pack.6b1URA/_old  2011-10-06 16:45:19.0 +0200
+++ /var/tmp/diff_new_pack.6b1URA/_new  2011-10-06 16:45:19.0 +0200
@@ -27,12 +27,13 @@
 %define libpq libpq5
 %define libecpg libecpg6
 %define buildall 0
+%define extensiondir %_datadir/postgresql/extension
 %if 0%{?suse_version}  910
 BuildRequires:  krb5-devel libxslt-devel
 %endif
 BuildRequires:  openldap2-devel openssl-devel
 Summary:Basic Clients and Utilities for PostgreSQL
-Version:9.0.4
+Version:9.1.1
 Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
 License:BSD3c(or similar)
@@ -52,7 +53,6 @@
 Patch2: postgresql-regress.patch
 Patch3: postgresql-sle10-timestamptz.patch
 Patch4: postgresql-plperl.patch
-Patch5: postgresql-perl514.patch
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Provides:   postgresql = %pg_minor_version
@@ -156,6 +156,9 @@
 
 %prep
 %setup -q -n %_name-%version
+# Keep the timestamp of configure, because patching it would otherwise
+# confuse PostgreSQL's build system
+touch -r configure tmp
 %patch1
 %patch2
 # apply the following patch only on SLE10
@@ -163,7 +166,8 @@
 %patch3 -p1
 %endif
 %patch4
-%patch5 -p1
+touch -r tmp configure
+rm tmp
 
 %build
 export CFLAGS=%optflags $SP

++ postgresql.spec ++
--- /var/tmp/diff_new_pack.6b1URA/_old  2011-10-06 16:45:19.0 +0200
+++ /var/tmp/diff_new_pack.6b1URA/_new  2011-10-06 16:45:19.0 +0200
@@ -34,12 +34,13 @@
 %define libpq libpq5
 %define libecpg libecpg6
 %define buildall 0
+%define extensiondir %_datadir/postgresql/extension
 %if 0%{?suse_version}  910
 BuildRequires:  krb5-devel libxslt-devel
 %endif
 BuildRequires:  openldap2-devel openssl-devel
 Summary:Basic Clients and Utilities for PostgreSQL
-Version:9.0.4
+Version:9.1.1
 Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
 License:BSD3c(or similar)
@@ -59,7 +60,6 @@
 Patch2: postgresql-regress.patch
 Patch3: postgresql-sle10-timestamptz.patch
 Patch4: postgresql-plperl.patch
-Patch5: postgresql-perl514.patch
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Provides:   postgresql = %pg_minor_version
@@ -278,6 +278,9 @@
 
 %prep
 %setup -q -n %_name-%version
+# Keep the timestamp of configure, because patching it would otherwise
+# confuse PostgreSQL's build system
+touch -r configure tmp
 %patch1
 %patch2
 # apply the following patch only on SLE10
@@ -285,7 +288,8 @@
 %patch3 -p1
 %endif
 %patch4
-%patch5 -p1
+touch -r tmp configure
+rm tmp
 
 %build
 export CFLAGS=%optflags $SP
@@ -314,7 +318,7 @@
--with-krb5 \
 %endif
--with-system-tzdata=/usr/share/zoneinfo
-make %{?jobs:-j%jobs} world
+make %{?_smp_mflags} world
 %ifnarch %arm
 %if 0%{?suse_version}  910
 
@@ -383,7 +387,7 @@
%buildroot/var/lib/pgsql/.bash_profile
 # Backup directory for 

commit postgresql for openSUSE:Factory

2011-05-27 Thread h_root

Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory
checked in at Fri May 27 11:14:39 CEST 2011.




--- postgresql/postgresql-libs.changes  2011-02-21 01:09:54.0 +0100
+++ /mounts/work_src_done/STABLE/postgresql/postgresql-libs.changes 
2011-05-25 15:07:04.0 +0200
@@ -1,0 +2,41 @@
+Wed May 25 13:06:16 UTC 2011 - m...@novell.com
+
+- Fix file name of last added patch and remove overlong comment.
+
+---
+Wed May 25 08:06:44 UTC 2011 - idon...@novell.com
+
+- Add postgresql-9.0.4-perl514.patch: For Perl 5.14 GvCV(sv) is no
+  longer an lvalue and needs to be replaced by GvCV_set(sv, value) 
+
+---
+Thu Apr 21 10:06:45 UTC 2011 - m...@novell.com
+
+- Bugfix release: 9.0.4:
+  * This update contains a critical fix to the pg_upgrade utility
+which prevents significant downtime issues. Do not use
+pg_upgrade without installing this update first.
+http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix
+  * change SQLSTATE for Hot Standby warnings
+  * prevent bgwriter hang during recovery
+  * prevent recursive composite type creation
+  * disallow dropping tables whose triggers are still pending
+  * allow use of replication as a user name
+  * prevent a crash during GEQO planning
+  * improve join plans for tables with missing statistics
+  * fix error with SELECT FOR UPDATE in a subselect
+  * close PL/python array slice memory leak
+  * allow SSL connections for users with no home directory
+- http://www.postgresql.org/docs/9.0/static/release-9-0-4.html
+
+---
+Fri Apr  1 10:23:05 UTC 2011 - nkrin...@novell.com
+
+- enabled --with-ossp-uuid
+
+---
+Fri Mar  4 15:02:11 UTC 2011 - m...@novell.com
+
+- Fix the fix of the fix for the successors of postgresql-libs. 
+
+---
postgresql.changes: same change

calling whatdependson for head-i586


Old:

  postgresql-9.0.3.tar.bz2

New:

  postgresql-9.0.4.tar.bz2
  postgresql-perl514.patch



Other differences:
--
++ postgresql-libs.spec ++
--- /var/tmp/diff_new_pack.y4uvJJ/_old  2011-05-27 11:09:53.0 +0200
+++ /var/tmp/diff_new_pack.y4uvJJ/_new  2011-05-27 11:09:53.0 +0200
@@ -27,8 +27,8 @@
 %endif
 BuildRequires:  openldap2-devel openssl-devel
 Summary:Basic Clients and Utilities for PostgreSQL
-Version:9.0.3
-Release:3
+Version:9.0.4
+Release:1
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
 License:BSD3c(or similar)
 Group:  Productivity/Databases/Tools
@@ -47,6 +47,7 @@
 Patch2: postgresql-regress.patch
 Patch3: postgresql-sle10-timestamptz.patch
 Patch4: postgresql-plperl.patch
+Patch5: postgresql-perl514.patch
 Url:http://www.postgresql.org/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Provides:   postgresql = %pg_minor_version
@@ -65,12 +66,11 @@
 
 %package -n %libpq
 
-
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
-Obsoletes:  postgresql-libs
-Provides:   postgresql-libs
+Provides:   postgresql-libs = %version
+Obsoletes:  postgresql-libs  %version
 # bug437293
 %ifarch ppc64
 Obsoletes:  postgresql-libs-64bit
@@ -87,15 +87,10 @@
 
 %package -n %libecpg
 
-
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
-Obsoletes:  postgresql-libs
-# bug437293
-%ifarch ppc64
-Obsoletes:  postgresql-libs-64bit
-%endif
+Provides:   postgresql-libs:%_libdir/libecpg.so.6
 
 %description -n %libecpg
 PostgreSQL is an advanced object-relational database management system
@@ -108,7 +103,6 @@
 
 %package -n %_name-devel
 
-
 License:BSD3c(or similar)
 Summary:PostgreSQL development header files and libraries
 Group:  Productivity/Databases/Tools
@@ -136,6 +130,7 @@
 %patch3 -p1
 %endif
 %patch4
+%patch5 -p1
 
 %build
 export CFLAGS=%optflags $SP

++ postgresql.spec ++
--- /var/tmp/diff_new_pack.y4uvJJ/_old  2011-05-27 11:09:53.0 +0200
+++ /var/tmp/diff_new_pack.y4uvJJ/_new  2011-05-27 11:09:53.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   postgresql
-BuildRequires:  gettext-devel ncurses-devel readline-devel zlib-devel
+BuildRequires:  gettext-devel ncurses-devel readline-devel uuid-devel 
zlib-devel
 BuildRequires:  pam-devel python-devel tcl-devel
 %if 0%{?suse_version} = 1110
 BuildRequires:  fdupes
@@ -34,8 +34,8 @@
 %endif
 

commit postgresql for openSUSE:Factory

2011-02-20 Thread h_root

Hello community,

here is the log from the commit of package postgresql for openSUSE:Factory
checked in at Mon Feb 21 00:22:44 CET 2011.




--- postgresql/postgresql-libs.changes  2011-02-17 12:42:16.0 +0100
+++ /mounts/work_src_done/STABLE/postgresql/postgresql-libs.changes 
2011-02-19 21:11:34.0 +0100
@@ -1,0 +2,5 @@
+Sat Feb 19 20:11:07 UTC 2011 - co...@novell.com
+
+- fix update of libs
+
+---
postgresql.changes: same change

calling whatdependson for head-i586




Other differences:
--
++ postgresql-libs.spec ++
--- /var/tmp/diff_new_pack.MBcOwD/_old  2011-02-21 00:22:18.0 +0100
+++ /var/tmp/diff_new_pack.MBcOwD/_new  2011-02-21 00:22:18.0 +0100
@@ -28,7 +28,7 @@
 BuildRequires:  openldap2-devel openssl-devel
 Summary:Basic Clients and Utilities for PostgreSQL
 Version:9.0.3
-Release:1
+Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
 License:BSD3c(or similar)
 Group:  Productivity/Databases/Tools
@@ -65,6 +65,7 @@
 
 %package -n %libpq
 
+
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
@@ -85,6 +86,7 @@
 
 %package -n %libecpg
 
+
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
@@ -105,6 +107,7 @@
 
 %package -n %_name-devel
 
+
 License:BSD3c(or similar)
 Summary:PostgreSQL development header files and libraries
 Group:  Productivity/Databases/Tools

++ postgresql.spec ++
--- /var/tmp/diff_new_pack.MBcOwD/_old  2011-02-21 00:22:18.0 +0100
+++ /var/tmp/diff_new_pack.MBcOwD/_new  2011-02-21 00:22:18.0 +0100
@@ -35,7 +35,7 @@
 BuildRequires:  openldap2-devel openssl-devel
 Summary:Basic Clients and Utilities for PostgreSQL
 Version:9.0.3
-Release:1
+Release:2
 %define pg_minor_version %(echo %version | sed -r 
's/^([0-9]+\\.[0-9]+).*/\\1/')
 License:BSD3c(or similar)
 Group:  Productivity/Databases/Tools
@@ -72,10 +72,12 @@
 
 %package -n %libpq
 
+
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Obsoletes:  postgresql-libs
+Provides:   postgresql-libs
 # bug437293
 %ifarch ppc64
 Obsoletes:  postgresql-libs-64bit
@@ -92,6 +94,7 @@
 
 %package -n %libecpg
 
+
 License:BSD3c(or similar)
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
@@ -171,6 +174,7 @@
 
 %package -n %_name-devel
 
+
 License:BSD3c(or similar)
 Summary:PostgreSQL development header files and libraries
 Group:  Productivity/Databases/Tools

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.MBcOwD/_old  2011-02-21 00:22:18.0 +0100
+++ /var/tmp/diff_new_pack.MBcOwD/_new  2011-02-21 00:22:18.0 +0100
@@ -1,2 +1 @@
-postgresql-libs
-
+libpq5

++ postgresql.spec.in ++
--- /var/tmp/diff_new_pack.MBcOwD/_old  2011-02-21 00:22:19.0 +0100
+++ /var/tmp/diff_new_pack.MBcOwD/_new  2011-02-21 00:22:19.0 +0100
@@ -96,6 +96,7 @@
 Summary:Shared Libraries Required for PostgreSQL Clients
 Group:  Productivity/Databases/Clients
 Obsoletes:  postgresql-libs
+Provides:   postgresql-libs
 # bug437293
 %ifarch ppc64
 Obsoletes:  postgresql-libs-64bit






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org