Commit graph

73 commits

Author SHA1 Message Date
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
jlam
dea113dec7 Install cgi-bin programs with executable bit set, and modify thttpd rc.d
script to check for the pid instead of requiring a pidfile that may not
exist.
2001-01-14 06:14:13 +00:00
jlam
714d2c98a1 Make this default file more useful with regard to accepting URIs to
CGI programs.  Also add a comment about syntax of this file.
2000-12-18 00:16:26 +00:00
jlam
2241a81cb3 Honor CFLAGS passed in from environment during build. Improve the INSTALL
script and add a DEINSTALL script in handling the config file.
2000-12-17 22:21:44 +00:00
itojun
da6833051b upgrade to 2.20b. main purpose for this upgrade is security fix.
---
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-10-28 02:35:52 +00:00
jlam
9ab26c50e7 Install rc.d control script as "foo" instead of "foo.sh" to comply with
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-09-20 05:14:10 +00:00
jlam
9d09a539fc Make sure that thttpd uses a pidfile when running. Also some minor
nits to make startup script nicer.
2000-08-06 02:51:59 +00:00
jlam
63a7e2f8c4 Remove empty line 2000-08-06 02:48:35 +00:00
tron
1b67217a5f Because "thttpd" is not the only HTTP daemon in the package collection
use "@unexec rmdir" on "libexec/cgi-bin".
2000-08-01 18:47:50 +00:00
jlam
bcaaeb83c4 Missing a " in the installed index.html. Now the little NetBSD logo
actually appears, which is good for advertising :)
2000-08-01 12:38:45 +00:00
jlam
2de66ffdb2 Remove trailing whitespace. 2000-07-27 12:54:15 +00:00
jlam
099a8cda10 Find default document root in ${PREFIX}/share/thttpd, not
${PREFIX}/share/www.
2000-07-27 12:49:22 +00:00
jlam
3a4e0c9434 Put files in ${PREFIX}/share/thttpd, not ${PREFIX}/share/www. 2000-07-27 12:47:33 +00:00
jlam
0cc03ae1d8 Update thttpd to 2.19. Changes from 2.16:
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-07-27 12:42:08 +00:00
itojun
5ce609ddb2 fix IPv6 build.
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-04-07 10:11:54 +00:00
hubertf
d131fd6fb8 no need to specify %D for @dirrm - remove it 2000-03-01 16:12:13 +00:00
hubertf
3c4ef849f9 Update to V2.15.
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.
2000-02-09 20:55:27 +00:00
abs
77cbc5d565 Update to thttpd 2.09, plus add 'sitedrivenby.gif' 1999-12-15 14:48:48 +00:00
tron
8c2bf0423a Update "thttpd" package to version 2.05 using patches supplied by
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-11-21 23:03:37 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tron
b88211b582 Remove "${PREFIX}/www" again because it is not used by any other package
any more.

XXX The directory structure of this package should be rearranged.
1999-05-10 22:38:10 +00:00
tron
b836c7d408 Don't attempt to delete "${PREFIX}/www", it is used by other packags, too. 1999-05-10 07:50:50 +00:00
tron
fa678d8737 New "thttpd-2.04" package supplied by Michael Santos in PR pkg/7323:
tiny/turbo/throttling HTTP server
1999-04-10 22:01:10 +00:00