diff --git a/postgresql-11.yaml b/postgresql-11.yaml index cf686a1e7da..8fec74a775d 100644 --- a/postgresql-11.yaml +++ b/postgresql-11.yaml @@ -1,7 +1,7 @@ package: name: postgresql-11 version: "11.20" - epoch: 0 + epoch: 1 description: A sophisticated object-relational DBMS copyright: - license: BSD @@ -45,6 +45,11 @@ pipeline: - uses: autoconf/make-install + # the official postgres image listens on all interfaces by default, let's do the same for consistency + - runs: | + sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + grep -F "listen_addresses = '*'" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + - uses: strip subpackages: diff --git a/postgresql-12.yaml b/postgresql-12.yaml index 3bcfcd84aff..a2395df1b9e 100644 --- a/postgresql-12.yaml +++ b/postgresql-12.yaml @@ -1,7 +1,7 @@ package: name: postgresql-12 version: "12.15" - epoch: 0 + epoch: 1 description: A sophisticated object-relational DBMS copyright: - license: BSD @@ -45,6 +45,11 @@ pipeline: - uses: autoconf/make-install + # the official postgres image listens on all interfaces by default, let's do the same for consistency + - runs: | + sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + grep -F "listen_addresses = '*'" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + - uses: strip subpackages: diff --git a/postgresql-13.yaml b/postgresql-13.yaml index 2aadca8ac13..b0377e55e81 100644 --- a/postgresql-13.yaml +++ b/postgresql-13.yaml @@ -1,7 +1,7 @@ package: name: postgresql-13 version: "13.11" - epoch: 0 + epoch: 1 description: A sophisticated object-relational DBMS copyright: - license: BSD @@ -45,6 +45,11 @@ pipeline: - uses: autoconf/make-install + # the official postgres image listens on all interfaces by default, let's do the same for consistency + - runs: | + sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + grep -F "listen_addresses = '*'" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + - uses: strip subpackages: diff --git a/postgresql-14.yaml b/postgresql-14.yaml index 8a44978ac92..1808fef10e6 100644 --- a/postgresql-14.yaml +++ b/postgresql-14.yaml @@ -1,7 +1,7 @@ package: name: postgresql-14 version: "14.8" - epoch: 0 + epoch: 1 description: A sophisticated object-relational DBMS copyright: - license: BSD @@ -45,6 +45,11 @@ pipeline: - uses: autoconf/make-install + # the official postgres image listens on all interfaces by default, let's do the same for consistency + - runs: | + sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + grep -F "listen_addresses = '*'" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + - uses: strip subpackages: diff --git a/postgresql-15.yaml b/postgresql-15.yaml index 27a5e1629b0..1cc3626716b 100644 --- a/postgresql-15.yaml +++ b/postgresql-15.yaml @@ -1,7 +1,7 @@ package: name: postgresql-15 version: "15.3" - epoch: 0 + epoch: 1 description: A sophisticated object-relational DBMS copyright: - license: BSD @@ -41,6 +41,11 @@ pipeline: - uses: autoconf/make-install + # the official postgres image listens on all interfaces by default, let's do the same for consistency + - runs: | + sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + grep -F "listen_addresses = '*'" ${{targets.destdir}}/usr/share/postgresql/postgresql.conf.sample + - uses: strip subpackages: