diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-09-07 01:59:29 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-07 08:38:58 +0000 |
commit | e7f689f49289edd2d2cfc035b5fbf5ee6bb0d803 (patch) | |
tree | 87fbbe888488c61a8526ce022d21deafa5c01529 /main/slony1 | |
parent | c739761c10a8bc087f03fa2e6cc0639c973bc365 (diff) | |
download | aports-e7f689f49289edd2d2cfc035b5fbf5ee6bb0d803.tar.bz2 aports-e7f689f49289edd2d2cfc035b5fbf5ee6bb0d803.tar.xz |
main/slony1: upgrade to 2.2.6, modernize
[TT: modernize]
Diffstat (limited to 'main/slony1')
-rw-r--r-- | main/slony1/APKBUILD | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/main/slony1/APKBUILD b/main/slony1/APKBUILD index 28e677034d..0d6f52addb 100644 --- a/main/slony1/APKBUILD +++ b/main/slony1/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=slony1 -pkgver=2.2.5 +pkgver=2.2.6 pkgrel=0 pkgdesc="A master to multiple slaves replication system for PostgreSQL" url="http://slony.info/" @@ -21,8 +21,8 @@ source="http://main.slony.info/downloads/${pkgver%.*}/source/slony1-$pkgver.tar. builddir="$srcdir"/slony1-$pkgver prepare() { - default_prepare || return 1 - update_config_guess || return 1 + default_prepare + update_config_guess } build() { @@ -32,31 +32,19 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --with-pgpkglibdir=/usr/lib/postgresql \ - || return 1 - make || return 1 + --with-pgpkglibdir=/usr/lib/postgresql + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 share/slon.conf-sample "$pkgdir"/etc/slon.conf \ - || return 1 - install -Dm755 "$srcdir"/slony1.initd "$pkgdir"/etc/init.d/slony1 \ - || return 1 - install -Dm644 "$srcdir"/slony1.confd "$pkgdir"/etc/conf.d/slony1 \ - || return 1 + make DESTDIR="$pkgdir" install + install -Dm644 share/slon.conf-sample "$pkgdir"/etc/slon.conf + install -Dm755 "$srcdir"/slony1.initd "$pkgdir"/etc/init.d/slony1 + install -Dm644 "$srcdir"/slony1.confd "$pkgdir"/etc/conf.d/slony1 } -md5sums="f12352a961ac1f8df6773ebdd012d142 slony1-2.2.5.tar.bz2 -a6b6d8bf22f3c371eef7b1b5a1dbb0dd slony1.initd -fb7dd8cf6a4feb1542db60fe5e5e6c2d slony1.confd -59affb1baef8ec9cbf4b69b2538f26a6 default-config.patch" -sha256sums="6f6dbd9619c615ed68bf6341a8158e42fc0adf6f5b609e6f8e4a0a0e37815241 slony1-2.2.5.tar.bz2 -95ef121af49d444883c34e27fab9cb706647b8e80da9c8f94acb69712cad94e5 slony1.initd -69b46dc76eabd7fd7e2bd2d6816da9ed6438a56c0bcfb4541786947705cb3851 slony1.confd -07cbc82c4f534fb66eebc27f4006b56f179be14f382e3830d023f822e160577f default-config.patch" -sha512sums="06c5d8c136b1560aa6a3b1b7bfbad09fb6bbff7e3c530ceaf0279d4564dd1518c69647368deac9eb19ea5059a2d78fef26f62bd34315f5f3415ca0f5cb0992aa slony1-2.2.5.tar.bz2 +sha512sums="5aeadb9ed72b83d303596e4f8513409a1f826f25fe283ca6aa969a7563172bbc5f5360f876fa87780f6a6fc70cb55688a2daf678b9cf91972a3c403cb76184b8 slony1-2.2.6.tar.bz2 0281cb197db53cf5c3c6aca3bcc1d7010127fe2a7bbb36d48a9c044311d65e0ffaf0f6b83a0100e1ec0f442bc4614b1d6726b8589f779f36d7369594b956b794 slony1.initd 474fe25e49cd88a705911255d127417dabf9ba675aa67faad336dc419f19ea7416d48e84d26b03b63cec74524383b132439640b715c54fbd22389468342f0e4b slony1.confd fa74f013e595faaa801375c41516c23801a4811ac5993a08da1d595550f8fa6fc092c1b7ffd769cd8c9118eb71f3029b0ef1bd24ec502f240512ee97f82ed028 default-config.patch" |