aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Pirogov <vbnet.ru@gmail.com>2020-06-17 16:51:01 +0300
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 07:36:41 +0000
commitc5c5df06885d8281add2c5fe79598748440f16b1 (patch)
tree4e92b183443c2b22be5b04e728118533803123bb
parentd4e1e0bbd5bd5481e1383e881e9e4d0f97ff7dfd (diff)
downloadaports-c5c5df06885d8281add2c5fe79598748440f16b1.tar.gz
aports-c5c5df06885d8281add2c5fe79598748440f16b1.tar.bz2
aports-c5c5df06885d8281add2c5fe79598748440f16b1.tar.xz
testing/cockroach: upgrade to 20.1.1
-rw-r--r--testing/cockroach/APKBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/testing/cockroach/APKBUILD b/testing/cockroach/APKBUILD
index 43bb422e3e..5067f9e124 100644
--- a/testing/cockroach/APKBUILD
+++ b/testing/cockroach/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Contributor: Joe Holden <jwh@zorins.us>
# Maintainer: Joe Holden <jwh@zorins.us>
pkgname=cockroach
-pkgver=19.1.3
-pkgrel=1
+pkgver=20.1.1
+pkgrel=0
pkgdesc="The open source, cloud-native SQL database."
url="https://cockroachlabs.com"
arch="x86_64 aarch64"
@@ -13,29 +14,26 @@ pkgusers="cockroach"
pkggroups="cockroach"
subpackages="$pkgname-openrc"
options="!check" # tests are broken
-source="${pkgname}-v${pkgver}.tar.gz::https://binaries.cockroachdb.com/${pkgname}-v${pkgver}.src.tgz
+source="$pkgname-v$pkgver.tar.gz::https://binaries.cockroachdb.com/cockroach-v$pkgver.src.tgz
cockroach.initd
cockroach.confd
01_no_githooks.patch"
-builddir=${srcdir}/${pkgname}-v${pkgver}
+builddir=$srcdir/$pkgname-v$pkgver
# Fails with a permission denied error on some builders without this.
export GO111MODULE=off
build() {
- local flags="-D_BSD_SOURCE -Wno-format"
- make CXXFLAGS="$flags -Wno-deprecated-copy -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds" \
- CFLAGS="$flags" \
- TAGS="stdmalloc" BUILDTYPE="release" buildoss
+ make TAGS="stdmalloc" BUILDTYPE="release" buildoss
}
package() {
- install -m755 -D ${srcdir}/${pkgname}.initd ${pkgdir}/etc/init.d/${pkgname}
- install -m644 -D ${srcdir}/${pkgname}.confd ${pkgdir}/etc/conf.d/${pkgname}
- install -m755 -o ${pkgusers} -g ${pkggroups} -D src/github.com/cockroachdb/${pkgname}/${pkgname}oss ${pkgdir}/usr/sbin/${pkgname}
+ install -m755 -D $srcdir/$pkgname.initd $pkgdir/etc/init.d/$pkgname
+ install -m644 -D $srcdir/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
+ install -m755 -o $pkgusers -g $pkggroups -D src/github.com/cockroachdb/$pkgname/${pkgname}oss $pkgdir/usr/sbin/$pkgname
}
-sha512sums="acb44e9f340b90eda1575318c1099e5ccc5ed8fbfec40399c2d0349b30c91abee732c079c81391a6372985cd671305f9bf5e0ae5a6b470ec24f44683ade35b6c cockroach-v19.1.3.tar.gz
+sha512sums="cf1b2090e67b0fcc8b1f77458be06871965428c40c815393678ab64548cdbc54d5088a151fea63d25f9e3fcaeeeeff7ff5aae57bbad72a74841d8041535523ec cockroach-v20.1.1.tar.gz
94264601b5b8516d87072017d40ba293d17320c706ad7a2e3c49f1af2b1030071e33cf3353adce26c634d284d0be4e41f2f9a9749c5071e9f0921ed03429f4cf cockroach.initd
7039d17eb3c251d941bc73af2264c9618b59f8301165764371bf1539c46366d35496b2c00ea134731fd1ca9a0b362f9ba331b03aa62339f75e14504af9eb44f9 cockroach.confd
fe611479ba32a01a1ee7770170c54570cb4ac558fb756c44c90f9e31d59a5da74af81adf1e100e723d3956aea96748955919e5b000ee91d8f8fcb26cc678556f 01_no_githooks.patch"