!31 Upgrade to version 2.0.20230219

From: @chen-jan 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-06-16 08:00:17 +00:00 committed by Gitee
commit 1327358f09
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
Version: 2.0.%{byaccdate}
Release: 5
Release: 1
Summary: A parser generator
License: public domain
URL: https://invisible-island.net/byacc/byacc.html
Source0: https://invisible-mirror.net/archives/byacc/byacc-%{byaccdate}.tgz
Patch9000: CVE-2021-33641.patch
Patch9001: CVE-2021-33642.patch
Patch9000: CVE-2021-33641.patch
Patch9001: CVE-2021-33642.patch
BuildRequires: gcc
@ -23,7 +23,7 @@ rejected.
%package_help
%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'
%build
@ -36,10 +36,10 @@ ln -s yacc %{buildroot}%{_bindir}/byacc
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check
make check
%make_build check
%files
%doc ACKNOWLEDGEMENTS README* NO_WARRANTY
%doc ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY README
%license AUTHORS
%{_bindir}/*
@ -48,6 +48,9 @@ make check
%{_mandir}/man1/*
%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
- fix CVE-2021-33641 and CVE-2021-33642