summaryrefslogtreecommitdiff
path: root/www/bozohttpd
AgeCommit message (Collapse)AuthorFilesLines
2004-06-21* Fix SIGCHLD handlerlukem3-19/+70
* Only decode %xx up to the first '?' in all requests, per RFC2396. * Crank PKGREVISION * Set SERVER_SOFTWARE to explicitly contain "nb6" (the PKGREVISION). (I would have done this with CPPFLAGS, except the make/shell/cpp quoting ended up too hairy & fragile)
2004-04-29Add SCRIPT_FILENAME to the environment variables provided to CGIs,lukem3-19/+27
as a copy of SCRIPT_NAME with the leading `/' removed. Note that SCRIPT_FILENAME is _not_ a CGI/1.1 environment variable per http://cgi-spec.golux.com/ If SCRIPT_FILENAME is not set set PHP 4.3.6 as a CGI fails with No input file specified. Apache sets this variable; it appears that many other CGI/1.1 compliant web servers do not and thus PHP 4.3.6 as a CGI doesn't function with them. "oh joy."
2004-03-28regen (sorry)martin1-2/+2
2004-03-28New sentence, new line + spelling fixes. Belatedly bump pkgrevisionmartin2-11/+19
for absolute redirects. Pointed out by wiz.
2004-03-28Fix http headers for cgi scripts (from tyler).martin3-7/+188
Add absolute redirects via .bzabsredirect symbolic links.
2004-03-26PKGREVISION bump after openssl-security-fix-update to 0.9.6m.wiz1-2/+2
Buildlink files: RECOMMENDED version changed to current version.
2004-03-02Add MIME type for bittorrent files. PKGREVISION=2.wiz3-5/+13
2004-02-24Add patch from mrg@ that removes superfluous HTTP protocol lineswiz3-2/+17
at the end of CGI script output. Bump PKGREVISION to 1.
2004-02-18Include openssl/buildlink3.mk to link against OpenSSL libraries.jlam1-4/+4
2004-02-18Uppercase abbreviations and first letters in sentences;wiz1-5/+5
"its" is the possessive (without a single quote); grammar fix.
2004-02-18update to bozohttpd 20040218. changes include:mrg3-9/+11
o new .bzredirect file support for sane directory redirection o new -Z option that enables SSL mode, from <rtr@eterna.com.au> o the -C option has been changed to take two explicit options, rather than a single option with a space separating the suffix and the interpreter. ``-C ".foo /path/to/bar"'' should now be written as ``-C .foo /path/to/bar'' o the -M option has been changed like -C and no longer requires or supports a single argument with space-separated options o with -a, still print the 200 OK. from <rtr@eterna.com.au> o with -r, if a .bzdirect file appears in a directory, allow direct access to this directory
2004-01-05bl3ifyjlam1-2/+6
2003-10-06update to bozohttpd 20031005. changes include:mrg1-36/+0
o fixes for basic authorisation. from <ecu@ipv42.net> o always display file size in directory index mode o add .xbel, .xml & .xsl -> text/xml mappings. from <wiz@danbala.ifoer.tuwien.ac.at>
2003-10-06update to bozohttpd 20031005. changes include:mrg2-7/+7
o fixes for basic authorisation. from <ecu@ipv42.net> o always display file size in directory index mode o add .xbel, .xml & .xsl -> text/xml mappings. from <wiz@danbala.ifoer.tuwien.ac.at>
2003-09-27Fix build with gcc3 (hi mrg! :) ).wiz2-4/+26
2003-09-22Teach bozohttpd some XML mime types (mozilla needs them).wiz3-2/+18
Bump PKGREVISION.
2003-08-30"It's" stands for "it is" (or "it has"). The apostrophe is not usedreed1-1/+1
for a possessive (like her, his, whose, their, and its). Note that I didn't check for proper use of "its" (when it should be "it is" or "it has" instead). I also saw over 15 other grammar or punctuation problems, but not fixed in this commit.
2003-07-22COMMENT should start with a capital letter.martti1-2/+2
2003-07-09update to bozohttpd 20030622. changes since bozohttpd 20030409:mrg2-5/+5
o fix a recent core dump when given no input o add new -r flag that ensures referrer is set to this host o fix several compile time errors with -DNO_CGIBIN_SUPPORT o fix some man page details. from lukem@wasabisystems.com o re-add a missing memset(), fixing a core dump. from lukem o support HTTP basic authorisation, disabled by default. from lukem o print the port number in redirects and errors. from lukem o only syslog the basename of the program. from lukem o add __attribute__() format checking. from lukem o fix cgibin SCRIPT_NAME to have a leading /. from zakj@nox.cx o simplify some code in -C to avoid a core dump. from lukem o add a .css -> css/text entry to the content_map[]. from zakj@nox.cx
2003-06-11update to bozohttpd 20030409.mrg2-5/+5
o -d without DEBUG enabled only prints one warning and continues o one can now define the C macro SERVER_SOFTWARE when building to change the Server: header and CGI variable of the same name o add new -s flag the force logging output to stderr. from zakj@nox.cx o add new -a flag for CGI bin that stops bozohttpd from outputting any HTTP reply, the CGI program must output these. from zakj@nox.cx o new REQUEST_URI and DATE_GMT environment variables for CGI. from zakj@nox.cx o add a "Makefile.boot" that should work with any make program o build on linux again o fix core dumps when using -C
2003-03-13update to bozohttpd 20030313.mrg2-5/+5
changes since bozohttpd 20021106: o deprecate -r flag; make this the default and silently ignore -r now o add support for file extentions to call CGI programs (from lukem) o add dynamic support to add new content map entries, allowing both new file types and non /cgi-bin CGI programs to be run with the new -C "suffix cgihandler" and -M "suffix type encoding encoding11" options o in -b mode, set the http date after accept() returns, not before we call accept(). o in -b mode, bind all addresses found not just the first one o unsupport old hostname API o in -b mode, set the SO_REUSEADDR socket option (lukem) o allow -x (index.html) mode to work with CGI handlers
2002-11-06update to bozohttpd 20021106. changes:mrg3-39/+5
o add .bz2 support o properly escape <, > and & in error messages, partly from Nicolas Jombart <ecu@mariejeanne.net> o new -H flag to hide .* files in directory index mode o fix buffer reallocation when parsing a request, to avoid overflowing the buffer with carriage returns (\r) o do not decode "%XY"-style cgi-bin data beyond the "?"
2002-10-26Add a patch that fixes a problem with some quoted chars and cgibins.wiz3-2/+36
Patch provided by mrg -- thanks! Bump PKGREVISION.
2002-09-13update to bozohttpd 5.15. changes are:mrg3-37/+5
o add .ogg support -> `application/x-ogg' o fix CGI requests with "/" in the query part
2002-09-12Fix a problem with cgi-bin's and the GET method.wiz3-2/+34
Patch from mrg, due to be included in the next release, but who knows when that will be ;) Bump to 5.14nb1.
2002-09-09Patch the man page at pre-build instead of post-build so the catpage isjlam1-2/+2
generated with the fixes.
2002-09-09Directly replace the "/usr/pkg" reference in the man page with "${PREFIX}"jlam3-33/+8
in the package Makefile in one step instead of three.
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam3-7/+7
have been converted to USE_BUILDLINK2.
2002-08-23update to bozohttpd 5.14. changes include:mrg4-63/+19
o allow -X mode to work for "/" o work on systems without MADV_SEQUENTIAL o make a local cut-down copy of "queue.h" (fixes linux & solaris support at the very least) o portability fixes for pre-ipv6 socket api systems (eg, solaris 7) o portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname o better documentation on virtual host support
2002-08-21check that USE_INET6 is defined.grant1-2/+2
remove extraneous parenthesis around .if (${FOO} ..) conditions.
2002-08-05pull in a patch from development sources that fixes a bug in directorymrg2-1/+53
index generation of the root of the web tree. bump to bozohttpd 5.13nb1.
2002-08-05pull in a patch from development sources that fixes a bug in directorymrg1-1/+2
index generation of the root of the web tree. bump to bozohttpd 5.13nb1.
2002-08-04Update to 5.13, provided by the author and maintainer.wiz4-723/+7
changes since bozohttpd 5.12: o support .mp3 files (type audio/mpeg) o use stat() to find out if something is a directory, for -X mode changes since bozohttpd 5.11: o constification o fixes & enhancements for directory index mode (-X)
2002-08-02fix compilation with -Werror enabled on netbsd-1.5.3/alpha.dmcmahill2-1/+704
patch from Matt Green.
2002-07-30Update to 5.11.wiz2-5/+5
Changes since 5.10: o more man page fixes from Thomas Klausner o de-K&R C-ification o fix Date: header for daemon mode o fix core dump when asking for /cgi-bin/ when CGI isn't configured o use a valid Server: header
2002-07-10update to bozohttpd 5.10. changes include:mrg6-384/+18
- many man pages and updates - freebsd support - cgi-bin fixes - improved logging - builtin chroot support
2002-06-26+ ensure that ${SCRIPT_NAME} contains full path of script (previouslylukem4-11/+357
the leading "cgi-bin/" was stripped) + convert '-' to '_' in ${HTTP_xxx} environment variable names, and ensure that the names are NUL terminated + lookup addr, host (unless -n) and port for every request, not just cgi requests, and log the host & port in "got request ..." message + fix -n to work as documented; set it to *prevent* addr->name lookups + document -n is useful even without -c + don't deref NULL pointers in printf %s + be consistent about stripping leading `/' from command + clean up how "cgi-bin/" prefix is hardcoded in + fix -Wall compile issues + bump package revision
2002-04-23Remove accidentally commited local hack - don't add -DDEBUG to CFLAGSzuntum1-2/+1
2002-04-23Merge 2 patches for the same file into one diffzuntum4-18/+14
2002-04-23When in DEBUG_OBESE, log cgibin's value as well as slashdir'szuntum2-1/+14
2002-04-23Make debugging work as expected - compare dflag with level properlyzuntum2-1/+15
2001-12-14update to bozohttpd 5.09. changes include... um, i forget. it can nowmrg3-59/+17
run in a daemon mode at the very least... (ie, no longer inetd or some other daemon starter dependant)
2001-12-03Mark as USE_BUILDLINK_ONLY.jlam1-1/+3
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-4/+4
2001-09-10Man page fixes.wiz2-6/+52
2001-08-12update to bozohttpd 5.08:mrg2-5/+5
- -X directory index support (from ad@netbsd.org) - better http/1.1 conformance - ".pa" support for pac files.
2001-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-2/+1
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-10upgrade to bozohttpd 5.07:mrg2-5/+5
- cgi-bin fixes from chuck@research.att.com - most file types supported by default - allow default file (index.html) and user public directories (~/public_html) to be specified on the command line.
2001-04-20Move to sha1 digests, and add distfile sizes.skrll1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-7/+5
+ move the patch digest/checksum values from files/patch-sum to distinfo