Loading pkgs/by-name/zz/zzuf/package.nix +20 −8 Original line number Diff line number Diff line Loading @@ -2,31 +2,43 @@ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, autoreconfHook, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "zzuf"; version = "0.15"; src = fetchFromGitHub { owner = "samhocevar"; repo = "zzuf"; rev = "v${version}"; sha256 = "0li1s11xf32dafxq1jbnc8c63313hy9ry09dja2rymk9mza4x2n9"; tag = "v${finalAttrs.version}"; hash = "sha256-yYpO1K9pVp+Fki0Bn5OHI4xhGGJ2yYC7U00M10PQIVI="; }; patches = [ # fix build with gcc14 # https://src.fedoraproject.org/rpms/zzuf/c/998c7e5e632ea4c635a53437a01bfb48cbd744ac (fetchpatch { url = "https://src.fedoraproject.org/rpms/zzuf/raw/998c7e5e632ea4c635a53437a01bfb48cbd744ac/f/zzuf-zzat-c99.patch"; hash = "sha256-pQQzwsIjKg+9g+dnhFGn2PUlxHlQ5Mj+e4a1D1k2oEo="; }) # https://src.fedoraproject.org/rpms/zzuf/c/ca7e406989e7ff461600084f2277ad15a8c00058 ./zzuf-glibc.patch ]; nativeBuildInputs = [ pkg-config autoreconfHook ]; meta = with lib; { meta = { description = "Transparent application input fuzzer"; homepage = "http://caca.zoy.org/wiki/zzuf"; license = licenses.wtfpl; platforms = platforms.linux; maintainers = with maintainers; [ lihop ]; license = lib.licenses.wtfpl; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ lihop ]; }; } }) pkgs/by-name/zz/zzuf/zzuf-glibc.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/configure.ac b/configure.ac index 0915a5c..8ba501c 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,6 @@ AC_CHECK_FUNCS(mmap getpagesize) 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) Loading
pkgs/by-name/zz/zzuf/package.nix +20 −8 Original line number Diff line number Diff line Loading @@ -2,31 +2,43 @@ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, autoreconfHook, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "zzuf"; version = "0.15"; src = fetchFromGitHub { owner = "samhocevar"; repo = "zzuf"; rev = "v${version}"; sha256 = "0li1s11xf32dafxq1jbnc8c63313hy9ry09dja2rymk9mza4x2n9"; tag = "v${finalAttrs.version}"; hash = "sha256-yYpO1K9pVp+Fki0Bn5OHI4xhGGJ2yYC7U00M10PQIVI="; }; patches = [ # fix build with gcc14 # https://src.fedoraproject.org/rpms/zzuf/c/998c7e5e632ea4c635a53437a01bfb48cbd744ac (fetchpatch { url = "https://src.fedoraproject.org/rpms/zzuf/raw/998c7e5e632ea4c635a53437a01bfb48cbd744ac/f/zzuf-zzat-c99.patch"; hash = "sha256-pQQzwsIjKg+9g+dnhFGn2PUlxHlQ5Mj+e4a1D1k2oEo="; }) # https://src.fedoraproject.org/rpms/zzuf/c/ca7e406989e7ff461600084f2277ad15a8c00058 ./zzuf-glibc.patch ]; nativeBuildInputs = [ pkg-config autoreconfHook ]; meta = with lib; { meta = { description = "Transparent application input fuzzer"; homepage = "http://caca.zoy.org/wiki/zzuf"; license = licenses.wtfpl; platforms = platforms.linux; maintainers = with maintainers; [ lihop ]; license = lib.licenses.wtfpl; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ lihop ]; }; } })
pkgs/by-name/zz/zzuf/zzuf-glibc.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line diff --git a/configure.ac b/configure.ac index 0915a5c..8ba501c 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,6 @@ AC_CHECK_FUNCS(mmap getpagesize) 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)