Upgrade to version 2.0.20230219

This commit is contained in:
chen-jan 2023-06-16 11:14:21 +08:00
parent 14b38251e6
commit 7013798c65
3 changed files with 10 additions and 7 deletions

Binary file not shown.

BIN
byacc-20230219.tgz Normal file

Binary file not shown.

View File

@ -1,15 +1,15 @@
%define byaccdate 20210808 %define byaccdate 20230219
Name: byacc Name: byacc
Version: 2.0.%{byaccdate} Version: 2.0.%{byaccdate}
Release: 5 Release: 1
Summary: A parser generator Summary: A parser generator
License: public domain License: public domain
URL: https://invisible-island.net/byacc/byacc.html URL: https://invisible-island.net/byacc/byacc.html
Source0: https://invisible-mirror.net/archives/byacc/byacc-%{byaccdate}.tgz Source0: https://invisible-mirror.net/archives/byacc/byacc-%{byaccdate}.tgz
Patch9000: CVE-2021-33641.patch Patch9000: CVE-2021-33641.patch
Patch9001: CVE-2021-33642.patch Patch9001: CVE-2021-33642.patch
BuildRequires: gcc BuildRequires: gcc
@ -23,7 +23,7 @@ rejected.
%package_help %package_help
%prep %prep
%autosetup -n byacc-20210808 -p1 %autosetup -n byacc-%{byaccdate} -p1
find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g' find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
%build %build
@ -36,10 +36,10 @@ ln -s yacc %{buildroot}%{_bindir}/byacc
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1 ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check %check
make check %make_build check
%files %files
%doc ACKNOWLEDGEMENTS README* NO_WARRANTY %doc ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY README
%license AUTHORS %license AUTHORS
%{_bindir}/* %{_bindir}/*
@ -48,6 +48,9 @@ make check
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Fri Jun 16 2023 chenchen <chen_aka_jan@163.com> - 2.0.20230219-1
- Upgrade to version 2.0.20230219
* Mon Dec 26 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.0.20210808-5 * Mon Dec 26 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.0.20210808-5
- fix CVE-2021-33641 and CVE-2021-33642 - fix CVE-2021-33641 and CVE-2021-33642