Commit Graph

570 Commits

Author SHA1 Message Date
Azat Khuzhin
0325203759 d/rules: disable hardening (they were not added in official builds anyway)
After upgrading compat level to 10 (in previous commit to avoid warning
on debian:testing, and this is not just a warning, but the compat level
implicitly changed to 10), hardening became working, since it requires
compat level >= 9 [1]

  [1]: https://wiki.debian.org/Hardening

While hardening for clickhouse builds should not be used, so just
disable them.
2020-12-23 21:50:37 +03:00
Azat Khuzhin
08beb3ad64 d/compat: bump compatibility level to 10
Official CI builds uses ubuntu:20.04, which has the following:
- debhelper: 12.10ubuntu1
- dpkg-dev: 1.19.7ubuntu3 (should not be relevant, but let's keep it)

While debian:testing has:
- debhelper: 13.3
- dpkg: 1.20.5 (should not be relevant, but let's keep it)

In debhelper 13 compat level <= 9 has been deprecated [1], hence the
warning:

    warning: Compatibility levels before 10 are deprecated (level 8 in use)

  [1]: 427594c413

And this is not only warning but also compat level implicitly will be
changed to 10. For now this is only for debian:testing but in future it
will be relevant for newer ubuntu, and hence official builds.
2020-12-23 21:50:24 +03:00
Alexander Kuzmenkov
1b82159ec9
Merge pull request #18348 from ClickHouse/aku/deb-ninja-flags
try to pass ninja flags in deb package
2020-12-23 04:30:52 +03:00
Alexander Kuzmenkov
da2a2e8e26 try to pass ninja flags in deb package 2020-12-22 10:38:39 +03:00
Azat Khuzhin
8883b6125e tests: remove unused configs/scripts
Those configs was used by clickhouse-test-server, that is used for
ctest, but later does not used on CI, and for debian manifets
with_server was excluded.

So remove those configs not to confuse other people.
2020-12-22 01:13:38 +03:00
Ilya Golshtein
fc0a1af214 doc minor changes, cleanup, krb5-user as a recommended package 2020-12-16 14:48:33 +03:00
Azat Khuzhin
af6be3ad5f build: require clang-11/llvm-11 for building debian package in d/control
Now the script that builds debian package handle this, so I guess it has
installed some gcc version, but uses clang to compile, and this produces
new errors in other builds.
2020-12-11 01:32:38 +03:00
Alexey Milovidov
932597e355 Simplify init script: even more 2020-11-26 08:13:45 +03:00
Alexey Milovidov
36151b9e54 Simplify init script (part 2) 2020-11-26 07:54:18 +03:00
robot-clickhouse
dc19fba36f Auto version update to [20.13.1.1] [54444] 2020-11-23 10:29:26 +03:00
robot-clickhouse
f7b7854ace Auto version update to [20.12.1.1] [54443] 2020-11-05 21:52:50 +03:00
alesapin
dc27ad9d53 Add piddir 2020-10-19 15:34:34 +03:00
alesapin
dc728e2feb Missed char 2020-10-19 14:20:27 +03:00
alesapin
422dc1d83f Missed change 2020-10-19 14:08:42 +03:00
alesapin
76a501d7c5 Merge branch 'master' into simplify-init-script 2020-10-19 10:56:40 +03:00
robot-clickhouse
554fa482e6 Auto version update to [20.11.1.1] [54442] 2020-10-10 18:39:58 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 (#15007) 2020-10-02 19:54:07 +03:00
alesapin
0936a3c1f8 Install script for CI 2020-09-24 11:35:16 +03:00
alesapin
bb8a2e1617 Better clickhouse-configs 2020-09-24 11:18:36 +03:00
Azat Khuzhin
79674ea892 Drop python from build dependencies
I don't see where it can be required.
And plus there is no python package in debian:testing anymore, only:
- python2
- python3
So that said that you cannot build debian package on debian:testing
anymore (but debian:stable don't have gcc9 for example).

Everything would be great, if there will be packages for python2, i.e.
python2-lxml, but there isn't, I guess because python2 had been
deprecated long time ago...
So it looks like converting to python3 is coming.

Just for the history, now it is:
- debian:stable -> buster
- debian:testing -> bullseye
2020-09-19 00:20:54 +03:00
Nikolai Kochetov
fdeda8200b Revert debian/rules 2020-09-17 12:52:15 +03:00
robot-clickhouse
8def718661 Auto version update to [20.10.1.1] [54440] 2020-09-08 17:04:41 +03:00
alexey-milovidov
300bdc07b0
Merge pull request #14460 from azat/sysv-init-systemd-compatibility
Proxy restart/start/stop/reload of SysVinit to systemd (if it is used)
2020-09-04 03:05:44 +03:00
Azat Khuzhin
3678d3256a debian/clickhouse-server.init: systemd proxying for restart/start/stop/reload 2020-09-04 00:54:50 +03:00
Azat Khuzhin
b4a1f59ada debian/clickhouse-server.init: remove is_supported_command 2020-09-04 00:43:15 +03:00
Alexey Milovidov
b3addcd5ca Fix error 2020-09-03 02:24:03 +03:00
Alexey Milovidov
443ed33ab3 Less number of threads in builder 2020-09-02 04:26:35 +03:00
robot-clickhouse
e2fa0eae2f Auto version update to [20.9.1.1] [54439] 2020-08-31 23:07:41 +03:00
alexey-milovidov
fc1b112e2b
Update clickhouse-server.init 2020-08-27 21:50:13 +03:00
Alexey Milovidov
f7e93531f8 Simplify init script 2020-08-26 22:53:49 +03:00
Alexey Milovidov
2be48b1560 Fix error 2020-08-24 15:17:05 +03:00
Alexey Milovidov
b64fabc7be More robust 2020-08-24 03:34:35 +03:00
Alexey Milovidov
83f335cc7f Slightly better init script 2020-08-24 03:27:10 +03:00
ylchou
e581b4b15a
passwd and group location error
There is no problem when the user is the same as the group by default. When the user and group are different, there will be a bug here.
2020-08-14 18:14:54 +08:00
robot-clickhouse
a82c0f5371 Auto version update to [20.8.1.1] [54438] 2020-08-07 21:45:49 +03:00
Alexey Milovidov
353886c189 Minor changes in Debian scripts 2020-08-01 19:18:59 +03:00
Yatsishin Ilya
99ff6cae27 Merge remote-tracking branch 'origin/master' into rework-integrational 2020-07-28 14:35:51 +03:00
robot-clickhouse
0f23642a3d Auto version update to [20.7.1.1] [54437] 2020-07-13 18:26:03 +03:00
Yatsishin Ilya
a2bba73a91 bump 2020-07-06 14:51:07 +03:00
robot-clickhouse
4bd47b8adc Auto version update to [20.6.1.1] [54436] 2020-06-22 20:40:26 +03:00
Alexey Milovidov
bba0cf6064 Remove dependency on tzdata 2020-06-20 15:31:18 +03:00
Ilya Yatsishin
9dc493e063
Revert "Revert "Allow to build binaries and tests from deb package build. "" 2020-05-21 18:02:52 +03:00
Ilya Yatsishin
cce805c42c
Revert "Allow to build binaries and tests from deb package build. " 2020-05-21 14:50:12 +03:00
Ilya Yatsishin
555087512a
Update debian/rules
Co-authored-by: alesapin <alesapin@gmail.com>
2020-05-20 18:28:44 +03:00
Yatsishin Ilya
d7d70b788d finally fix rules 2020-05-19 15:07:16 +03:00
Yatsishin Ilya
e3c692bc48 fix issues 2020-05-19 10:54:08 +03:00
Yatsishin Ilya
c66d1a03eb set nostrip for build with binaries export 2020-05-19 10:54:08 +03:00
Yatsishin Ilya
d961707512 add targets dependecies to tests 2020-05-19 10:54:08 +03:00
Yatsishin Ilya
8d190f316d wip 2020-05-19 10:54:08 +03:00
alesapin
a014a74e8a Return tzdata 2020-05-14 21:37:13 +03:00
robot-clickhouse
de4e88ff97 Auto version update to [20.5.1.1] [54435] 2020-04-28 20:12:16 +03:00
Alexey Milovidov
beaa686639 Remove dependency 2020-04-22 06:23:10 +03:00
Alexey Milovidov
1bfe312834 Removed leftovers 2020-03-21 19:43:31 +03:00
robot-clickhouse
6a4e022a3b Auto version update to [20.4.1.1] [54434] 2020-03-12 16:07:08 +03:00
proller
6b2d6e9392
Build fixes (#9381)
* Revert "Revert "Build fixes""

This reverts commit 355ff00c2e.

* zlib link fix
2020-02-28 03:07:42 +03:00
robot-clickhouse
473e1eac6f Auto version update to [20.3.1.1] [54433] 2020-02-22 00:35:33 +03:00
alexey-milovidov
355ff00c2e
Revert "Build fixes" 2020-02-16 11:48:01 +03:00
proller
bce3ec2a29 Revert "Revert "Build fixes""
This reverts commit 9e0b40bf09.
2020-02-03 19:46:17 +03:00
alexey-milovidov
9e0b40bf09
Revert "Build fixes" 2020-02-02 23:21:49 +03:00
alexey-milovidov
fefbbc16b3
Trigger CI 2020-01-26 00:00:45 +03:00
proller
289ddcc5a5 Openssl now good 2020-01-21 15:00:46 +03:00
robot-clickhouse
e8e820cfd4 Auto version update to [20.2.1.1] [54432] 2020-01-13 22:21:08 +03:00
alexey-milovidov
5cf8253203
Merge pull request #8591 from ClickHouse/install_script_for_tgz
Install script for tgz package
2020-01-10 16:48:38 +03:00
alesapin
44625faa1f Move from adduser to user add and slightly fix postinst script 2020-01-10 13:19:59 +03:00
alesapin
f05a27c147 Some updates in trash scripts 2020-01-09 15:59:45 +03:00
Zhichang Yu
f56653f43e ensure network be up before staring clickhouse 2020-01-09 10:02:28 +08:00
alexey-milovidov
46b119b69a
Update clickhouse-server.postinst 2019-12-07 21:47:59 +03:00
proller
c183b5455e Debian: Fix mode of default password file 2019-12-07 21:10:00 +03:00
robot-clickhouse
6d56509109 Auto version update to [19.19.1.1] [54430] 2019-12-06 17:22:00 +03:00
robot-clickhouse
94c7719c73 Auto version update to [19.18.1.1] [54429] 2019-11-08 11:36:41 +03:00
robot-clickhouse
7381489d5d Auto version update to [19.17.1.1] [54428] 2019-10-21 15:48:00 +03:00
Amos Bird
56aa191ca5 Make sure dh_clean not touch source files 2019-10-09 04:34:21 +08:00
proller
594c535bd4 Build fixes (#7063)
* Build fixes

*            fix

* Fix

* fix

* Fix install(export..

* Freebsd fixes

* Freebsd fixes

* Fix warning

* fix

* More PRIVATE linking

* Fix review

* Timmy

* fix

* fix
2019-10-05 22:25:31 +03:00
robot-clickhouse
06e1a9d78e Auto version update to [19.16.1.1] [54427] 2019-09-24 14:47:32 +03:00
proller
e7f069c78c fixes 2019-09-17 12:33:46 +00:00
proller
5d08a7b353 Remove gcc-7 from build scripts 2019-09-17 13:37:35 +03:00
robot-clickhouse
04d2bb9cfd Auto version update to [19.15.1.1] [54426] 2019-09-06 17:58:33 +03:00
Alexey Milovidov
60fde1d29e Removed useless statements from debian directory 2019-08-24 15:03:54 +03:00
alexey-milovidov
70a61cc7be
Merge pull request #6609 from dimarub2000/clickhouse_obfuscator_symlink
Clickhouse obfuscator symlink
2019-08-22 22:53:45 +03:00
dimarub2000
fb534bd1ce Added symlink to clickhouse-client package 2019-08-22 14:03:01 +03:00
alexey-milovidov
d765671e7e Support Oracle Linux (#6585) 2019-08-21 17:05:59 +03:00
robot-clickhouse
58e03ad7b9 Auto version update to [19.13.1.1] [54425] 2019-07-23 11:20:52 +03:00
alexey-milovidov
cf73de10c1
Update clickhouse-server.templates 2019-07-20 04:12:29 +03:00
proller
3aaa87171f
Debian post install: remove dot from Password for default user. 2019-07-18 14:55:14 +03:00
robot-clickhouse
f635d2bd9b Auto version update to [19.12.1.1] [54424] 2019-07-10 22:57:53 +03:00
Alexey Milovidov
338c0d27ca Added "os_thread_priority" setting 2019-07-06 21:02:28 +03:00
proller
b2071060f6 clickhouse-server.postinst : fix os detection for centos 6 2019-06-28 16:33:24 +03:00
proller
1bb911f742 release --rpm: Fix redefining version 2019-06-27 18:37:13 +03:00
proller
0bd65f49a2 Better release --rpm 2019-06-27 17:12:53 +03:00
proller
3149b57100
release script: convert .deb to .rpm and .tgz (#5740) 2019-06-25 16:55:31 +03:00
chertus
29700fd5e9 Auto version update to [19.11.0] [54423] 2019-06-21 18:47:02 +03:00
robot-clickhouse
9cd889c9dd Auto version update to [19.10.1.1] [54422] 2019-06-14 17:04:15 +03:00
proller
a063517091
CLICKHOUSE-3887 Debian init: Service stop timeout (#5522) 2019-06-04 16:03:22 +03:00
proller
88f3a48afa
Fixes for parallel test run (#5506) 2019-06-03 20:36:27 +03:00
robot-clickhouse
1ecc430335 Auto version update to [19.9.1.1] [54421] 2019-05-28 13:52:55 +03:00
proller
d6a90b6079
Build fixes (#5368) 2019-05-22 13:16:16 +03:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
proller
5b28a86930 Add comment 2019-05-09 12:03:06 +03:00
proller
bf5a2a60c9 fix 2019-05-06 16:24:22 +03:00
proller
0e0a0f6ee6 CLICKHOUSE-4511 Fix forcerestart with systemd 2019-05-06 15:12:18 +03:00