head 1.2; access; symbols pkgsrc-2021Q4:1.1.0.2 pkgsrc-2021Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2022.01.04.22.35.24; author schmonz; state dead; branches; next 1.1; commitid vDLZHjFjFMeRTmnD; 1.1 date 2021.10.21.20.38.35; author schmonz; state Exp; branches; next ; commitid FHQITUgNBWp7FIdD; desc @@ 1.2 log @Update to 20220101. From the changelog: - Rework from scratch - Instead of separate directories for regular files and gzipped content, use one directory for all (as publicfile did) - Add manual page @ text @$NetBSD: patch-Makefile,v 1.1 2021/10/21 20:38:35 schmonz Exp $ DESTDIR support. --- Makefile.orig 2013-11-24 14:38:10.000000000 +0000 +++ Makefile @@@@ -757,6 +757,14 @@@@ auto-str: \ load auto-str.o library.a ./load auto-str library.a +auto_destdir.c: \ +auto-str conf-destdir + ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c + +auto_destdir.o: \ +compile auto_destdir.c + ./compile auto_destdir.c + auto_home.c: \ auto-str conf-home ./auto-str auto_home `head -1 conf-home` > auto_home.c @@@@ -770,13 +778,12 @@@@ load httpfile-conf.o auto_home.o library ./load httpfile-conf auto_home.o library.a install: \ -load install.o auto_home.o library.a - ./load install auto_home.o library.a - ./install +load install.o auto_destdir.o library.a + ./load install auto_destdir.o library.a instcheck: \ -load instcheck.o auto_home.o library.a - ./load instcheck auto_home.o library.a +load instcheck.o auto_destdir.o library.a + ./load instcheck auto_destdir.o library.a httpfile-gzip: \ warn-auto.sh httpfile-gzip.sh conf-home @ 1.1 log @Add httpfile, a secure HTTP server derived from publicfile. - removed ftpd - added "Content-Encoding: gzip" - added more 'default' filetypes - case insensitive filetype checking - upgraded alloc library, added memory limit - added request timeout - added basic authentication as a simple protection against robots - added 301 redirect for directories - added range support @ text @d1 1 a1 1 $NetBSD$ @