From 22345bc5f8f94b6621b97840dcf4204bb2e8a67c9f5366b4c821a1dca0fcf531 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 24 Oct 2018 13:56:43 +0000 Subject: [PATCH 01/13] 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 --- postgresql.changes | 5 +++++ postgresql.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/postgresql.changes b/postgresql.changes index ff928b2..cb3ed96 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 2 17:08:32 UTC 2018 - mrueckert@suse.de + +- bump to 11 + ------------------------------------------------------------------- Mon Apr 30 13:26:49 UTC 2018 - dimstar@opensuse.org diff --git a/postgresql.spec b/postgresql.spec index 81a00db..2b6310c 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -32,7 +32,7 @@ Name: postgresql 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 From 84c15fc1669d1478de3fc0f7f2f4940363f874135e16176baea74f1ed8bc6cd6 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 25 Oct 2018 13:15:53 +0000 Subject: [PATCH 02/13] - 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 --- postgresql.changes | 6 ++++++ postgresql.spec | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/postgresql.changes b/postgresql.changes index cb3ed96..b1a252f 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 - mrueckert@suse.de diff --git a/postgresql.spec b/postgresql.spec index 2b6310c..7948004 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -102,6 +102,41 @@ This package includes the programs needed to create and run a 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 postgresql%pgmajor-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 + +%description llvmjit +PostgreSQL is an advanced object-relational database management system +that supports an extended subset of the SQL standard, including +transactions, foreign keys, sub-queries, triggers, and user-defined +types and functions. + +This package contains support for just-in-time compiling parts of +PostgreSQL queries. Using LLVM it compiles e.g. expressions and tuple +deforming into native code, with the goal of accelerating analytics +queries. + %package test Summary: The test suite for PostgreSQL Group: Productivity/Databases/Servers From f8af2b0a17074786abd0abf2584130c3280d74188c4429485fa4e4c446679662 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 7 Nov 2018 17:01:11 +0000 Subject: [PATCH 03/13] 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 --- postgresql.changes | 5 +++++ postgresql.spec | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/postgresql.changes b/postgresql.changes index b1a252f..a2ac934 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/postgresql.spec b/postgresql.spec index 7948004..85e5135 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -402,6 +402,14 @@ fi %defattr(-,root,root,-) %doc README +%files server-devel +%defattr(-,root,root,-) +%doc README + +%files llvmjit +%defattr(-,root,root,-) +%doc README + %files plperl %defattr(-,root,root,-) %doc README From cac213e51b3f3752934ee8a8b6d01faac7e37d57d11a0c6b266ac4cdff05390e Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 15 Nov 2018 14:35:10 +0000 Subject: [PATCH 04/13] - Also bump the default package to 11. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=106 --- postgresql.changes | 5 +++++ postgresql.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/postgresql.changes b/postgresql.changes index a2ac934..fca8e10 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/postgresql.spec b/postgresql.spec index 85e5135..ee1b209 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -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} From afec6e157ecf0c3d303f85e18c36bfa2f7880e163012cbffbd219ec243fa05d1 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 30 Nov 2018 11:05:16 +0000 Subject: [PATCH 05/13] - 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 --- postgresql.changes | 5 +++++ postgresql.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/postgresql.changes b/postgresql.changes index fca8e10..eb04f75 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/postgresql.spec b/postgresql.spec index ee1b209..61a18db 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -117,7 +117,7 @@ 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 postgresql%pgmajor-devel package. +applications, see the %defaultpackage-devel package. %package llvmjit Summary: Just-in-time compilation support for PostgreSQL From e02a7c160475733749dbb937dd01883649909480b7d8bd2889cf511bb8d3d744 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 4 Dec 2018 15:17:50 +0000 Subject: [PATCH 06/13] 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 --- postgresql.changes | 6 ++++++ postgresql.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/postgresql.changes b/postgresql.changes index eb04f75..77cdf3e 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/postgresql.spec b/postgresql.spec index 61a18db..afd1e5d 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -268,6 +268,7 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL %install mkdir -p %buildroot/var/lib/pgsql/ +mkdir -p %buildroot/var/run/postgresql install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile install -m755 -d %buildroot%{_fillupdir} @@ -382,8 +383,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script +%ghost %dir %attr(1777,root,root) /var/run/postgresql %else %config /etc/init.d/postgresql +%dir %attr(1777,root,root) /var/run/postgresql %endif %files test From c56829af4312433d139eaa16032492185b2ed06244f67bfbd465183240875f13 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 31 Jan 2019 13:50:51 +0000 Subject: [PATCH 07/13] - 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 --- postgresql-tmpfiles.conf | 3 ++- postgresql.changes | 9 +++++++++ postgresql.spec | 9 +++++---- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index ea21c99..192ae9d 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,2 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /var/run/postgresql 1777 root root - +d /run/postgresql 0755 postgres postgres - +f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile diff --git a/postgresql.changes b/postgresql.changes index 77cdf3e..c9cdf95 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max + +- 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. + ------------------------------------------------------------------- Fri Nov 30 13:14:40 UTC 2018 - Marcus Rueckert diff --git a/postgresql.spec b/postgresql.spec index afd1e5d..b10085f 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -269,7 +269,6 @@ echo "This is a dummy package to provide a dependency on the default PostgreSQL %install mkdir -p %buildroot/var/lib/pgsql/ mkdir -p %buildroot/var/run/postgresql -install -m640 %{SOURCE5} %buildroot/var/lib/pgsql/.bash_profile install -m755 -d %buildroot%{_fillupdir} install -m644 %{S:1} %buildroot%{_fillupdir}/sysconfig.postgresql @@ -280,6 +279,7 @@ install -m644 %{S:2} %buildroot%fwdir/%fwname 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} @@ -370,7 +370,8 @@ fi %defattr(-,root,root,-) %doc README %attr(750,postgres,postgres) %dir /var/lib/pgsql -%attr(640,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile +%attr(644,root,root) /usr/share/postgresql/bash_profile +%ghost %config %attr(640,postgres,postgres) /var/lib/pgsql/.bash_profile %if 0%{?suse_version} > 1110 %dir %fwdir @@ -383,10 +384,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script -%ghost %dir %attr(1777,root,root) /var/run/postgresql +%ghost %dir %attr(0755,postgres,postgres) /run/postgresql %else %config /etc/init.d/postgresql -%dir %attr(1777,root,root) /var/run/postgresql +%dir %attr(0755,postgres,postgres) /var/run/postgresql %endif %files test From cc93967c99603b9f8df9c8aed852f33d5a96b31c8c74f68da86a75ac5cde5456 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 31 Jan 2019 15:24:22 +0000 Subject: [PATCH 08/13] Revert ownership change OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=110 --- postgresql-tmpfiles.conf | 2 +- postgresql.changes | 1 - postgresql.spec | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index 192ae9d..e63a3a3 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,3 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /run/postgresql 0755 postgres postgres - +d /run/postgresql 1755 root root - f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile diff --git a/postgresql.changes b/postgresql.changes index c9cdf95..4ceb394 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -3,7 +3,6 @@ Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max - 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. diff --git a/postgresql.spec b/postgresql.spec index b10085f..b0546e5 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -384,10 +384,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script -%ghost %dir %attr(0755,postgres,postgres) /run/postgresql +%ghost %dir %attr(1777,root,root) /run/postgresql %else %config /etc/init.d/postgresql -%dir %attr(0755,postgres,postgres) /var/run/postgresql +%dir %attr(1777,root,root) /var/run/postgresql %endif %files test From d7b06dcf6d60f2c46649ad8fbbab64ae5a150d3685ee24b37489c4554e7d9169 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 31 Jan 2019 15:26:11 +0000 Subject: [PATCH 09/13] complete the reversion OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=111 --- postgresql-tmpfiles.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index e63a3a3..2dab962 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,3 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /run/postgresql 1755 root root - +d /run/postgresql 1777 root root - f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile From f432e6cc8e873561da3cded4001cb0dfad29cabef7b9c9a60ec9b1a94d613f0d Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Thu, 7 Feb 2019 16:19:23 +0000 Subject: [PATCH 10/13] Fix syntax error in postgresql-tmpfiles.conf OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=112 --- postgresql-tmpfiles.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index 2dab962..79f40f8 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,3 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /run/postgresql 1777 root root - -f /var/lib/pgsql/.bash_profile 0640 postgres postgres /usr/share/postgresql/bash_profile +d /run/postgresql 1777 root root - - +f /var/lib/pgsql/.bash_profile 0640 postgres postgres - /usr/share/postgresql/bash_profile From 45b893abc9ea84e4c5a59a0519da944fd62097d419b35c05915fbb06277928b4 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 19 Feb 2019 16:10:28 +0000 Subject: [PATCH 11/13] - 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 --- postgresql-tmpfiles.conf | 2 +- postgresql.changes | 9 +++++++++ postgresql.spec | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/postgresql-tmpfiles.conf b/postgresql-tmpfiles.conf index 79f40f8..77b0953 100644 --- a/postgresql-tmpfiles.conf +++ b/postgresql-tmpfiles.conf @@ -1,3 +1,3 @@ # For the PostgreSQL server's unix domain socket -d /run/postgresql 1777 root root - - +d /run/postgresql 1775 postgres postgres - - f /var/lib/pgsql/.bash_profile 0640 postgres postgres - /usr/share/postgresql/bash_profile diff --git a/postgresql.changes b/postgresql.changes index 4ceb394..b9ac542 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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. + 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. + ------------------------------------------------------------------- Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max diff --git a/postgresql.spec b/postgresql.spec index b0546e5..28dcd2e 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -384,10 +384,10 @@ fi %_tmpfilesdir/postgresql.conf %_unitdir/ /usr/share/postgresql/postgresql-script -%ghost %dir %attr(1777,root,root) /run/postgresql +%ghost %dir %attr(1775,root,root) /run/postgresql %else %config /etc/init.d/postgresql -%dir %attr(1777,root,root) /var/run/postgresql +%dir %attr(1775,root,root) /var/run/postgresql %endif %files test From affb1eeb43b3fa4025cec9ceb0b70df595ffb2a7413bb6858dd26f2649dcc6a1 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 25 Feb 2019 15:03:17 +0000 Subject: [PATCH 12/13] 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 --- postgresql.changes | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/postgresql.changes b/postgresql.changes index b9ac542..9e040e0 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -2,10 +2,8 @@ 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. - 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. + the directory can only be used by users in the postgres group + (bsc#1123886). ------------------------------------------------------------------- Thu Jan 31 13:23:56 UTC 2019 - Reinhard Max From 06cfbc3462c1afaac55b29b56290aea2536c62c68d15a39c6c9cbb0911213b1a Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 25 Feb 2019 15:10:48 +0000 Subject: [PATCH 13/13] 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 --- postgresql.changes | 12 ++++++++++++ postgresql.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/postgresql.changes b/postgresql.changes index 9e040e0..74ff649 100644 --- a/postgresql.changes +++ b/postgresql.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 diff --git a/postgresql.spec b/postgresql.spec index 28dcd2e..058310e 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -312,7 +312,7 @@ getent passwd postgres > /dev/null || # Save the "enabled" and "active" state across the transition of # ownership of postgresql.service from postgresql-init to # postgresql-server. -if [ "$FIRST_ARG" -ge 1 ]; then \ +if [ $1 -ge 1 ]; then \ if [ x$(systemctl is-enabled postgresql.service 2>/dev/null ||:) = "xenabled" ]; then touch %eflag fi