head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.132 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.130 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.128 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.126 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.124 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.122 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.120 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.118 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.116 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.114 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.112 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.110 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.108 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.106 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.104 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.102 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.100 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.98 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.96 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.94 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.92 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.90 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.88 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.84 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.64 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.86 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.82 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.80 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.78 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.76 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.74 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.72 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.70 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.68 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.66 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.62 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.60 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.58 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.56 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.54 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.52 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.50 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.48 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.46 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.44 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.42 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.40 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.38 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.36 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.34 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.32 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.30 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.28 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.26 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.24 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.22 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.20 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.18 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.16 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.14 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.12 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.10 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.8 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.6 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.4 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.6.0.58 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.56 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.54 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.52 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.50 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.48 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.46 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.44 pkgsrc-2008Q1:1.6.0.42 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.40 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.38 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.36 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.34 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.32 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.30 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.28 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.26 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.24 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.22 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.20 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.18 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.16 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.14 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.12 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.10 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.8 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.4 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.6 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.2 pkgviews-base:1.6 buildlink2:1.5.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2; locks; strict; comment @# @; 1.7 date 2009.12.13.17.42.36; author asau; state Exp; branches; next 1.6; 1.6 date 2002.06.16.19.10.26; author wiz; state Exp; branches; next 1.5; 1.5 date 2001.01.14.06.14.14; author jlam; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2000.12.17.22.21.45; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.07.27.12.42.08; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.02.09.20.55.29; author hubertf; state Exp; branches; next 1.1; 1.1 date 99.11.21.23.03.38; author tron; state Exp; branches; next ; 1.5.2.1 date 2002.06.23.19.04.45; author jlam; state Exp; branches; next ; desc @@ 1.7 log @Rename internal "getline" to unbreak build on NetBSD. Support staged installation. @ text @$NetBSD: patch-ac,v 1.6 2002/06/16 19:10:26 wiz Exp $ --- cgi-src/Makefile.in.orig 2005-06-29 21:53:04.000000000 +0400 +++ cgi-src/Makefile.in 2009-12-13 20:29:23.000000000 +0300 @@@@ -34,7 +34,7 @@@@ CCOPT = @@V_CCOPT@@ DEFS = @@DEFS@@ INCLS = -I.. -CFLAGS = $(CCOPT) $(DEFS) $(INCLS) +CFLAGS += $(CCOPT) $(DEFS) $(INCLS) LDFLAGS = @@LDFLAGS@@ @@V_STATICFLAG@@ LIBS = @@LIBS@@ NETLIBS = @@V_NETLIBS@@ @@@@ -67,17 +67,17 @@@@ cd .. ; $(MAKE) $(MFLAGS) strerror.o install: all - -mkdir -p $(CGIBINDIR) - rm -f $(CGIBINDIR)/redirect - cp redirect $(CGIBINDIR)/redirect - rm -f $(MANDIR)/man8/redirect.8 - cp redirect.8 $(MANDIR)/man8/redirect.8 - rm -f $(CGIBINDIR)/ssi - cp ssi $(CGIBINDIR)/ssi - rm -f $(MANDIR)/man8/ssi.8 - cp ssi.8 $(MANDIR)/man8/ssi.8 - rm -f $(CGIBINDIR)/phf - cp phf $(CGIBINDIR)/phf + -mkdir -p $(DESTDIR)$(CGIBINDIR) + rm -f $(DESTDIR)$(CGIBINDIR)/redirect + $(BSD_INSTALL_PROGRAM) redirect $(DESTDIR)$(CGIBINDIR)/redirect + rm -f $(DESTDIR)$(MANDIR)/man8/redirect.8 + $(BSD_INSTALL_MAN) redirect.8 $(DESTDIR)$(MANDIR)/man8/redirect.8 + rm -f $(DESTDIR)$(CGIBINDIR)/ssi + $(BSD_INSTALL_PROGRAM) ssi $(DESTDIR)$(CGIBINDIR)/ssi + rm -f $(DESTDIR)$(MANDIR)/man8/ssi.8 + $(BSD_INSTALL_MAN) ssi.8 $(DESTDIR)$(MANDIR)/man8/ssi.8 + rm -f $(DESTDIR)$(CGIBINDIR)/phf + $(BSD_INSTALL_PROGRAM) phf $(DESTDIR)$(CGIBINDIR)/phf clean: rm -f $(CLEANFILES) @ 1.6 log @Update to 2.23beta1, as requested in pkg/17251 by Oliver Tonnhofer. 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. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- cgi-src/Makefile.in.orig Mon Nov 12 22:52:00 2001 +++ cgi-src/Makefile.in d14 3 a16 1 @@@@ -69,15 +69,15 @@@@ d18 2 a19 2 -mkdir -p $(CGIBINDIR) rm -f $(CGIBINDIR)/redirect d21 1 a21 2 + $(BSD_INSTALL_PROGRAM) redirect $(CGIBINDIR)/redirect rm -f $(MANDIR)/man8/redirect.8 d23 1 a23 2 + $(BSD_INSTALL_MAN) redirect.8 $(MANDIR)/man8/redirect.8 rm -f $(CGIBINDIR)/ssi d25 1 a25 2 + $(BSD_INSTALL_PROGRAM) ssi $(CGIBINDIR)/ssi rm -f $(MANDIR)/man8/ssi.8 d27 1 a27 2 + $(BSD_INSTALL_MAN) ssi.8 $(MANDIR)/man8/ssi.8 rm -f $(CGIBINDIR)/phf d29 11 a39 1 + $(BSD_INSTALL_PROGRAM) phf $(CGIBINDIR)/phf @ 1.5 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2000/12/17 22:21:45 jlam Exp $ d3 1 a3 1 --- cgi-src/Makefile.in.orig Tue Sep 26 16:20:14 2000 d16 1 a16 1 -mkdir $(CGIBINDIR) @ 1.5.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2002/06/16 19:10:26 wiz Exp $ d3 1 a3 1 --- cgi-src/Makefile.in.orig Mon Nov 12 22:52:00 2001 d16 1 a16 1 -mkdir -p $(CGIBINDIR) @ 1.4 log @Honor CFLAGS passed in from environment during build. Improve the INSTALL script and add a DEINSTALL script in handling the config file. @ text @d1 1 a1 1 $NetBSD$ d25 1 a25 1 + $(BSD_INSTALL_MAN) ssi $(CGIBINDIR)/ssi d31 1 a31 1 + $(BSD_INSTALL_MAN) phf $(CGIBINDIR)/phf @ 1.3 log @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). @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2000/02/09 20:55:29 hubertf Exp $ d3 12 a14 3 --- cgi-src/Makefile.in.BAK Wed Feb 9 21:12:32 2000 +++ cgi-src/Makefile.in Wed Feb 9 21:13:16 2000 @@@@ -67,15 +67,15 @@@@ @ 1.2 log @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. @ text @d1 1 a1 3 $NetBSD$ $NetBSD$ @ 1.1 log @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. @ text @d2 1 d4 4 a7 4 --- cgi-src/Makefile.in.orig Wed Sep 15 17:57:19 1999 +++ cgi-src/Makefile.in Sun Nov 21 23:57:31 1999 @@@@ -66,15 +66,15 @@@@ d9 7 a15 6 rm -f $(CGIBINDIR)/nph-redirect - cp nph-redirect $(CGIBINDIR)/nph-redirect + $(BSD_INSTALL_PROGRAM) nph-redirect $(CGIBINDIR)/nph-redirect rm -f $(MANDIR)/man8/nph-redirect.8 - cp nph-redirect.8 $(MANDIR)/man8/nph-redirect.8 + $(BSD_INSTALL_MAN) nph-redirect.8 $(MANDIR)/man8/nph-redirect.8 d18 1 a18 1 + $(BSD_INSTALL_PROGRAM) ssi $(CGIBINDIR)/ssi d24 1 a24 1 + $(BSD_INSTALL_PROGRAM) phf $(CGIBINDIR)/phf @