Compare commits
12 Commits
a7a8af1ab5
...
d1179680f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1179680f5 | ||
|
|
5f693f6fb1 | ||
|
|
5eb63d366d | ||
|
|
d8683b1539 | ||
|
|
6c135e7450 | ||
|
|
4a70cf603f | ||
|
|
46b915dd83 | ||
|
|
6f13abf66b | ||
|
|
9c078ac76e | ||
|
|
89b87fc979 | ||
|
|
36e9d7525a | ||
|
|
775067a549 |
54
README.md
54
README.md
@ -1,30 +1,54 @@
|
||||
# zchunk
|
||||
|
||||
#### 介绍
|
||||
zchunk is a compressed file format that splits the file into independent chunks.
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
zchunk 是一种压缩文件格式,专为高效增量而设计,同时保持良好的压缩性能,可将文件拆分为独立的块。 这允许在下载文件的新版本时仅下载更改的块。zchunk 文件受到强校验和的保护,以验证下载的文件实际上是想要的文件。
|
||||
zchunk is a compressed file format that splits the file into independent chunks. This allows you to only download changed chunks when downloading a new version of the file. Files can hosted on any web server that supports HTTP ranged requests, with no special software required to serve the files (though to download only the changed chunks, your client must be zchunk-aware).
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
Install zchunk rpm package:
|
||||
|
||||
yum install zchunk
|
||||
|
||||
|
||||
要从源码构建和安装 zchunk,首先安装 meson 并运行
|
||||
meson build
|
||||
cd build
|
||||
ninja
|
||||
ninja test
|
||||
sudo ninja install
|
||||
|
||||
|
||||
如果正在构建一些库存储在 /usr/local 中的操作系统,则需要替换上面的 meson build,如下所示:
|
||||
CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib meson build
|
||||
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
To decompress a zchunk file, simply run:
|
||||
|
||||
unzck <filename>
|
||||
|
||||
To compress a new zchunk file, run:
|
||||
|
||||
zck <filename>
|
||||
|
||||
To download a zchunk file, run:
|
||||
|
||||
zckdl -s <source> <url of target>
|
||||
|
||||
To read a zchunk header, run:
|
||||
|
||||
zck_read_header <file>
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
master分支使用最新的上游版本,如果检测到上游有最新版本发布,先形成issue后再提交对应PR更新,流程如下。
|
||||
1. 提交issue
|
||||
2. Fork 本仓库
|
||||
3. 新建 Feat_xxx 分支
|
||||
4. 提交代码
|
||||
5. 新建 Pull Request
|
||||
|
||||
|
||||
#### 特技
|
||||
|
||||
Binary file not shown.
BIN
zchunk-1.3.2.tar.gz
Normal file
BIN
zchunk-1.3.2.tar.gz
Normal file
Binary file not shown.
19
zchunk.spec
19
zchunk.spec
@ -1,8 +1,8 @@
|
||||
Name: zchunk
|
||||
Version: 1.1.15
|
||||
Version: 1.3.2
|
||||
Release: 1
|
||||
Summary: Compressed file format that allows easy deltas
|
||||
License: BSD-2
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/zchunk/zchunk
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
@ -72,5 +72,20 @@ install contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictio
|
||||
%{_includedir}/zck.h
|
||||
|
||||
%changelog
|
||||
* Thu Oct 19 2023 duyiwei <duyiwei@kylinos.cn> - 1.3.2-1
|
||||
- upgrade version to 1.3.2 and Fix CVE-2023-46228
|
||||
|
||||
* Tue May 30 2023 duyiwei <duyiwei@kylinos.cn> - 1.3.1-1
|
||||
- upgrade version to 1.3.1
|
||||
|
||||
* Mon Nov 07 2022 duyiwei <duyiwei@kylinos.cn> - 1.2.3-1
|
||||
- upgrade version to 1.2.3
|
||||
|
||||
* Fri Jul 29 2022 liukuo <liukuo@kylinos.cn> - 1.2.1-2
|
||||
- License compliance rectification
|
||||
|
||||
* Wed Apr 20 2022 duyiwei <duyiwei@kylinos.cn> - 1.2.1-1
|
||||
- upgrade to 1.2.1
|
||||
|
||||
* Wed Jan 5 2022 duyiwei <duyiwei@kylinos.cn> - 1.1.15-1
|
||||
- Package init
|
||||
|
||||
4
zchunk.yaml
Normal file
4
zchunk.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: zchunk/zchunk
|
||||
tag_prefix: ""
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user