Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[.joined/src/trunk]: .joined/src/libexec/httpd bozohttpd: remove obsolete .bz...



details:   https://anonhg.NetBSD.org/.joined/src/rev/1fcb465816b4
branches:  trunk
changeset: 359422:1fcb465816b4
user:      kim <kim%NetBSD.org@localhost>
date:      Tue Jan 04 06:08:14 2022 +0000

description:
bozohttpd: remove obsolete .bzdirect handling

OK mrg@

diffstat:

 libexec/httpd/CHANGES     |   5 ++++-
 libexec/httpd/bozohttpd.8 |  19 ++++++++++---------
 libexec/httpd/bozohttpd.c |   5 ++---
 libexec/httpd/bozohttpd.h |   5 +----
 4 files changed, 17 insertions(+), 17 deletions(-)

diffs (105 lines):

diff -r fa313575d837 -r 1fcb465816b4 libexec/httpd/CHANGES
--- a/libexec/httpd/CHANGES     Tue Jan 04 05:55:45 2022 +0000
+++ b/libexec/httpd/CHANGES     Tue Jan 04 06:08:14 2022 +0000
@@ -1,4 +1,7 @@
-$NetBSD: CHANGES,v 1.52 2021/09/03 21:54:59 andvar Exp $
+$NetBSD: CHANGES,v 1.53 2022/01/04 06:08:14 kim Exp $
+
+changes in bozohttpd 20220104:
+       o  remove obsolete .bzdirect handling.
 
 changes in bozohttpd 20210824:
        o  new "-m tlsversion" option to set the minimum TLS version
diff -r fa313575d837 -r 1fcb465816b4 libexec/httpd/bozohttpd.8
--- a/libexec/httpd/bozohttpd.8 Tue Jan 04 05:55:45 2022 +0000
+++ b/libexec/httpd/bozohttpd.8 Tue Jan 04 06:08:14 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: bozohttpd.8,v 1.89 2021/08/24 09:47:36 mrg Exp $
+.\"    $NetBSD: bozohttpd.8,v 1.90 2022/01/04 06:08:14 kim Exp $
 .\"
 .\"    $eterna: bozohttpd.8,v 1.101 2011/11/18 01:25:11 mrg Exp $
 .\"
@@ -532,14 +532,9 @@
 .Nm
 looks for a couple of special files in directories that allow certain features
 to be provided on a per-directory basis.
-In addition to the
+The
 .Pa .htpasswd
-used by HTTP basic authorization,
-if a
-.Pa .bzdirect
-file is found (contents are irrelevant)
-.Nm
-will allow direct access.
+file is used by HTTP basic authorization.
 If a
 .Pa .bzredirect
 symbolic link is found,
@@ -659,7 +654,7 @@
 and regular code audits.
 This manual documents
 .Nm
-version 20210824.
+version 20220104.
 .Sh AUTHORS
 .An -nosplit
 .Nm
@@ -826,6 +821,12 @@
 .Aq Mt joerg%NetBSD.org@localhost
 implemented If-Modified-Since support
 .It
+.An Kimmo Suominen
+.Aq Mt kim%NetBSD.org@localhost
+removed obsolete
+.Pa .bzdirect
+handling
+.It
 .An ISIHARA Takanori
 .Aq Mt ishit%oak.dti.ne.jp@localhost
 provided a man page fix
diff -r fa313575d837 -r 1fcb465816b4 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Tue Jan 04 05:55:45 2022 +0000
+++ b/libexec/httpd/bozohttpd.c Tue Jan 04 06:08:14 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.c,v 1.137 2021/12/10 20:36:02 andvar Exp $   */
+/*     $NetBSD: bozohttpd.c,v 1.138 2022/01/04 06:08:14 kim Exp $      */
 
 /*     $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $      */
 
@@ -108,7 +108,7 @@
 #define INDEX_HTML             "index.html"
 #endif
 #ifndef SERVER_SOFTWARE
-#define SERVER_SOFTWARE                "bozohttpd/20210824"
+#define SERVER_SOFTWARE                "bozohttpd/20220104"
 #endif
 #ifndef PUBLIC_HTML
 #define PUBLIC_HTML            "public_html"
@@ -177,7 +177,6 @@
        const char *file;
        const char *name;
 } specials[] = {
-       { DIRECT_ACCESS_FILE, "rejected direct access request" },
        { REDIRECT_FILE,      "rejected redirect request" },
        { ABSREDIRECT_FILE,   "rejected absredirect request" },
        { REMAP_FILE,         "rejected remap request" },
diff -r fa313575d837 -r 1fcb465816b4 libexec/httpd/bozohttpd.h
--- a/libexec/httpd/bozohttpd.h Tue Jan 04 05:55:45 2022 +0000
+++ b/libexec/httpd/bozohttpd.h Tue Jan 04 06:08:14 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bozohttpd.h,v 1.70 2021/08/24 09:47:36 mrg Exp $       */
+/*     $NetBSD: bozohttpd.h,v 1.71 2022/01/04 06:08:14 kim Exp $       */
 
 /*     $eterna: bozohttpd.h,v 1.39 2011/11/18 09:21:15 mrg Exp $       */
 
@@ -267,9 +267,6 @@
  * bozo_check_special_files()
  */
 
-#ifndef DIRECT_ACCESS_FILE
-#define DIRECT_ACCESS_FILE     ".bzdirect"
-#endif
 #ifndef REDIRECT_FILE
 #define REDIRECT_FILE          ".bzredirect"
 #endif



Home | Main Index | Thread Index | Old Index