summaryrefslogtreecommitdiff
path: root/www/thttpd
AgeCommit message (Collapse)AuthorFilesLines
2003-01-28Instead of including bsd.pkg.install.mk directly in a package Makefile,jlam1-2/+2
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
2002-09-20Make these scripts more portable by taking advantage of automatic rc.dgrant1-3/+3
script handling and using @RCD_SCRIPTS_SHELL@. as discussed with jlam.
2002-09-19Take advantage of the auto-generation and installation of rc.d scripts.jlam1-3/+2
2002-06-16pkglint silencing.wiz1-6/+6
2002-06-16Update to 2.23beta1, as requested in pkg/17251 by Oliver Tonnhofer.wiz4-13/+18
Changes since 2.21b: * Added some Microsoft MIME types (Kevin Day). * Switch htpasswd from using tmpnam to mkstemp. * Rewrote figure_mime() to do binary search. * Removed the x- from gzip and compress in mime_encodings.txt. * Added rudimentary option to set cache-control headers. * Simplified the IPv6 ifdefs. * Allow filenames with ? in them (Cameron Gregory). * Some improvements to the mmap cache - added a "panic mode" if you run out of address space, added DESIRED_MAX_MAPPED_BYTES config.h option. * Lowered OCCASIONAL_TIME from five minutes to two minutes. * Fix CGI variable AUTH_TYPE (Alexandre CHERIF). * Split clear_connection() into two routines, one which sends a possible buffered response and the other which ignores such (David Burgess). * Remove /./ in de_dotdot() (Dana Dahlstrom). * Shortened LINGER_TIME from two seconds to half a second. * Changed some write() calls to httpd_write_fully(), as suggested by Neale Pickett. * Changed the non-mmap() read() call in mmc.c to httpd_read_fully(), as suggested by Cameron Gregory. * Added an madvise(MADV_SEQUENTIAL) call in mmc.c. * Added .xhtml and .xht to mime_types.txt (suggested by Dave Hodder). * Added index.xhtml and index.xht to INDEX_NAMES (suggested by Dave Hodder). * Got rid of the custom-jiggered syslog.c, now we just use the standard system version. Also added a paragraph in the man page about the syslogd flags needed to make syslogging work from inside a chroot tree. * Added some OpenOffice MIME types (Dave Hodder). * Lowered the default DESIRED_MAX_MAPPED_FILES from 2000 to 1000. * Set up accept filters after listen() (Kris Spinka). * Preserve query string when doing a missing-slash directory redirect. * Special-case logging to '-' as stdout (Matt Armstrong). * Added -s to usage line (Pavel Janík). * Fix for security hole that exposed contents of .htpasswd in some cases (noticed by zeno@cgisecurity.com). * Allow (and ignore) extra fields in .htpasswd files. * Added some calls to shutdown() in strategic places. * Added a timer-kill of the CGI interpose input and output process. These processes also now close the listen fd(s). * Fixed rare file descriptor leak, when we get an unknown sockaddr family (George Schlossnagle). * Put virtual hostname in non-local referer syslog (Craig Leres). * Added a P3P server privacy header setting (Henrik Schack Jensen). And lots of other bug fixes.
2002-05-12don't change .htpasswd into .thtpasswdjoda1-2/+2
2002-02-05Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".jlam1-3/+3
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-3/+1
automatically, so no need to do it ourselves.
2001-11-26Forgot a CONFDIR -> PKG_SYSCONFDIR replacement.jlam1-3/+3
2001-11-25PKG_SYSCONFDIR is where the configuration files for a package may be found.jlam1-2/+2
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
2001-11-21These rc.d scripts are copied to ${RCD_SCRIPTS_DIR} == /etc/rc.d, so changejlam1-7/+7
the test for pre-rc.d systems to just whether /etc/rc.subr is present.
2001-11-21RCD_SCRIPTS now just lists the filenames (see bsd.pkg.install.mk).jlam1-2/+2
2001-11-19Adapt to use shared INSTALL/DEINSTALL scripts by using the logic injlam5-187/+29
bsd.pkg.install.mk: * Remove old DEINSTALL/INSTALL scripts. * Move some text printed at POST-INSTALL time into the MESSAGE file. * Adjust rc.d scripts to respect rc.conf settings, so that the script may be directly copied into /etc/rc.d.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum5-4/+4
2001-07-13In package Makefiles, create FILES_SUBST instead of duplicating sedjlam2-10/+13
expression for substituting in DEINSTALL/INSTALL scripts. Use "${CMP} -s" instead of "diff -q" since the former is more portable across OSes.
2001-06-09Update to 2.21b, as requested in pkg/13144 by Wolfgang Rupprecht.wiz2-5/+5
Changes: Lots of bugfixes (lingering-close problem, USR1 handling, off-by-1 in base64 decoding and others), throttling syslog, tuned throttling, improvements on mmap cache, etc. See http://www.acme.com/software/thttpd/#releasenotes
2001-05-02Add libexec/cgi-bin directory to standard /usr/pkg hierarchy. Remove alljlam1-2/+1
the per-package code that attempt to remove this directory if it's empty.
2001-04-20Move to sha1 digests, and add distfile sizes.skrll1-3/+5
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-10/+8
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2001-02-06Unify format of MESSAGEs, and include RCS Ids.wiz1-1/+2
2001-01-14Install cgi-bin programs with executable bit set, and modify thttpd rc.djlam3-13/+22
script to check for the pid instead of requiring a pidfile that may not exist.
2000-12-18Make this default file more useful with regard to accepting URIs tojlam1-4/+11
CGI programs. Also add a comment about syntax of this file.
2000-12-17Honor CFLAGS passed in from environment during build. Improve the INSTALLjlam7-25/+158
script and add a DEINSTALL script in handling the config file.
2000-10-28upgrade to 2.20b. main purpose for this upgrade is security fix.itojun2-4/+4
--- New in version 2.20b: * Corrected version of Marcel Telka's ssi fix. My bad. New in version 2.20: * Performance improvements to the timer package via hashing, and double-linking / sorting the lists. Partially based on a suggestion by Michal Ostrowski. * Performance improvement to the mmap cache package, from Evan Jones. * Minor Linux fix for open files limit, from Jordan Ritter. * Fix for null ClientData, which picky compilers didn't like. * Unknown sockaddr type becomes a non-fatal error, preventing a DOS attack. * Close extraneous file descriptors on CGI calls - from Russell Dill. * Security fixes for the external ssi program, from ghandi@dopesquad.net and Wolfgang Rupprecht. * Fix to make the ssi program elide the HTML comment sequence, from Marcel Telka. * Red Hat packaging updates from Bennett Todd. * Throttling fix from Tom Pavel.
2000-09-20Install rc.d control script as "foo" instead of "foo.sh" to comply withjlam3-5/+7
how NetBSD's rc.d system interprets script names. Also add appropriate REQUIRE and PROVIDE sections to allow direct use in NetBSD's rc.d system.
2000-08-06Make sure that thttpd uses a pidfile when running. Also some minorjlam2-7/+8
nits to make startup script nicer.
2000-08-06Remove empty linejlam1-2/+1
2000-08-01Because "thttpd" is not the only HTTP daemon in the package collectiontron1-2/+3
use "@unexec rmdir" on "libexec/cgi-bin".
2000-08-01Missing a " in the installed index.html. Now the little NetBSD logojlam2-4/+4
actually appears, which is good for advertising :)
2000-07-27Remove trailing whitespace.jlam1-2/+2
2000-07-27Find default document root in ${PREFIX}/share/thttpd, notjlam1-2/+2
${PREFIX}/share/www.
2000-07-27Put files in ${PREFIX}/share/thttpd, not ${PREFIX}/share/www.jlam4-12/+12
2000-07-27Update thttpd to 2.19. Changes from 2.16:jlam13-100/+129
New in version 2.19: * Added hack to prevent MSIE 5 from censoring error messages. * Minor fix to handling of shouldn't-happen error in ls(). * IPv6/Linux fix from Tero Pelander. * Documented the -D flag. New in version 2.18: * Fixed URL-encoding of high-bit characters - used in directory listings. * Made a few more characters come through verbatim instead of %-encoded. * Couple of minor code cleanups. * Added some MIME types to support WAP/WML. * IPv6 fix. * Made MIME text character-set an option, with iso-8859-1 the default. New in version 2.17: * A change in the way wildcard matching works - now a single * only matches strings that don't include a slash. To match entire pathnames including slashes you have to use **. * On systems with IPv6, automatically bind to both v4 and v6 sockets. * Slight change to non-local referer checking to handle older browsers. * Tweaks to some of the error-403 syslog messages. * Portability tweak for OSF/1. * Portability tweak for IPv6 systems. * Fix for ssi.c from Marcel Telka. * Added charset=iso-8859-1 to text MIME types. * Added wildcards to redirect. * Changed symlinks/nosymlinks config options to symlink/nosymlink, to conform to the man page (old style still accepted).
2000-04-07fix IPv6 build.itojun6-6/+59
upgrade 2.15 -> 2.16. changes from webpage: - More explicit error pages for 403 Forbidden. - New section in the manual page explaining how thttpd is picky about file permissions. - Couple of CGI tweaks from David Chaiken.
2000-03-01no need to specify %D for @dirrm - remove ithubertf1-2/+2
2000-02-09Update to V2.15.hubertf7-32/+43
Main reason: IPv6. Changes: New in version 2.15: * Use standard isxdigit macro instead of is_hexit routine. * Portability fix for Debian, which lacks gai_strerror(). * Fix for .htpasswd authorization, broken by 2.14's custom error pages change. New in version 2.14: * Fix to non-local referer code - it was trying to dereference a null pointer under some circumstances. * Fix to If-Modified-Since - some leap year problems. * Rewrote match() - it was using a whole lot of CPU time for patterns with lots of |'s, such as those used by the new non-local-referer filtering. * Fix to host lookup code for -h flag. * Fix custom error pages to work with 401 Unauthorized. * Removed unused variable. New in version 2.13: * Portability fix for fdwatch on systems with poll() but not select(). * Renamed nph-redirect to redirect, now that thttpd does header parsing. * Always chdir to / after a chroot. * Some minor de-linting changes. * Revived code that closes stdin/stdout/stderr, after adding a fix in the CGI code to prevent descriptors from getting screwed up. * Bugfix for CGI header parsing - if the CGI was sending binary data (e.g. images), the result could get truncated or corrupted. * Disallow ".." listing of virtual host directory. * Revised snprintf portability fix. * Rearranged the hc initialization so it's all in one place. * New IPv6 code from KIKUCHI Takahiro. * New non-local referer filtering code from Craig Leres. * New custom error pages code from Catalin Ionescu. New in version 2.12: * Better heuristic for deciding between select() and poll(). * Added Red Hat RPM spec file. New in version 2.11: * Use poll() instead of select() when favorable. * Do lazy allocation of part of the connection data structure, to save on memory now that we can have thousands of simultaneous connections. * Some speed optimizations. * Add HTTP_HOST to CGI environment. * Bugfix for rare uninitialized variable. New in version 2.10: * Bugfix for CGI header parsing. * Call setlogin() if it's available.
1999-12-15Update to thttpd 2.09, plus add 'sitedrivenby.gif'abs5-7/+31
1999-11-21Update "thttpd" package to version 2.05 using patches supplied bytron8-33/+117
Michael Santos in PR pkg/8801. Chances since version 2.04: - New el-cheapo virtual hosting feature. - Assorted bug fixes - non-anchored wildcard matching, truncated CGI output, throttling, authorization cache, daemonization, date-header parsing. - Option to write pid to a file, re-open log file on SIGHUP. - Now looks for index files from a list, instead of only index.html. - Simple config file.
1999-07-09Add package patch checksum files.agc1-0/+3
1999-05-10Remove "${PREFIX}/www" again because it is not used by any other packagetron1-1/+2
any more. XXX The directory structure of this package should be rearranged.
1999-05-10Don't attempt to delete "${PREFIX}/www", it is used by other packags, too.tron1-2/+1
1999-04-10New "thttpd-2.04" package supplied by Michael Santos in PR pkg/7323:tron7-0/+77
tiny/turbo/throttling HTTP server