1 Star 0 Fork 11

孟文华/protobuf-c

forked from src-openEuler/protobuf-c 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
protobuf-c.spec 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
孟文华 提交于 2023-01-05 19:33 . fix unsigned integer overflow
Name: protobuf-c
Version: 1.4.0
Release: 4
Summary: This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format
License: BSD-2-Clause
URL: https://github.com/protobuf-c/protobuf-c
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
#https://github.com/protobuf-c/protobuf-c/pull/508/files
Patch0001: CVE-2022-33070.patch
BuildRequires: autoconf automake libtool gcc-c++ pkgconfig(protobuf)
Provides: %{name}-compiler = %{version}-%{release}
Obsoletes: %{name}-compiler < %{version}-%{release}
Patch6000: backport-0001-Fix-issue-499-unsigned-integer-overflow.patch
Patch6001: backport-0002-Fix-regression-with-zero-length-messages-introduced-.patch
%description
This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format.
%package devel
Summary: Development files for protobuf-c library
Requires: %{name} = %{version}-%{release} %{name}-compiler = %{version}-%{release}
%description devel
Protobuf-c-devel contains development files for protobuf-c.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ifv
%configure --disable-static
%make_build
%check
make check
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%doc TODO LICENSE ChangeLog
%{_libdir}/libprotobuf-c.so.*
%{_bindir}/{protoc-c,protoc-gen-c}
%files devel
%dir %{_includedir}/google
%{_includedir}/{google/protobuf-c/,protobuf-c/}
%{_libdir}/{libprotobuf-c.so,pkgconfig/libprotobuf-c.pc}
%changelog
* Sat Jan 7 2023 mengwenhua<[email protected]> - 1.4.0-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix unsigned integer overflow
* Mon Jul 4 2022 dengyuyu <[email protected]> - 1.4.0-3
- fix CVE-2022-33070
* Tue May 10 2022 Ge Wang <[email protected]> - 1.4.0-2
- License compliance rectification
* Thu Dec 02 2021 wujing <[email protected]> - 1.4.0-1
Type:upgrade
ID:NA
SUG:NA
DESC: upgrade to 1.4.0-1
* Fri Feb 14 2020 Senlin Xia <[email protected]> - 1.3.2-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/meng-wenhua/protobuf-c.git
[email protected]:meng-wenhua/protobuf-c.git
meng-wenhua
protobuf-c
protobuf-c
master

搜索帮助