Upgrade to version 2.0.20230219
This commit is contained in:
parent
14b38251e6
commit
7013798c65
Binary file not shown.
BIN
byacc-20230219.tgz
Normal file
BIN
byacc-20230219.tgz
Normal file
Binary file not shown.
17
byacc.spec
17
byacc.spec
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user