commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2017-02-20 14:29:30 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is "postgresql-init" Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2016-10-10 16:19:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2017-02-20 14:29:31.279159518 +0100 @@ -1,0 +2,5 @@ +Sat Feb 18 07:33:25 CET 2017 - ku...@suse.de + +- Fix location of insserv cleanup call + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.MJY5iK/_old 2017-02-20 14:29:31.883074301 +0100 +++ /var/tmp/diff_new_pack.MJY5iK/_new 2017-02-20 14:29:31.887073736 +0100 @@ -1,7 +1,7 @@ # # spec file for package postgresql-init # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -98,9 +98,10 @@ %stop_on_removal postgresql %postun -%insserv_cleanup %if %{with systemd} test -x /bin/systemctl && /bin/systemctl daemon-reload || : +%else +%insserv_cleanup %endif %files
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2016-10-10 16:19:28 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is "postgresql-init" Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2016-05-08 10:40:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2016-10-10 16:19:29.0 +0200 @@ -1,0 +2,11 @@ +Sat May 21 03:04:11 UTC 2016 - mrueck...@suse.de + +- fix building on 13.1 by removing the BuildRequires on systemd + we will get it via systemd mini and the systemd_requires macro + +--- +Sat May 21 03:01:35 UTC 2016 - mrueck...@suse.de + +- bump to 9.6 so we can also build for the latest version + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.pJeRu8/_old 2016-10-10 16:19:30.0 +0200 +++ /var/tmp/diff_new_pack.pJeRu8/_new 2016-10-10 16:19:30.0 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %if 0%{?suse_version} >= 1300 %bcond_without systemd %else @@ -27,7 +28,7 @@ Group: Productivity/Databases/Servers Name: postgresql-init -Version:9.4 +Version:9.6 Release:0 Source0:postgresql-init Source1:postgresql-sysconfig @@ -36,7 +37,6 @@ BuildRequires: pwdutils %if %{with systemd} BuildRequires: pkgconfig(systemd) -BuildRequires: systemd %{?systemd_requires} %else Requires(postun): %insserv_prereq @@ -90,7 +90,7 @@ %post %fillup_only -n postgresql %if %{with systemd} -/usr/bin/systemd-tmpfiles --create %_tmpfilesdir/postgresql.conf +%tmpfiles_create %_tmpfilesdir/postgresql.conf test -x /bin/systemctl && /bin/systemctl daemon-reload || : %endif
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2016-05-08 10:40:38 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is "postgresql-init" Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2016-02-16 09:27:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2016-05-08 10:40:39.0 +0200 @@ -1,0 +2,13 @@ +Mon Apr 25 18:31:25 UTC 2016 - mrueck...@suse.de + +- fix building on sle11: + - guard all systemd related parts with build conditional + - do not own fwdir on sle11 + +--- +Mon Feb 15 10:11:02 UTC 2016 - m...@suse.com + +- Increase the default timeout for pg_ctl from 60 to 600 seconds + and make it configurable (bsc#966285). + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.pt9GsX/_old 2016-05-08 10:40:40.0 +0200 +++ /var/tmp/diff_new_pack.pt9GsX/_new 2016-05-08 10:40:40.0 +0200 @@ -15,6 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%if 0%{?suse_version} >= 1300 +%bcond_without systemd +%else +%bcond_with systemd +%endif Url:http://www.postgresql.org/ Summary:Init script and other infrastructure for PostgreSQL @@ -29,11 +34,15 @@ Source2:postgresql-firewall Source3:postgresql-tmpfiles.conf BuildRequires: pwdutils +%if %{with systemd} +BuildRequires: pkgconfig(systemd) BuildRequires: systemd %{?systemd_requires} +%else +Requires(postun): %insserv_prereq +%endif Requires(pre): pwdutils Requires(post): %fillup_prereq -Requires(postun): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -65,8 +74,10 @@ install -m755 -d %buildroot%fwdir install -m644 %{S:2} %buildroot%fwdir/%fwname +%if %{with systemd} install -m755 -d %buildroot/%_tmpfilesdir install -m644 %{S:3} %buildroot%_tmpfilesdir/postgresql.conf +%endif install -m755 -d %buildroot/usr/sbin ln -sf /etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql @@ -78,23 +89,31 @@ %post %fillup_only -n postgresql -systemd-tmpfiles --create postgresql.conf +%if %{with systemd} +/usr/bin/systemd-tmpfiles --create %_tmpfilesdir/postgresql.conf test -x /bin/systemctl && /bin/systemctl daemon-reload || : +%endif %preun %stop_on_removal postgresql %postun %insserv_cleanup +%if %{with systemd} test -x /bin/systemctl && /bin/systemctl daemon-reload || : +%endif %files %defattr(-,root,root,-) %config /etc/init.d/postgresql +%if 0%{?suse_version} > 1110 %dir %fwdir +%endif %config %fwdir/%fwname /var/adm/fillup-templates/sysconfig.postgresql /usr/sbin/rcpostgresql +%if %{with systemd} %_tmpfilesdir/postgresql.conf +%endif %changelog ++ postgresql-init ++ --- /var/tmp/diff_new_pack.pt9GsX/_old 2016-05-08 10:40:40.0 +0200 +++ /var/tmp/diff_new_pack.pt9GsX/_new 2016-05-08 10:40:40.0 +0200 @@ -84,7 +84,7 @@ VERSION=$($POSTGRES --version|awk '{print $NF}') LOGFILE=$DATADIR/postmaster.log pg_ctl () { - CMD="$BINDIR/pg_ctl $@" + CMD="$BINDIR/pg_ctl ${POSTGRES_TIMEOUT:+-t $POSTGRES_TIMEOUT} $@" su - postgres -c "$CMD" } ++ postgresql-sysconfig ++ --- /var/tmp/diff_new_pack.pt9GsX/_old 2016-05-08 10:40:40.0 +0200 +++ /var/tmp/diff_new_pack.pt9GsX/_new 2016-05-08 10:40:40.0 +0200 @@ -22,6 +22,18 @@ # POSTGRES_OPTIONS="" + +## Path: Applications/PostgreSQL +## Description:The PostgreSQL Database System +## Type: string() +## Default:"600" +## ServiceRestart: postgresql +# +# This value controls how many seconds the pg_ctl helper program waits +# for the startup or shutdown of the PostgreSQL server to complete. +# +POSTGRES_TIMEOUT="600" + ## Path: Applications/PostgreSQL ## Description:The PostgreSQL Database System ## Type: string()
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2016-02-16 09:27:31 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is "postgresql-init" Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2015-10-24 10:25:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2016-02-16 09:27:32.0 +0100 @@ -1,0 +2,8 @@ +Tue Feb 2 10:40:21 UTC 2016 - m...@suse.com + +- Change the permissions and ownership of /var/run/postgresql to + match those of /tmp (the traditional location of PostgreSQL's + unix domain sockets and lock files), so that users other than + "postgres" are able to start teir own database instances. + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.I6mWNb/_old 2016-02-16 09:27:33.0 +0100 +++ /var/tmp/diff_new_pack.I6mWNb/_new 2016-02-16 09:27:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package postgresql-init # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ postgresql-tmpfiles.conf ++ --- /var/tmp/diff_new_pack.I6mWNb/_old 2016-02-16 09:27:33.0 +0100 +++ /var/tmp/diff_new_pack.I6mWNb/_new 2016-02-16 09:27:33.0 +0100 @@ -1,2 +1,2 @@ # For the PostgreSQL server's unix domain socket -d /var/run/postgresql 0755 postgres postgres - +d /var/run/postgresql 1777 root root -
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2015-10-24 10:25:33 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is "postgresql-init" Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2015-02-23 13:13:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2015-10-24 10:25:45.0 +0200 @@ -1,0 +2,6 @@ +Mon Oct 12 11:31:13 UTC 2015 - m...@suse.com + +- Move systemd related stuff and user/group creation from + postgresqlXX-server to postgresql-init. + +--- New: postgresql-tmpfiles.conf Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.6n9sX0/_old 2015-10-24 10:25:46.0 +0200 +++ /var/tmp/diff_new_pack.6n9sX0/_new 2015-10-24 10:25:46.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql-init # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,11 @@ Source0:postgresql-init Source1:postgresql-sysconfig Source2:postgresql-firewall +Source3:postgresql-tmpfiles.conf +BuildRequires: pwdutils +BuildRequires: systemd +%{?systemd_requires} +Requires(pre): pwdutils Requires(post): %fillup_prereq Requires(postun): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,16 +51,6 @@ postgresql*-server binary package to allow parallel installation of several server versions. - - -Authors: - -Marc G. Fournier-Tom Lane -Vadim B. Mikheev -Bruce Momjian -Jan Wieck - %prep %build @@ -70,11 +65,20 @@ install -m755 -d %buildroot%fwdir install -m644 %{S:2} %buildroot%fwdir/%fwname +install -m755 -d %buildroot/%_tmpfilesdir +install -m644 %{S:3} %buildroot%_tmpfilesdir/postgresql.conf + install -m755 -d %buildroot/usr/sbin ln -sf /etc/init.d/postgresql %buildroot/usr/sbin/rcpostgresql +%pre +groupadd -g 26 -o -r postgres >/dev/null 2>/dev/null || : +useradd -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \ + -c "PostgreSQL Server" -u 26 postgres 2>/dev/null || : + %post %fillup_only -n postgresql +systemd-tmpfiles --create postgresql.conf test -x /bin/systemctl && /bin/systemctl daemon-reload || : %preun @@ -87,8 +91,10 @@ %files %defattr(-,root,root,-) %config /etc/init.d/postgresql +%dir %fwdir %config %fwdir/%fwname /var/adm/fillup-templates/sysconfig.postgresql /usr/sbin/rcpostgresql +%_tmpfilesdir/postgresql.conf %changelog ++ postgresql-tmpfiles.conf ++ # For the PostgreSQL server's unix domain socket d /var/run/postgresql 0755 postgres postgres -
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2015-02-23 13:13:05 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is postgresql-init Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2014-09-05 12:59:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2015-02-23 13:13:07.0 +0100 @@ -1,0 +2,11 @@ +Thu Feb 12 16:09:27 UTC 2015 - mrueck...@suse.de + +- do not own directories which are already owned by the filesystem + package + +--- +Thu Feb 12 14:40:17 UTC 2015 - mrueck...@suse.de + +- bump version so it can bue used with 9.4 + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.1krS5G/_old 2015-02-23 13:13:08.0 +0100 +++ /var/tmp/diff_new_pack.1krS5G/_new 2015-02-23 13:13:08.0 +0100 @@ -22,7 +22,7 @@ Group: Productivity/Databases/Servers Name: postgresql-init -Version:9.3 +Version:9.4 Release:0 Source0:postgresql-init Source1:postgresql-sysconfig @@ -87,7 +87,6 @@ %files %defattr(-,root,root,-) %config /etc/init.d/postgresql -%dir %fwdir %config %fwdir/%fwname /var/adm/fillup-templates/sysconfig.postgresql /usr/sbin/rcpostgresql -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2014-09-05 12:59:53 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is postgresql-init Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2014-07-31 21:50:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2014-09-05 12:59:56.0 +0200 @@ -1,0 +2,5 @@ +Wed Sep 3 01:48:48 CEST 2014 - r...@suse.de + +- sanitize release line in specfile + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.icdnup/_old 2014-09-05 12:59:57.0 +0200 +++ /var/tmp/diff_new_pack.icdnup/_new 2014-09-05 12:59:57.0 +0200 @@ -23,7 +23,7 @@ Name: postgresql-init Version:9.3 -Release:0.6.RELEASE12 +Release:0 Source0:postgresql-init Source1:postgresql-sysconfig Source2:postgresql-firewall -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2014-07-31 21:50:09 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is postgresql-init Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2013-09-14 19:09:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2014-07-31 21:50:26.0 +0200 @@ -1,0 +2,7 @@ +Thu Jul 31 09:31:10 UTC 2014 - meiss...@suse.com + +- no need to directly require SuSEfirewall2 for the service, + just also own the directory. (avoid massive rebuilds for SUSEfirewall2 + changes). + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.KkkNMj/_old 2014-07-31 21:50:27.0 +0200 +++ /var/tmp/diff_new_pack.KkkNMj/_new 2014-07-31 21:50:27.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql-init # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -27,7 +27,6 @@ Source0:postgresql-init Source1:postgresql-sysconfig Source2:postgresql-firewall -BuildRequires: SuSEfirewall2 Requires(post): %fillup_prereq Requires(postun): %insserv_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -88,6 +87,7 @@ %files %defattr(-,root,root,-) %config /etc/init.d/postgresql +%dir %fwdir %config %fwdir/%fwname /var/adm/fillup-templates/sysconfig.postgresql /usr/sbin/rcpostgresql -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2013-09-14 19:09:32 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is postgresql-init Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2013-07-18 16:07:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2013-09-14 19:09:33.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 11 12:27:48 UTC 2013 - m...@suse.com + +- Bump version number to 9.3 to be dependency compatible with the + latest PostgreSQL version. + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.q614io/_old 2013-09-14 19:09:33.0 +0200 +++ /var/tmp/diff_new_pack.q614io/_new 2013-09-14 19:09:33.0 +0200 @@ -22,7 +22,7 @@ Group: Productivity/Databases/Servers Name: postgresql-init -Version:9.2 +Version:9.3 Release:0.6.RELEASE12 Source0:postgresql-init Source1:postgresql-sysconfig -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit postgresql-init for openSUSE:Factory
Hello community, here is the log from the commit of package postgresql-init for openSUSE:Factory checked in at 2013-07-18 16:07:31 Comparing /work/SRC/openSUSE:Factory/postgresql-init (Old) and /work/SRC/openSUSE:Factory/.postgresql-init.new (New) Package is postgresql-init Changes: --- /work/SRC/openSUSE:Factory/postgresql-init/postgresql-init.changes 2012-10-22 22:09:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-init.new/postgresql-init.changes 2013-07-18 16:07:32.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 17 09:57:34 UTC 2013 - m...@suse.com + +- ident sameuser was already gone in 8.4. + +--- Other differences: -- ++ postgresql-init.spec ++ --- /var/tmp/diff_new_pack.4QNcgn/_old 2013-07-18 16:07:33.0 +0200 +++ /var/tmp/diff_new_pack.4QNcgn/_new 2013-07-18 16:07:33.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql-init # -# 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 @@ -18,12 +18,12 @@ Url:http://www.postgresql.org/ Summary:Init script and other infrastructure for PostgreSQL +License:PostgreSQL +Group: Productivity/Databases/Servers Name: postgresql-init Version:9.2 Release:0.6.RELEASE12 -License:PostgreSQL -Group: Productivity/Databases/Servers Source0:postgresql-init Source1:postgresql-sysconfig Source2:postgresql-firewall ++ postgresql-init ++ --- /var/tmp/diff_new_pack.4QNcgn/_old 2013-07-18 16:07:33.0 +0200 +++ /var/tmp/diff_new_pack.4QNcgn/_new 2013-07-18 16:07:33.0 +0200 @@ -97,7 +97,7 @@ LANG=${POSTGRES_LANG:-$RC_LANG} INITDB=/usr/bin/initdb V=$(printf %02d%02d $(echo $VERSION|awk -F. '{print $1, $2}')) -AUTH=ident; test $V -lt 0900 AUTH=ident sameuser +AUTH=ident; test $V -lt 0804 AUTH=ident sameuser install -d -o postgres -g postgres -m 700 ${DATADIR} su - postgres -c \ $INITDB --locale=$LANG --auth=\$AUTH\ $DATADIR initlog || -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org