Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a7028fd49a
!17 downgrade version to 1.3.2
From: @jianli-97 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2024-02-28 02:35:01 +00:00
jianli-97
4234d26543 downgrade version to 1.3.2 2024-02-28 09:00:57 +08:00
openeuler-ci-bot
2d9d0cd1a1
!16 upgrade version to 1.4.0
From: @duyiwei7w 
Reviewed-by: @jianli-97 
Signed-off-by: @jianli-97
2024-01-05 08:42:09 +00:00
duyiwei
7a5a3065df upgrade version to 1.4.0 2024-01-03 15:44:18 +08:00
openeuler-ci-bot
a095f11b60
!12 upgrade version to 1.3.2 and Fix CVE-2023-46228
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-10-19 08:47:01 +00:00
duyiwei
2310ea0ca8 upgrade version to 1.3.2 and Fix CVE-2023-46228 2023-10-19 16:09:11 +08:00
openeuler-ci-bot
40655535ae
!10 Specification NestOS Project Component Description File
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-06-21 06:59:54 +00:00
duyiwei
fa3f546620
Specification NestOS Project Component Description File
Signed-off-by: duyiwei <duyiwei@kylinos.cn>
2023-06-21 05:50:23 +00:00
openeuler-ci-bot
ae2247a2ee
!7 upgrade version to 1.3.1
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-05-30 08:39:36 +00:00
duyiwei
db88a00a7b upgrade version to 1.3.1 2023-05-30 11:37:40 +08:00
4 changed files with 53 additions and 17 deletions

View File

@ -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

Binary file not shown.

View File

@ -1,8 +1,8 @@
Name: zchunk
Version: 1.2.3
Version: 1.3.2
Release: 1
Summary: Compressed file format that allows easy deltas
License: BSD-2-Clause
License: BSD-2-Clause AND MIT
URL: https://github.com/zchunk/zchunk
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
@ -72,6 +72,18 @@ install contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictio
%{_includedir}/zck.h
%changelog
* Wed Feb 28 2024 lijian <lijian2@kylinos.cn> - 1.3.2-1
- downgrade version to 1.3.2
* Wed Jan 03 2024 duyiwei <duyiwei@kylinos.cn> - 1.4.0-1
- upgrade version to 1.4.0
* 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