head	1.9;
access;
symbols
	netbsd-11-0-RC4:1.9
	bozohttpd-20260503:1.9
	bozohttpd-20240428:1.9
	netbsd-11-0-RC3:1.9
	netbsd-11-0-RC2:1.9
	netbsd-11-0-RC1:1.9
	perseant-exfatfs-base-20250801:1.9
	netbsd-11:1.9.0.10
	netbsd-11-base:1.9
	netbsd-10-1-RELEASE:1.9
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.8
	perseant-exfatfs-base:1.9
	netbsd-8-3-RELEASE:1.6.18.1
	netbsd-9-4-RELEASE:1.6.28.1
	netbsd-10-0-RELEASE:1.9
	netbsd-10-0-RC6:1.9
	netbsd-10-0-RC5:1.9
	netbsd-10-0-RC4:1.9
	bozohttpd-20240126:1.9
	netbsd-10-0-RC3:1.9
	netbsd-10-0-RC2:1.9
	netbsd-10-0-RC1:1.9
	netbsd-10:1.9.0.6
	netbsd-10-base:1.9
	netbsd-9-3-RELEASE:1.6.28.1
	bozohttpd-20220517:1.9
	cjep_sun2x-base1:1.9
	cjep_sun2x:1.9.0.4
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	netbsd-9-2-RELEASE:1.6.28.1
	cjep_staticlib_x:1.9.0.2
	cjep_staticlib_x-base:1.9
	bozohttpd-20210227:1.9
	netbsd-9-1-RELEASE:1.6
	bozohttpd-20201014:1.8
	bozohttpd-20200820:1.8
	bozohttpd-20190228:1.6
	phil-wifi-20200421:1.7
	phil-wifi-20200411:1.7
	is-mlppp:1.7.0.2
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.6
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.7
	netbsd-9:1.6.0.28
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.6
	netbsd-8-1-RC1:1.6
	pgoyette-compat-merge-20190127:1.6
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	bozohttpd-20181125:1.6
	bozohttpd-20181123:1.6
	bozohttpd-20181121:1.6
	bozohttpd-20181118:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.6
	netbsd-8-0-RELEASE:1.6
	phil-wifi:1.6.0.26
	phil-wifi-base:1.6
	pgoyette-compat-0625:1.6
	netbsd-8-0-RC2:1.6
	pgoyette-compat-0521:1.6
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.6
	netbsd-8-0-RC1:1.6
	pgoyette-compat-0415:1.6
	pgoyette-compat-0407:1.6
	pgoyette-compat-0330:1.6
	pgoyette-compat-0322:1.6
	pgoyette-compat-0315:1.6
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.6.0.24
	pgoyette-compat-base:1.6
	netbsd-7-1-1-RELEASE:1.6
	matt-nb8-mediatek:1.6.0.22
	matt-nb8-mediatek-base:1.6
	perseant-stdc-iso10646:1.6.0.20
	perseant-stdc-iso10646-base:1.6
	netbsd-8:1.6.0.18
	netbsd-8-base:1.6
	prg-localcount2-base3:1.6
	prg-localcount2-base2:1.6
	prg-localcount2-base1:1.6
	prg-localcount2:1.6.0.16
	prg-localcount2-base:1.6
	pgoyette-localcount-20170426:1.6
	bouyer-socketcan-base1:1.6
	pgoyette-localcount-20170320:1.6
	netbsd-7-1:1.6.0.14
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.6.0.12
	bouyer-socketcan-base:1.6
	pgoyette-localcount-20170107:1.6
	netbsd-7-1-RC1:1.6
	pgoyette-localcount-20161104:1.6
	netbsd-7-0-2-RELEASE:1.6
	localcount-20160914:1.6
	netbsd-7-nhusb:1.6.0.10
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.6
	pgoyette-localcount-20160726:1.6
	pgoyette-localcount:1.6.0.8
	pgoyette-localcount-base:1.6
	netbsd-7-0-1-RELEASE:1.6
	netbsd-7-0:1.6.0.6
	netbsd-7-0-RELEASE:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	bozohttpd-20150320:1.6
	bozohttpd-20141225:1.6
	netbsd-5-2-3-RELEASE:1.2.20.1
	netbsd-5-1-5-RELEASE:1.2.16.1
	netbsd-6-0-6-RELEASE:1.5.14.1
	netbsd-6-1-5-RELEASE:1.5.20.1
	netbsd-7:1.6.0.4
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.5
	netbsd-6-1-4-RELEASE:1.5
	netbsd-6-0-5-RELEASE:1.5
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.5
	netbsd-6-0-4-RELEASE:1.5
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	bozohttpd-20140102:1.6
	netbsd-6-1-2-RELEASE:1.5
	netbsd-6-0-3-RELEASE:1.5
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.5
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.16
	riastradh-drm2-base:1.5
	bozohttpd-20130711:1.5
	netbsd-6-1:1.5.0.20
	netbsd-6-0-2-RELEASE:1.5
	netbsd-6-1-RELEASE:1.5
	netbsd-6-1-RC4:1.5
	netbsd-6-1-RC3:1.5
	agc-symver:1.5.0.18
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.5
	netbsd-6-1-RC1:1.5
	yamt-pagecache-base8:1.5
	netbsd-5-2:1.2.0.20
	netbsd-6-0-1-RELEASE:1.5
	yamt-pagecache-base7:1.5
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	matt-nb6-plus-nbase:1.5
	yamt-pagecache-base6:1.5
	netbsd-6-0:1.5.0.14
	netbsd-6-0-RELEASE:1.5
	netbsd-6-0-RC2:1.5
	tls-maxphys:1.5.0.12
	tls-maxphys-base:1.6
	matt-nb6-plus:1.5.0.10
	matt-nb6-plus-base:1.5
	netbsd-6-0-RC1:1.5
	yamt-pagecache-base5:1.5
	yamt-pagecache-base4:1.5
	netbsd-6:1.5.0.8
	netbsd-6-base:1.5
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	bozohttpd-20111118:1.1.1.3
	yamt-pagecache-base3:1.5
	yamt-pagecache-base2:1.5
	yamt-pagecache:1.5.0.6
	yamt-pagecache-base:1.5
	cherry-xenmp:1.5.0.4
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	matt-mips64-premerge-20101231:1.5
	matt-nb5-pq3:1.2.0.18
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.16
	netbsd-5-1-RELEASE:1.2
	bozohttpd-20100920:1.1.1.3
	netbsd-5-1-RC4:1.2
	bozohttpd-20100621:1.1.1.3
	bozohttpd-20100617:1.1.1.3
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	bozohttpd-20100512:1.1.1.3
	bozohttpd-20100510:1.1.1.3
	bozohttpd-20100509:1.1.1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	matt-premerge-20091211:1.3
	netbsd-5-0-1-RELEASE:1.2
	bozohttpd-20090522:1.1.1.1
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.2.0.14
	netbsd-5-0-RELEASE:1.2
	bozohttpd-20090418:1.1.1.1
	mrg-merged-to-bozohttpd-20090417-post:1.3
	bozohttpd-20090417:1.1.1.1
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.12
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.10
	netbsd-5-base:1.2
	mjf-devfs2:1.2.0.8
	mjf-devfs2-base:1.2
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-pf42:1.2.0.6
	yamt-pf42-base:1.2
	bozohttpd-20080303:1.1.1.1
	keiichi-mipv6:1.2.0.4
	keiichi-mipv6-base:1.2
	cube-autoconf:1.2.0.2
	cube-autoconf-base:1.2
	hpcarm-cleanup-base:1.2
	bozohttpd-20060517:1.1.1.1
	bozohttpd:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2021.01.17.00.15.14;	author mrg;	state Exp;
branches;
next	1.8;
commitid	BRJ9HOoAVX7eN0EC;

1.8
date	2020.07.13.09.38.57;	author jruoho;	state Exp;
branches;
next	1.7;
commitid	OKQBFsZtM5GqXTfC;

1.7
date	2019.10.30.07.28.13;	author mrg;	state Exp;
branches;
next	1.6;
commitid	sTm8C7Hv9WTGuRIB;

1.6
date	2014.01.02.08.30.22;	author mrg;	state Exp;
branches
	1.6.18.1
	1.6.26.1
	1.6.28.1;
next	1.5;
commitid	YknxBDr4jg1bdwjx;

1.5
date	2010.05.10.14.44.19;	author mrg;	state Exp;
branches
	1.5.6.1
	1.5.8.1
	1.5.12.1
	1.5.14.1
	1.5.20.1;
next	1.4;

1.4
date	2010.05.10.03.37.45;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2009.04.18.07.48.02;	author mrg;	state Exp;
branches;
next	1.2;

1.2
date	2007.10.16.01.31.04;	author tls;	state dead;
branches
	1.2.10.1
	1.2.12.1
	1.2.16.1
	1.2.20.1;
next	1.1;

1.1
date	2007.10.16.01.14.01;	author tls;	state Exp;
branches
	1.1.1.1;
next	;

1.6.18.1
date	2021.03.27.13.38.51;	author martin;	state Exp;
branches;
next	;
commitid	0fy0WIi8VRCg1XMC;

1.6.26.1
date	2020.04.13.08.03.17;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.6.28.1
date	2021.03.05.13.34.19;	author martin;	state Exp;
branches;
next	;
commitid	n1snW5vVPzYiG7KC;

1.5.6.1
date	2014.05.22.11.37.13;	author yamt;	state Exp;
branches;
next	;
commitid	VmckIax9CgOhKwBx;

1.5.8.1
date	2014.07.09.09.42.39;	author msaitoh;	state Exp;
branches;
next	;
commitid	PzA7yHFyE7G7zGHx;

1.5.12.1
date	2014.08.20.00.02.22;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.5.14.1
date	2014.07.09.09.47.10;	author msaitoh;	state Exp;
branches;
next	;
commitid	ncOq1490CSmnAGHx;

1.5.20.1
date	2014.07.09.09.44.56;	author msaitoh;	state Exp;
branches;
next	;
commitid	5p14SLUnv4dRzGHx;

1.2.10.1
date	2014.07.09.15.21.21;	author msaitoh;	state Exp;
branches;
next	;
commitid	6P3UulRicc5jrIHx;

1.2.12.1
date	2009.05.13.19.18.38;	author jym;	state Exp;
branches;
next	;

1.2.16.1
date	2014.07.09.16.09.39;	author msaitoh;	state Exp;
branches;
next	;
commitid	NgScSkUrfSmYHIHx;

1.2.20.1
date	2014.07.09.16.04.13;	author msaitoh;	state Exp;
branches;
next	;
commitid	vGNE3klASBlIFIHx;

1.1.1.1
date	2007.10.16.01.14.01;	author tls;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2010.05.10.03.30.04;	author mrg;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2010.05.10.14.41.26;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.9
log
@also set -D_DEFAULT_SOURCE to open up more headers.
allow passing $(EXTRALIBS).
@
text
@# $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
#
# very simple makefile to compile bozohttpd, should work with every make.
# see Makefile for a list of compile options that may be placed in CFLAGS.

CC=	cc
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -DNO_BLOCKLIST_SUPPORT -D_GNU_SOURCE -D_DEFAULT_SOURCE
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)

GROFF=	groff -Tascii
CRYPTOLIBDIR=	# -L/usr/local/lib
CRYPTOLIBS=	$(CRYPTOLIBDIR) -lcrypto -lssl

LIBS=	$(CRYPTOLIBS) $(EXTRALIBS)

FILES=	bozohttpd.c auth-bozo.c cgi-bozo.c content-bozo.c daemon-bozo.c \
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c

all:
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(LIBS)

man:
	$(GROFF) -mandoc bozohttpd.8 > bozohttpd.cat8

clean:
	rm -f bozohttpd bozohttpd.cat8 *.o
@


1.8
log
@Do not report status code 500 to blocklistd(8)  Add -DNO_BLOCKLIST_SUPPORT
to Makefile.boot.
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -DNO_BLOCKLIST_SUPPORT -D_GNU_SOURCE
d16 2
d22 1
a22 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


1.7
log
@set -D_GNU_SOURCE, needed for linux systems and should be
harmless or ignored elsewhere.

from perry.
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -D_GNU_SOURCE
@


1.6
log
@update for 20140102.
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
@


1.6.18.1
log
@Pull up the following via patch, requested by mrg in ticket #1668:

	Makefile			1.30-1.31
	Makefile.boot			1.7-1.9
	auth-bozo.c			1.25-1.26
	bozohttpd.8			1.80-1.87
	bozohttpd.c			1.114-1.123,1.125-1.128
	bozohttpd.h			1.61-1.68
	cgi-bozo.c			1.49-1.53
	content-bozo.c			1.17-1.20
	daemon-bozo.c			1-.22
	dir-index-bozo.c		1.33-1.34
	main.c				1.23-1.27
	printenv.lua			1.4-1.5
	ssl-bozo.c			1.27-1.29
	libbozohttpd/libbozohttpd.3	1.5-1.6
	small/Makefile			1.4
	testsuite/Makefile		1.14
	testsuite/t16.in		1.1
	testsuite/t16.out		1.1
	testsuite/t17.in		1.1
	testsuite/t17.out		1.1
	testsuite/t18.in		1.1
	testsuite/t18.out		1.1

Update to bozohttpd 20210227.


changes in bozohttpd 20210227:
	o  new support for content types: .tar.bz2, .tar.xz, .tar.lz,
	   .tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
	   .lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar.  should fix
	   netbsd PR#56026:
	   MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid

changes in bozohttpd 20210211:
	o  fix various NULL derefs from malformed headers.  mostly from
	   <emily@@ingalls.rocks>.
	o  fix memory leaks in library interface: add bozo_cleanup().

changes in bozohttpd 20201014:
	o  also set -D_GNU_SOURCE in Makefile.boot.  from
	   hadrien.lacour@@posteo.net.
	o  fix array size botch (assertion, not exploitable.)  from
	   martin@@netbsd.org.
	o  also match %2F as well as %2f.  from leah@@vuxu.org.
	o  many manual and help fixes.  clean ups for higher lint levels,
	   consistency/style clean ups.  various option fixes including made
	   -f imply -b.  from <henrik@@gulbra.net> for freebsd.

changes in bozohttpd 20200912:
	o  add .m4a and .m4v file extensions.

changes in bozohttpd 20200820:
	o  make this work on sun2 by reducing mmap window there.
	o  fix SSL shutdown sequence.  from spz@@netbsd.org.
	o  add readme support to directory indexing.  from jmcneill@@netbsd.org
	o  add blocklist(8) support.  from jruoho@@netbsd.org.
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -DNO_BLOCKLIST_SUPPORT -D_GNU_SOURCE -D_DEFAULT_SOURCE
a15 2
LIBS=	$(CRYPTOLIBS) $(EXTRALIBS)

d20 1
a20 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(LIBS)
@


1.6.28.1
log
@Pull up the following (all via patch), requested by mrg in ticket #1221:

	lib/lua/bozohttpd/Makefile			(apply patch)
	libexec/httpd/Makefile				1.30-1.31
	libexec/httpd/Makefile.boot			1.7-1.9
	libexec/httpd/auth-bozo.c			1.25-1.26
	libexec/httpd/bozohttpd.8			1.80-1.87
	libexec/httpd/bozohttpd.c			1.114-1.123,1.125-1.128
	libexec/httpd/bozohttpd.h			1.61-1.68
	libexec/httpd/cgi-bozo.c			1.49-1.53
	libexec/httpd/content-bozo.c			1.17-1.20
	libexec/httpd/daemon-bozo.c			1-.22
	libexec/httpd/dir-index-bozo.c			1.33-1.34
	libexec/httpd/main.c				1.23-1.27
	libexec/httpd/printenv.lua			1.4-1.5
	libexec/httpd/ssl-bozo.c			1.27-1.29
	libexec/httpd/libbozohttpd/libbozohttpd.3	1.5-1.6
	libexec/httpd/small/Makefile			1.4
	libexec/httpd/testsuite/Makefile		1.14
	libexec/httpd/testsuite/t16.in			1.1
	libexec/httpd/testsuite/t16.out			1.1
	libexec/httpd/testsuite/t17.in			1.1
	libexec/httpd/testsuite/t17.out			1.1
	libexec/httpd/testsuite/t18.in			1.1
	libexec/httpd/testsuite/t18.out			1.1


Update to bozohttpd 20210227.
Apply lua build fix (no blocklist support on this branch).

changes in bozohttpd 20210227:
	o  new support for content types: .tar.bz2, .tar.xz, .tar.lz,
	   .tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
	   .lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar.  should fix
	   netbsd PR#56026:
	   MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid

changes in bozohttpd 20210211:
	o  fix various NULL derefs from malformed headers.  mostly from
	   <emily@@ingalls.rocks>.
	o  fix memory leaks in library interface: add bozo_cleanup().

changes in bozohttpd 20201014:
	o  also set -D_GNU_SOURCE in Makefile.boot.  from
	   hadrien.lacour@@posteo.net.
	o  fix array size botch (assertion, not exploitable.)  from
	   martin@@netbsd.org.
	o  also match %2F as well as %2f.  from leah@@vuxu.org.
	o  many manual and help fixes.  clean ups for higher lint levels,
	   consistency/style clean ups.  various option fixes including made
	   -f imply -b.  from <henrik@@gulbra.net> for freebsd.

changes in bozohttpd 20200912:
	o  add .m4a and .m4v file extensions.

changes in bozohttpd 20200820:
	o  make this work on sun2 by reducing mmap window there.
	o  fix SSL shutdown sequence.  from spz@@netbsd.org.
	o  add readme support to directory indexing.  from jmcneill@@netbsd.org
	o  add blocklist(8) support.  from jruoho@@netbsd.org.
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -DNO_BLOCKLIST_SUPPORT -D_GNU_SOURCE -D_DEFAULT_SOURCE
a15 2
LIBS=	$(CRYPTOLIBS) $(EXTRALIBS)

d20 1
a20 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(LIBS)
@


1.6.26.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d9 1
a9 1
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT -D_GNU_SOURCE
@


1.5
log
@merge bozohttpd 20100510.
@
text
@d7 4
a10 1
CFLAGS=	-O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
d17 1
a17 1
	dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.5.12.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.5.14.1
log
@Pull up following revision(s) (requested by mrg in ticket #1095):
libexec/httpd/CHANGES				1.12-1.18
libexec/httpd/Makefile				1.13-1.22
libexec/httpd/Makefile.boot			1.6
libexec/httpd/auth-bozo.c			1.11-1.13
libexec/httpd/bozohttpd.8			1.33-1.46
libexec/httpd/bozohttpd.c			1.31-1.54
libexec/httpd/bozohttpd.h			1.21-1.32
libexec/httpd/cgi-bozo.c			1.21-1.25
libexec/httpd/content-bozo.c			1.8-1.10
libexec/httpd/daemon-bozo.c			1.16-1.16
libexec/httpd/dir-index-bozo.c			1.15-1.19
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.6-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/ssl-bozo.c			1.14-1.16
libexec/httpd/tilde-luzah-bozo.c		1.10
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.2-1.3
libexec/httpd/small/Makefile			1.2

	Update bozohttpd from 20111118 to 20140708.

	changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

	changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

	changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs
@
text
@d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.5.20.1
log
@Pull up following revision(s) (requested by mrg in ticket #1095):
libexec/httpd/CHANGES				1.12-1.18
libexec/httpd/Makefile				1.13-1.22
libexec/httpd/Makefile.boot			1.6
libexec/httpd/auth-bozo.c			1.11-1.13
libexec/httpd/bozohttpd.8			1.33-1.46
libexec/httpd/bozohttpd.c			1.31-1.54
libexec/httpd/bozohttpd.h			1.21-1.32
libexec/httpd/cgi-bozo.c			1.21-1.25
libexec/httpd/content-bozo.c			1.8-1.10
libexec/httpd/daemon-bozo.c			1.16-1.16
libexec/httpd/dir-index-bozo.c			1.15-1.19
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.6-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/ssl-bozo.c			1.14-1.16
libexec/httpd/tilde-luzah-bozo.c		1.10
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.2-1.3
libexec/httpd/small/Makefile			1.2

	Update bozohttpd from 20111118 to 20140708.

	changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

	changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

	changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs
@
text
@d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.5.8.1
log
@Pull up following revision(s) (requested by mrg in ticket #1095):
libexec/httpd/CHANGES				1.12-1.18
libexec/httpd/Makefile				1.13-1.22
libexec/httpd/Makefile.boot			1.6
libexec/httpd/auth-bozo.c			1.11-1.13
libexec/httpd/bozohttpd.8			1.33-1.46
libexec/httpd/bozohttpd.c			1.31-1.54
libexec/httpd/bozohttpd.h			1.21-1.32
libexec/httpd/cgi-bozo.c			1.21-1.25
libexec/httpd/content-bozo.c			1.8-1.10
libexec/httpd/daemon-bozo.c			1.16-1.16
libexec/httpd/dir-index-bozo.c			1.15-1.19
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.6-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/ssl-bozo.c			1.14-1.16
libexec/httpd/tilde-luzah-bozo.c		1.10
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.2-1.3
libexec/httpd/small/Makefile			1.2

	Update bozohttpd from 20111118 to 20140708.

	changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

	changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

	changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs
@
text
@d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.5.6.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.4
log
@merge bozohttpd 20100509.
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.8 2010/05/10 02:24:30 mrg Exp $
d7 1
a7 1
CFLAGS=	-O
d17 1
a17 1
	$(CC) $(CFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


1.3
log
@re-add a lot of the distribution files
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.7 2005/09/27 20:09:20 mrg Exp $
d14 1
a14 1
	dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c
@


1.2
log
@Get httpd ready for inclusion in build.
@
text
@@


1.2.16.1
log
@Pull up following revision(s) (requested by mrg in ticket #1913):
libexec/httpd/CHANGES				1.3-1.18
libexec/httpd/Makefile				1.8-1.22 via patch
libexec/httpd/Makefile.boot			1.3-1.6
libexec/httpd/auth-bozo.c			1.5-1.13
libexec/httpd/bozohttpd.8			1.6-1.46
libexec/httpd/bozohttpd.c			1.8,1.12-1.54
libexec/httpd/bozohttpd.h			1.8-1.32
libexec/httpd/cgi-bozo.c			1.11-1.25
libexec/httpd/content-bozo.c			1.4-1.10
libexec/httpd/daemon-bozo.c			1.5-1.16
libexec/httpd/dir-index-bozo.c			1.6-1.19
libexec/httpd/ssl-bozo.c			1.5-1.16
libexec/httpd/tilde-luzah-bozo.c		1.5-1.10
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.1-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/debug/Makefile			1.1
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.3
libexec/httpd/libbozohttpd/shlib_version	1.1
libexec/httpd/lua/Makefile			1.1
libexec/httpd/lua/bozo.lua			1.1
libexec/httpd/lua/glue.c			1.1
libexec/httpd/lua/optparse.lua			1.1
libexec/httpd/lua/shlib_version			1.1
libexec/httpd/small/Makefile			1.1-1.2
libexec/httpd/testsuite/Makefile		1.4
libexec/httpd/testsuite/html_cmp		1.4
libexec/httpd/testsuite/t1.in			1.3
libexec/httpd/testsuite/t1.out			1.3
libexec/httpd/testsuite/t10.in			1.1
libexec/httpd/testsuite/t10.out			1.1
libexec/httpd/testsuite/t2.in			1.3
libexec/httpd/testsuite/t2.out			1.3
libexec/httpd/testsuite/t3.in			1.3
libexec/httpd/testsuite/t3.out			1.3
libexec/httpd/testsuite/t4.in			1.3
libexec/httpd/testsuite/t4.out			1.3
libexec/httpd/testsuite/t5.in			1.3
libexec/httpd/testsuite/t5.out			1.3
libexec/httpd/testsuite/t6.in			1.3
libexec/httpd/testsuite/t6.out			1.3
libexec/httpd/testsuite/t7.in			1.3
libexec/httpd/testsuite/t7.out			1.3
libexec/httpd/testsuite/t8.in			1.3
libexec/httpd/testsuite/t8.out			1.3
libexec/httpd/testsuite/t9.in			1.3
libexec/httpd/testsuite/t9.out			1.3
libexec/httpd/testsuite/test-bigfile		1.1
libexec/httpd/testsuite/data/bigfile		1.1
libexec/httpd/testsuite/data/bigfile.partial4000 1.1
libexec/httpd/testsuite/data/bigfile.partial8000 1.1
libexec/httpd/testsuite/data/file		1.3
libexec/httpd/testsuite/data/index.html		1.3

	Update bozohttpd from 20080303+patches to 20140708.

changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs

changes in bozohttpd 20111118:
	o  add -P <pidfile> option, from jmmv@@netbsd.org
	o  avoid crashes with http basic auth, from pooka@@netbsd.org
	o  add support for REDIRECT_STATUS variable, from tls@@netbsd.org
	o  support .mp4 files in the default map
	o  directory indexes with files with : are now displayed properly, from
	   reed@@netbsd.org
	o  allow -I option to be useful in non-inetd mode as well

changes in bozohttpd 20100920:
	o  properly fully disable multi-file mode for now
	o  fix the -t and -U options when used without the -e option, broken since
	   the library-ifcation
	o  be explicit that logs go to the FTP facility in syslog
	o  use scandir() with alphasort() for sorted directory lists, from moof
	o  fix a serious error in vhost handling; "Host:.." would allow access to
	   the next level directory from the virtual root directory, from seanb
	o  fix some various non standard compile time errors, from rudolf
	o  fix dynamic CGI content maps, from rudolf

changes in bozohttpd 20100617:
	o  fix some compile issues
	o  fix SSL mode.  from rtr
	o  fix some cgi-bin issues, as seen with cvsweb
	o  disable multi-file daemon mode for now, it breaks
	o  return 404's instead of 403's when chdir of ~user dirs fail
	o  remove "noreturn" attribute from bozo_http_error() that was
	   causing incorrect runtime behaviour

changes in bozohttpd 20100509:
	o  major rework and clean up of internal interfaces.  move the main
	   program into main.c, the remaining parts are useable as library.
	   add bindings for lua.  by Alistair G. Crooks <agc@@netbsd.org>
	o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325

changes in bozohttpd 20090522:
	o  avoid dying in daemon mode for some uncommon, but recoverable, errors
	o  close leaking file descriptors for CGI and daemon mode
	o  handle poll errors properly
	o  don't try to handle more than one request per process yet
	o  add subdirs for build "debug" and "small" versions
	o  clean up a bad merge / duplicate code
	o  make mmap() usage portable, fixes linux & ranges: support
	o  document the -f option
	o  daemon mode now serves 6 files per child

changes in bozohttpd 20090417:
	o  make bozohttpd internally more modular, preparing the way
	   to handle more than one request per process
	o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
	   cgi-bin with cvsweb, from Holger Weiss <holger@@CIS.FU-Berlin.DE>
	o  fix an uninitialised variable use in daemon mode
	o  fix ssl mode with newer OpenSSL
	o  mmap large files in manageable sizes so we can serve any size file
	o  refactor url processing to handle query strings correctly for CGI
	   from Sergey Katsev at Coyote Point
	o  add If-Modified-Since support, from Joerg Sonnenberger
	   <joerg@@netbsd.org>
	o  many more manual fixes, from NetBSD
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
d17 1
a17 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


1.2.20.1
log
@Pull up following revision(s) (requested by mrg in ticket #1913):
libexec/httpd/CHANGES				1.3-1.18
libexec/httpd/Makefile				1.8-1.22 via patch
libexec/httpd/Makefile.boot			1.3-1.6
libexec/httpd/auth-bozo.c			1.5-1.13
libexec/httpd/bozohttpd.8			1.6-1.46
libexec/httpd/bozohttpd.c			1.8,1.12-1.54
libexec/httpd/bozohttpd.h			1.8-1.32
libexec/httpd/cgi-bozo.c			1.11-1.25
libexec/httpd/content-bozo.c			1.4-1.10
libexec/httpd/daemon-bozo.c			1.5-1.16
libexec/httpd/dir-index-bozo.c			1.6-1.19
libexec/httpd/ssl-bozo.c			1.5-1.16
libexec/httpd/tilde-luzah-bozo.c		1.5-1.10
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.1-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/debug/Makefile			1.1
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.3
libexec/httpd/libbozohttpd/shlib_version	1.1
libexec/httpd/lua/Makefile			1.1
libexec/httpd/lua/bozo.lua			1.1
libexec/httpd/lua/glue.c			1.1
libexec/httpd/lua/optparse.lua			1.1
libexec/httpd/lua/shlib_version			1.1
libexec/httpd/small/Makefile			1.1-1.2
libexec/httpd/testsuite/Makefile		1.4
libexec/httpd/testsuite/html_cmp		1.4
libexec/httpd/testsuite/t1.in			1.3
libexec/httpd/testsuite/t1.out			1.3
libexec/httpd/testsuite/t10.in			1.1
libexec/httpd/testsuite/t10.out			1.1
libexec/httpd/testsuite/t2.in			1.3
libexec/httpd/testsuite/t2.out			1.3
libexec/httpd/testsuite/t3.in			1.3
libexec/httpd/testsuite/t3.out			1.3
libexec/httpd/testsuite/t4.in			1.3
libexec/httpd/testsuite/t4.out			1.3
libexec/httpd/testsuite/t5.in			1.3
libexec/httpd/testsuite/t5.out			1.3
libexec/httpd/testsuite/t6.in			1.3
libexec/httpd/testsuite/t6.out			1.3
libexec/httpd/testsuite/t7.in			1.3
libexec/httpd/testsuite/t7.out			1.3
libexec/httpd/testsuite/t8.in			1.3
libexec/httpd/testsuite/t8.out			1.3
libexec/httpd/testsuite/t9.in			1.3
libexec/httpd/testsuite/t9.out			1.3
libexec/httpd/testsuite/test-bigfile		1.1
libexec/httpd/testsuite/data/bigfile		1.1
libexec/httpd/testsuite/data/bigfile.partial4000 1.1
libexec/httpd/testsuite/data/bigfile.partial8000 1.1
libexec/httpd/testsuite/data/file		1.3
libexec/httpd/testsuite/data/index.html		1.3

	Update bozohttpd from 20080303+patches to 20140708.

changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs

changes in bozohttpd 20111118:
	o  add -P <pidfile> option, from jmmv@@netbsd.org
	o  avoid crashes with http basic auth, from pooka@@netbsd.org
	o  add support for REDIRECT_STATUS variable, from tls@@netbsd.org
	o  support .mp4 files in the default map
	o  directory indexes with files with : are now displayed properly, from
	   reed@@netbsd.org
	o  allow -I option to be useful in non-inetd mode as well

changes in bozohttpd 20100920:
	o  properly fully disable multi-file mode for now
	o  fix the -t and -U options when used without the -e option, broken since
	   the library-ifcation
	o  be explicit that logs go to the FTP facility in syslog
	o  use scandir() with alphasort() for sorted directory lists, from moof
	o  fix a serious error in vhost handling; "Host:.." would allow access to
	   the next level directory from the virtual root directory, from seanb
	o  fix some various non standard compile time errors, from rudolf
	o  fix dynamic CGI content maps, from rudolf

changes in bozohttpd 20100617:
	o  fix some compile issues
	o  fix SSL mode.  from rtr
	o  fix some cgi-bin issues, as seen with cvsweb
	o  disable multi-file daemon mode for now, it breaks
	o  return 404's instead of 403's when chdir of ~user dirs fail
	o  remove "noreturn" attribute from bozo_http_error() that was
	   causing incorrect runtime behaviour

changes in bozohttpd 20100509:
	o  major rework and clean up of internal interfaces.  move the main
	   program into main.c, the remaining parts are useable as library.
	   add bindings for lua.  by Alistair G. Crooks <agc@@netbsd.org>
	o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325

changes in bozohttpd 20090522:
	o  avoid dying in daemon mode for some uncommon, but recoverable, errors
	o  close leaking file descriptors for CGI and daemon mode
	o  handle poll errors properly
	o  don't try to handle more than one request per process yet
	o  add subdirs for build "debug" and "small" versions
	o  clean up a bad merge / duplicate code
	o  make mmap() usage portable, fixes linux & ranges: support
	o  document the -f option
	o  daemon mode now serves 6 files per child

changes in bozohttpd 20090417:
	o  make bozohttpd internally more modular, preparing the way
	   to handle more than one request per process
	o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
	   cgi-bin with cvsweb, from Holger Weiss <holger@@CIS.FU-Berlin.DE>
	o  fix an uninitialised variable use in daemon mode
	o  fix ssl mode with newer OpenSSL
	o  mmap large files in manageable sizes so we can serve any size file
	o  refactor url processing to handle query strings correctly for CGI
	   from Sergey Katsev at Coyote Point
	o  add If-Modified-Since support, from Joerg Sonnenberger
	   <joerg@@netbsd.org>
	o  many more manual fixes, from NetBSD
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
d17 1
a17 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


1.2.10.1
log
@Pull up following revision(s) (requested by mrg in ticket #1913):
libexec/httpd/CHANGES				1.3-1.18
libexec/httpd/Makefile				1.8-1.22 via patch
libexec/httpd/Makefile.boot			1.3-1.6
libexec/httpd/auth-bozo.c			1.5-1.13
libexec/httpd/bozohttpd.8			1.6-1.46
libexec/httpd/bozohttpd.c			1.8,1.12-1.54
libexec/httpd/bozohttpd.h			1.8-1.32
libexec/httpd/cgi-bozo.c			1.11-1.25
libexec/httpd/content-bozo.c			1.4-1.10
libexec/httpd/daemon-bozo.c			1.5-1.16
libexec/httpd/dir-index-bozo.c			1.6-1.19
libexec/httpd/ssl-bozo.c			1.5-1.16
libexec/httpd/tilde-luzah-bozo.c		1.5-1.10
libexec/httpd/lua-bozo.c			1.1-1.9
libexec/httpd/main.c				1.1-1.7
libexec/httpd/netbsd_queue.h			1.1
libexec/httpd/printenv.lua			1.1-1.2
libexec/httpd/debug/Makefile			1.1
libexec/httpd/libbozohttpd/Makefile		1.2
libexec/httpd/libbozohttpd/libbozohttpd.3	1.3
libexec/httpd/libbozohttpd/shlib_version	1.1
libexec/httpd/lua/Makefile			1.1
libexec/httpd/lua/bozo.lua			1.1
libexec/httpd/lua/glue.c			1.1
libexec/httpd/lua/optparse.lua			1.1
libexec/httpd/lua/shlib_version			1.1
libexec/httpd/small/Makefile			1.1-1.2
libexec/httpd/testsuite/Makefile		1.4
libexec/httpd/testsuite/html_cmp		1.4
libexec/httpd/testsuite/t1.in			1.3
libexec/httpd/testsuite/t1.out			1.3
libexec/httpd/testsuite/t10.in			1.1
libexec/httpd/testsuite/t10.out			1.1
libexec/httpd/testsuite/t2.in			1.3
libexec/httpd/testsuite/t2.out			1.3
libexec/httpd/testsuite/t3.in			1.3
libexec/httpd/testsuite/t3.out			1.3
libexec/httpd/testsuite/t4.in			1.3
libexec/httpd/testsuite/t4.out			1.3
libexec/httpd/testsuite/t5.in			1.3
libexec/httpd/testsuite/t5.out			1.3
libexec/httpd/testsuite/t6.in			1.3
libexec/httpd/testsuite/t6.out			1.3
libexec/httpd/testsuite/t7.in			1.3
libexec/httpd/testsuite/t7.out			1.3
libexec/httpd/testsuite/t8.in			1.3
libexec/httpd/testsuite/t8.out			1.3
libexec/httpd/testsuite/t9.in			1.3
libexec/httpd/testsuite/t9.out			1.3
libexec/httpd/testsuite/test-bigfile		1.1
libexec/httpd/testsuite/data/bigfile		1.1
libexec/httpd/testsuite/data/bigfile.partial4000 1.1
libexec/httpd/testsuite/data/bigfile.partial8000 1.1
libexec/httpd/testsuite/data/file		1.3
libexec/httpd/testsuite/data/index.html		1.3

	Update bozohttpd from 20080303+patches to 20140708.

changes in bozohttpd 20140708:
	o  fixes for virtual host support, from rajeev_v_pillai@@yahoo.com
	o  avoid printing double errors, from shm@@netbsd.org
	o  fix a security issue in basic HTTP authentication which would allow
	   authentication to be bypassed, from shm@@netbsd.org

changes in bozohttpd 20140201:
	o  support .svg files
	o  fix a core dump when requests timeout

changes in bozohttpd 20140102:
	o  update a few content types
	o  add support for directly calling lua scripts to handle
	   processes, from mbalmer@@netbsd.org
	o  properly escape generated HTML
	o  add authentication for redirections, from martin@@netbsd.org
	o  handle chained ssl certifications, from elric@@netbsd.org
	o  add basic support for gzipped files, from elric@@netbsd.org
	o  properly escape generated URIs

changes in bozohttpd 20111118:
	o  add -P <pidfile> option, from jmmv@@netbsd.org
	o  avoid crashes with http basic auth, from pooka@@netbsd.org
	o  add support for REDIRECT_STATUS variable, from tls@@netbsd.org
	o  support .mp4 files in the default map
	o  directory indexes with files with : are now displayed properly, from
	   reed@@netbsd.org
	o  allow -I option to be useful in non-inetd mode as well

changes in bozohttpd 20100920:
	o  properly fully disable multi-file mode for now
	o  fix the -t and -U options when used without the -e option, broken since
	   the library-ifcation
	o  be explicit that logs go to the FTP facility in syslog
	o  use scandir() with alphasort() for sorted directory lists, from moof
	o  fix a serious error in vhost handling; "Host:.." would allow access to
	   the next level directory from the virtual root directory, from seanb
	o  fix some various non standard compile time errors, from rudolf
	o  fix dynamic CGI content maps, from rudolf

changes in bozohttpd 20100617:
	o  fix some compile issues
	o  fix SSL mode.  from rtr
	o  fix some cgi-bin issues, as seen with cvsweb
	o  disable multi-file daemon mode for now, it breaks
	o  return 404's instead of 403's when chdir of ~user dirs fail
	o  remove "noreturn" attribute from bozo_http_error() that was
	   causing incorrect runtime behaviour

changes in bozohttpd 20100509:
	o  major rework and clean up of internal interfaces.  move the main
	   program into main.c, the remaining parts are useable as library.
	   add bindings for lua.  by Alistair G. Crooks <agc@@netbsd.org>
	o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325

changes in bozohttpd 20090522:
	o  avoid dying in daemon mode for some uncommon, but recoverable, errors
	o  close leaking file descriptors for CGI and daemon mode
	o  handle poll errors properly
	o  don't try to handle more than one request per process yet
	o  add subdirs for build "debug" and "small" versions
	o  clean up a bad merge / duplicate code
	o  make mmap() usage portable, fixes linux & ranges: support
	o  document the -f option
	o  daemon mode now serves 6 files per child

changes in bozohttpd 20090417:
	o  make bozohttpd internally more modular, preparing the way
	   to handle more than one request per process
	o  fix http-auth, set $REMOTE_USER not $REMOTEUSER.  also fix
	   cgi-bin with cvsweb, from Holger Weiss <holger@@CIS.FU-Berlin.DE>
	o  fix an uninitialised variable use in daemon mode
	o  fix ssl mode with newer OpenSSL
	o  mmap large files in manageable sizes so we can serve any size file
	o  refactor url processing to handle query strings correctly for CGI
	   from Sergey Katsev at Coyote Point
	o  add If-Modified-Since support, from Joerg Sonnenberger
	   <joerg@@netbsd.org>
	o  many more manual fixes, from NetBSD
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
d7 1
a7 4
OPT=	-O
LARGE_CFLAGS=	-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LOCAL_CFLAGS=	-DNO_LUA_SUPPORT
CFLAGS=	$(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
d14 1
a14 1
	dir-index-bozo.c lua-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
d17 1
a17 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


1.2.12.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import of bozohttpd for its originally intended purpose: a small (~30k)
simple run-from-inetd httpd suitable for small systems (and some large
ones).
@
text
@@


1.1.1.2
log
@import bozohttpd 20100509.  it has these changes:
o  major rework and clean up of internal interfaces.  move the main
   program into main.c, the remaining parts are useable as library.
   add bindings for lua.  by Alistair G. Crooks <agc@@netbsd.org>
o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325


special thanks to al for the majority of these changes.
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.8 2010/05/10 02:24:30 mrg Exp $
d14 1
a14 1
	dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c main.c
@


1.1.1.3
log
@import bozohttpd 20100510 -- just fixes some compile errors.
@
text
@d1 1
a1 1
# $eterna: Makefile.boot,v 1.9 2010/05/10 04:57:50 mrg Exp $
d7 1
a7 1
CFLAGS=	-O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
d17 1
a17 1
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o bozohttpd $(FILES) $(CRYPTOLIBS)
@


