aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/files
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-06-27 08:22:40 +0800
committerperky <perky@FreeBSD.org>2002-06-27 08:22:40 +0800
commit7de7acb01f9fc3afb687cc6993e7c42c5a796d0b (patch)
tree4f8a144f3c14f8a575acb1141a28e95a9d31a77b /www/apache20/files
parent6b7d4a8d33d60c77e89fdf2e2a56d0fb95709c97 (diff)
downloadfreebsd-ports-gnome-7de7acb01f9fc3afb687cc6993e7c42c5a796d0b.tar.gz
freebsd-ports-gnome-7de7acb01f9fc3afb687cc6993e7c42c5a796d0b.tar.zst
freebsd-ports-gnome-7de7acb01f9fc3afb687cc6993e7c42c5a796d0b.zip
o Fix the htpasswd logic bug around -c and -n options
o Take away WITH_BUNDLED_EXPAT option (use textproc/expat2) o Bump PORTREVISION Prompted by: Jon Noack <noackjr@rice.edu> (htpasswd) Obtained from: Apache Project's CVS (htpasswd)
Diffstat (limited to 'www/apache20/files')
-rw-r--r--www/apache20/files/patch-support:htpasswd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache20/files/patch-support:htpasswd.c b/www/apache20/files/patch-support:htpasswd.c
new file mode 100644
index 000000000000..3267c08e9c31
--- /dev/null
+++ b/www/apache20/files/patch-support:htpasswd.c
@@ -0,0 +1,11 @@
+--- support/htpasswd.c 2002/06/18 02:58:36 1.48
++++ support/htpasswd.c 2002/06/19 17:31:19 1.49
+@@ -375,7 +375,7 @@
+ }
+ }
+
+- if (*mask & (APHTP_NEWFILE | APHTP_NOFILE)) {
++ if ((*mask & APHTP_NEWFILE) && (*mask & APHTP_NOFILE)) {
+ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]);
+ exit(ERR_SYNTAX);
+ }