upgpkg: clickhouse 21.8.11.4-1

This commit is contained in:
Yiyang Kang 2021-11-23 15:06:02 +08:00
parent 976a474f1a
commit e21ca40e16
3 changed files with 26 additions and 34 deletions

View File

@ -1,27 +1,28 @@
pkgbase = clickhouse-lts
pkgdesc = An open-source column-oriented database management system that allows generating analytical data reports in real time. LTS version
pkgver = 21.3.9.83
pkgbase = clickhouse-lts-218
pkgdesc = An open-source column-oriented database management system that allows generating analytical data reports in real time. LTS version 21.8
pkgver = 21.8.11.4
pkgrel = 1
url = https://clickhouse.tech/
install = clickhouse-lts.install
url = https://clickhouse.com/
install = clickhouse-lts-218.install
arch = x86_64
license = Apache
depends = tzdata
depends = libcap
provides = clickhouse
provides = clickhouse-lts
conflicts = clickhouse
noextract = clickhouse-common-static_21.3.9.83_amd64.deb
noextract = clickhouse-client_21.3.9.83_all.deb
noextract = clickhouse-server_21.3.9.83_all.deb
conflicts = clickhouse-lts
noextract = clickhouse-common-static_21.8.11.4_amd64.deb
noextract = clickhouse-client_21.8.11.4_all.deb
noextract = clickhouse-server_21.8.11.4_all.deb
backup = etc/clickhouse-client/config.xml
backup = etc/clickhouse-server/config.xml
backup = etc/clickhouse-server/users.xml
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-client_21.3.9.83_all.deb
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-common-static_21.3.9.83_amd64.deb
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-server_21.3.9.83_all.deb
sha256sums = 9a44566e8238028c5bad71190796667a09de6aac38d58eced095c6762afd7cc3
sha256sums = 5b1afd18fcddd681255797e46dd17520d137d77d21d0543ef9bc588487a3fc0e
sha256sums = 63137b9c6e094f7548dc3221b739d06df11d9c7ae3da59773c61cfb7063cdecb
pkgname = clickhouse-lts
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-client_21.8.11.4_all.deb
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-common-static_21.8.11.4_amd64.deb
source = https://repo.clickhouse.tech/deb/lts/main/clickhouse-server_21.8.11.4_all.deb
sha256sums = 2ef6caee04929924c3678610c368685fa203b2f66f72d6dd2c0b4de55fc689cc
sha256sums = 2dff645ae7b8266a8c1fd80af9b7d17f62435b08db6fb7422e845edb4e78b032
sha256sums = 00c0db12c24e90c342f294848aa2e182118b97f614361344c77b2f5903e8d083
pkgname = clickhouse-lts-218

View File

@ -1,15 +1,15 @@
# Maintainer: Mikhail f. Shiryaev <mr dot felixoid at gmail dot com>
pkgname=clickhouse-lts
pkgver=21.3.9.83
pkgname=clickhouse-lts-218
pkgver=21.8.11.4
pkgrel=1
pkgdesc='An open-source column-oriented database management system that allows generating analytical data reports in real time. LTS version'
pkgdesc='An open-source column-oriented database management system that allows generating analytical data reports in real time. LTS version 21.8'
arch=('x86_64')
url='https://clickhouse.tech/'
url='https://clickhouse.com/'
license=('Apache')
depends=('tzdata' 'libcap')
provides=(clickhouse)
conflicts=(clickhouse)
provides=(clickhouse clickhouse-lts)
conflicts=(clickhouse clickhouse-lts)
noextract=(
clickhouse-common-static_${pkgver}_amd64.deb
clickhouse-client_${pkgver}_all.deb
@ -21,9 +21,9 @@ source=(
https://repo.clickhouse.tech/deb/lts/main/clickhouse-server_${pkgver}_all.deb
)
sha256sums=(
9a44566e8238028c5bad71190796667a09de6aac38d58eced095c6762afd7cc3
5b1afd18fcddd681255797e46dd17520d137d77d21d0543ef9bc588487a3fc0e
63137b9c6e094f7548dc3221b739d06df11d9c7ae3da59773c61cfb7063cdecb
2ef6caee04929924c3678610c368685fa203b2f66f72d6dd2c0b4de55fc689cc
2dff645ae7b8266a8c1fd80af9b7d17f62435b08db6fb7422e845edb4e78b032
00c0db12c24e90c342f294848aa2e182118b97f614361344c77b2f5903e8d083
)
install=$pkgname.install
backup=(

View File

@ -7,12 +7,3 @@ post_install() {
chown clickhouse:clickhouse -R /var/lib/clickhouse /var/log/clickhouse-server
ldconfig
}
post_remove() {
if getent passwd clickhouse &>/dev/null; then
userdel clickhouse
fi
if getent group clickhouse &>/dev/null; then
groupdel clickhouse
fi
}