diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-26 19:45:32 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-12-26 19:47:33 +0100 |
commit | a07f283777abd20f1f4396e94008d0ae7971bb8c (patch) | |
tree | 5d2417a622d55e4d0a405e873b6d205b86ac48d2 /community/repmgr | |
parent | 1e51666f62b135f23971736407ded5e73d206c96 (diff) | |
download | aports-a07f283777abd20f1f4396e94008d0ae7971bb8c.tar.bz2 aports-a07f283777abd20f1f4396e94008d0ae7971bb8c.tar.xz |
community/repmgr: upgrade to 5.0.0
Diffstat (limited to 'community/repmgr')
-rw-r--r-- | community/repmgr/APKBUILD | 10 | ||||
-rw-r--r-- | community/repmgr/repmgr.conf.patch | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/community/repmgr/APKBUILD b/community/repmgr/APKBUILD index a08cc0fdcb..4cdba80947 100644 --- a/community/repmgr/APKBUILD +++ b/community/repmgr/APKBUILD @@ -1,19 +1,18 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=repmgr -pkgver=4.2.0 +pkgver=5.0.0 pkgrel=0 pkgdesc="Replication Manager for PostgreSQL" url="http://www.repmgr.org/" arch="all" license="GPL-3.0" depends="postgresql-client" -makedepends="postgresql-dev libxml2-dev libedit-dev" +makedepends="postgresql-dev flex libxml2-dev libedit-dev" pkgusers="postgres" pkggroups="postgres" subpackages="$pkgname-doc $pkgname-daemon" source="$pkgname-$pkgver.tar.gz::https://github.com/2ndQuadrant/$pkgname/archive/v$pkgver.tar.gz - fix-vla.patch::https://github.com/2ndQuadrant/repmgr/commit/a459c60145da09d211671004acba2751e9e8c783.patch repmgr.conf.patch repmgrd.initd " @@ -56,7 +55,6 @@ daemon() { install -D -m 755 "$srcdir"/repmgrd.initd "$subpkgdir"/etc/init.d/repmgrd } -sha512sums="457feeffbde0010d1017603da7a4739284e81f7dfb91c12f2703ebd688bdd53d79c3776d5d8a7efe8ff10799aae8760c1c413418dd6f5b1de125a8fbbef0677c repmgr-4.2.0.tar.gz -9e5bfcf645ecd02531d31f0b2f965cfd0a446c15d01a4380a603a9e6d2e78c21d98f93800debeda129d9dd92806006073bbf29d2f74d9dbef7590acbc94b4e5b fix-vla.patch -1186036f8f3629092d5f03c476104bb04b790b589af1ec7cf0cc00333c694808562cd05c6cd4fdda82861b217d1c55bc08df28e932aeab6ee0c46a1cf155535b repmgr.conf.patch +sha512sums="05d395d470d01b7a28d570c97ff519b8611fe6e653518ae3d7a14b86e1631d906aff22a866ff27ea14eb48531618afc774f2c087dcb6daa2d26534a742abbc14 repmgr-5.0.0.tar.gz +ebf19ac6935968483b6c7a8c8dfdb0c4cd7d3dc83e2b6418731b5a8d2894cb1f79080b85a5a60d886b6b2c0e8020fa1dbf8ec91a0bd0f28c609d2910a71791b4 repmgr.conf.patch d35ff4918f5bbaae58d462b984bd8da09c7847b0ef99783eccf1429c3fb3aaabeedbe99fc17bf82629a3633cf6821108e840774569cb3894c859386d10439a26 repmgrd.initd" diff --git a/community/repmgr/repmgr.conf.patch b/community/repmgr/repmgr.conf.patch index dda30bf9dc..4922ff6e53 100644 --- a/community/repmgr/repmgr.conf.patch +++ b/community/repmgr/repmgr.conf.patch @@ -1,6 +1,6 @@ --- a/repmgr.conf.sample +++ b/repmgr.conf.sample -@@ -328,26 +328,24 @@ +@@ -376,27 +376,25 @@ # If you use sudo, the user repmgr runs as (usually 'postgres') must have # passwordless sudo access to execute the command. # @@ -22,14 +22,16 @@ # # Debian/Ubuntu users: use "sudo pg_ctlcluster" to execute service control commands. # - # For more details, see: https://repmgr.org/docs/4.1/configuration-service-commands.html + # For more details, see: https://repmgr.org/docs/current/configuration-service-commands.html -#service_start_command = '' -#service_stop_command = '' -#service_restart_command = '' +-#service_reload_command = '' +service_start_command = '/etc/init.d/postgresql start' +service_stop_command = '/etc/init.d/postgresql stop' +service_restart_command = '/etc/init.d/postgresql restart' - #service_reload_command = '' ++service_reload_command = '/etc/init.d/postgresql reload' #service_promote_command = '' # This parameter is intended for systems which provide a # package-level promote command, such as Debian's + # "pg_ctlcluster". *IMPORTANT*: it is *not* a substitute |