124 Star 0 Fork 19

src-openEuler/jq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jq.spec 2.53 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-05-22 01:38 +08:00 . fix CVE-2024-23337
Name: jq
Version: 1.7.1
Release: 4
Summary: A lightweight and flexible command-line JSON processor
License: MIT AND ICU AND CC-BY-3.0
URL: https://jqlang.org/
Source0: https://github.com/jqlang/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
Patch0: CVE-2024-53427-pre.patch
Patch1: CVE-2024-53427.patch
Patch2: CVE-2024-23337.patch
BuildRequires: make flex bison gcc chrpath oniguruma-devel
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
%description
jq is a lightweight and flexible command-line JSON processor.
you can use it to slice and filter and map and transform structured data.
It is written in portable C, and it has zero runtime dependencies.
it can mangle the data format that you have into the one that you want.
%package devel
Summary: Development files for jq
Requires: jq = %{version}-%{release}
%description devel
Development files for jq.
%package_help
%prep
%autosetup -n jq-%{version} -p1
%build
%configure --disable-static
%make_build
%install
%make_install
%delete_la_and_a
rm -fr %{buildroot}%{_docdir}
chrpath -d %{buildroot}%{_bindir}/%{name}
%check
%if %{?_with_check:1}%{!?_with_check:0}
%ifarch x86_64
make check
%endif
%endif
%files
%license COPYING
%doc AUTHORS
%{_bindir}/jq
%{_libdir}/libjq.so.*
%files devel
%{_includedir}/*.h
%{_libdir}/libjq.so
%{_libdir}/pkgconfig/libjq.pc
%files help
%doc README.md NEWS.md
%{_mandir}/man1/jq.1*
%changelog
* Thu May 22 2025 Funda Wang <fundawang@yeah.net> - 1.7.1-4
- fix CVE-2024-23337
* Fri Mar 07 2025 yaoxin <1024769339@qq.com> - 1.7.1-3
- Fix CVE-2024-53427
* Mon Sep 09 2024 laokz <zhangkai@iscas.ac.cn> - 1.7.1-2
- Let valgrind depend on system arch macro
* Wed Jul 24 2024 dillon chen <dillon.chen@gmail.com> - 1.7.1-1
- Upgrade to 1.7.1
* Mon May 30 2022 Chenyx <chenyixiong3@huawei.com> - 1.6-3
- License compliance rectification
* Mon Aug 30 2021 lingsheng <lingsheng@huawei.com> - 1.6-2
- Support binary strings preserve UTF-8 and UTF-16 errors
* Wed Aug 25 2021 wangyue <wangyue92@huawei.com> - 1.6-1
- Upgrade to 1.6
* Thu Jun 03 2021 wulei <wulei80@huawei.com> - 1.5-18
- fixes failed: no acceptable C compiler found in $PATH
* Sat Mar 21 2020 yanglijin <yanglijin@huawei.com> -1.5-17
- close check
* Tue Mar 17 2020 likexin <likexin4@huawei.com> -1.5-16
- fix up cve-2016-4074
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.5-15
- Delete unndeeded build requires
* Tue Dec 31 2019 zhujunhao <zhujunhao5@huawei.com> - 1.5-14
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/jq.git
git@gitee.com:src-openeuler/jq.git
src-openeuler
jq
jq
master

搜索帮助