From 2d8c06b63757cb8d64d301fdcad4988d014f96b4 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 1 May 2023 16:33:40 +0000 Subject: [PATCH] bozohttpd: 20210227 -> 20220517 --- pkgs/servers/http/bozohttpd/default.nix | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pkgs/servers/http/bozohttpd/default.nix b/pkgs/servers/http/bozohttpd/default.nix index 8cb7be7f719a..2087c2f591d6 100644 --- a/pkgs/servers/http/bozohttpd/default.nix +++ b/pkgs/servers/http/bozohttpd/default.nix @@ -22,27 +22,15 @@ let inherit (lib) optional optionals; in stdenv.mkDerivation rec { pname = "bozohttpd"; - version = "20210227"; + version = "20220517"; # bozohttpd is developed in-tree in pkgsrc, canonical hashes can be found at: # http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/bozohttpd/distinfo src = fetchurl { url = "http://www.eterna.com.au/${pname}/${pname}-${version}.tar.bz2"; - sha512 = "b838498626ffb7f7e84f31611e0e99aaa3af64bd9376e1a13ec16313c182eebfd9ea2c2d03904497239af723bf34a3d2202dac1f2d3e55f9fd076f6d45ccfa33"; + sha512 = "275b8fab3cf2e6c59721682cae952db95da5bd3b1f20680240c6cf1029463693f6feca047fbef5e3a3e7528b40b7b2e87b2a56fd800b612e679a16f24890e5b6"; }; - # backport two unreleased commits to fix builds on non-netbsd platforms. - patches = [ - # add missing `#include ` - # https://freshbsd.org/netbsd/src/commit/qMGNoXfgeieZBVRC - ./0001-include-stdint.h.patch - - # BUFSIZ is not guaranteed to be large enough - # https://freshbsd.org/netbsd/src/commit/A4ueIHIp3JgjNVRC - ./0002-dont-use-host-BUFSIZ.patch - ]; - patchFlags = [ "-p3" ]; - buildInputs = [ openssl libxcrypt ] ++ optional (luaSupport) lua; nativeBuildInputs = [ bmake groff ];