diff --git a/zzuf-0.15-glibc.patch b/zzuf-0.15-glibc.patch new file mode 100644 index 0000000..717b3d7 --- /dev/null +++ b/zzuf-0.15-glibc.patch @@ -0,0 +1,12 @@ +*** configure.ac~ 2016-05-03 01:12:04.000000000 -0500 +--- configure.ac 2018-08-01 11:44:00.122766694 -0500 +*************** AC_CHECK_FUNCS(mmap getpagesize) +*** 77,83 **** + AC_CHECK_FUNCS(getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked) + AC_CHECK_FUNCS(__getdelim __srefill __filbuf __srget __uflow) + AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 freopen64 ftello64 fseeko64 fsetpos64) +- AC_CHECK_FUNCS(__open64 __lseek64 __fopen64 __freopen64 __ftello64 __fseeko64 __fsetpos64) + AC_CHECK_FUNCS(__fgets_chk __fgets_unlocked_chk __fread_chk __fread_unlocked_chk __read_chk __recv_chk __recvfrom_chk) + AC_CHECK_FUNCS(CreateFileA CreateFileW ReOpenFile ReadFile CloseHandle) + AC_CHECK_FUNCS(AllocConsole AttachConsole SetConsoleMode WriteConsoleOutputA WriteConsoleOutputW) +--- 77,82 ---- diff --git a/zzuf-zzat-c99.patch b/zzuf-zzat-c99.patch new file mode 100644 index 0000000..1f54c3b --- /dev/null +++ b/zzuf-zzat-c99.patch @@ -0,0 +1,22 @@ +Add declaration of _IO_getc, to avoid an implicit function declaration. + +Submitted upstream: + +diff --git a/src/zzat.c b/src/zzat.c +index 7acfec6dd46c4d3b..08b6e60c3d5fe86a 100644 +--- a/src/zzat.c ++++ b/src/zzat.c +@@ -50,6 +50,13 @@ typedef int ssize_t; + #include + #include + ++#if defined HAVE__IO_GETC ++/* This function is no longer declared in glibc header files, but ++ still available for linking (as of glibc 2.36). It is an alias of ++ getc. */ ++extern int _IO_getc (FILE *); ++#endif ++ + #include "util/getopt.h" + + static int run(char const *sequence, char const *file); diff --git a/zzuf.spec b/zzuf.spec index d6d34ec..5a0392a 100644 --- a/zzuf.spec +++ b/zzuf.spec @@ -1,9 +1,8 @@ Name: zzuf Version: 0.15 -Release: 4%{?dist} +Release: 27%{?dist} Summary: Transparent application input fuzzer -Group: Development/Tools License: WTFPL URL: http://sam.zoy.org/zzuf/ Source0: http://github.com/zzuf/%{name}/archive/zzuf-%{version}.tar.gz @@ -12,7 +11,11 @@ Patch0: %{name}-0.13-optflags.patch # AC_TRY_CFLAGS doesn't honor CFLAGS # Causes package to produce broken configure results Patch1: %{name}-0.13-Remove-AC_TRY_CFLAGS.patch +Patch2: zzuf-0.15-glibc.patch +Patch3: zzuf-zzat-c99.patch +BuildRequires: make +BuildRequires: gcc autoconf automake libtool %description zzuf is a transparent application input fuzzer. It works by intercepting file operations and changing random bits in the program's @@ -22,12 +25,15 @@ bugs. %prep %setup -q -%patch0 -p0 -%patch1 -p1 +%patch -P0 -p0 +%patch -P1 -p1 +%patch -P2 -p0 +%patch -P3 -p1 touch -r aclocal.m4 configure.* %build +autoreconf -if %configure --disable-dependency-tracking --disable-static make %{?_smp_mflags} @@ -51,6 +57,75 @@ rm $RPM_BUILD_ROOT%{_libdir}/zzuf/libzzuf.la %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.15-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 0.15-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 0.15-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 0.15-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Jul 20 2024 Fedora Release Engineering - 0.15-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.15-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 0.15-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Mar 01 2023 Gwyn Ciesla - 0.15-20 +- migrated to SPDX license + +* Sat Jan 21 2023 Fedora Release Engineering - 0.15-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Dec 11 2022 Florian Weimer - 0.15-18 +- Port to C99 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.15-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.15-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.15-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 0.15-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.15-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0.15-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.15-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0.15-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Aug 01 2018 Gwyn Ciesla - 0.15-9 +- Patch out internal glibc call. + +* Wed Aug 01 2018 Gwyn Ciesla - 0.15-8 +- Rebuild to potentially fix FTBFS in other packages. + +* Tue Jul 31 2018 Gwyn Ciesla - 0.15-7 +- Rebuild to potentially fix FTBFS in other packages. + +* Sat Jul 14 2018 Fedora Release Engineering - 0.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild