diff options
author | perky <perky@FreeBSD.org> | 2002-07-08 07:42:04 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-07-08 07:42:04 +0000 |
commit | b17ff6416881c401906dbaba1fb2ad5904e0049c (patch) | |
tree | a082daffe832fabf895efc04310738f7466b1878 /www | |
parent | 45f20f0593f1886f17745ca8a4e94dd612206d3e (diff) | |
download | FreeBSD-ports-b17ff6416881c401906dbaba1fb2ad5904e0049c.zip FreeBSD-ports-b17ff6416881c401906dbaba1fb2ad5904e0049c.tar.gz |
Fix more fatal bugs on htpasswd(1)
Requested by: "Jon Noack" <noackjr@compgeek.com>
Obtained from: Apache Group CVS (rev 1.49-1.51)
Diffstat (limited to 'www')
-rw-r--r-- | www/apache2/Makefile | 2 | ||||
-rw-r--r-- | www/apache2/files/patch-support:htpasswd.c | 22 | ||||
-rw-r--r-- | www/apache20/Makefile | 2 | ||||
-rw-r--r-- | www/apache20/files/patch-support:htpasswd.c | 22 | ||||
-rw-r--r-- | www/apache21/Makefile | 2 | ||||
-rw-r--r-- | www/apache21/files/patch-support:htpasswd.c | 22 | ||||
-rw-r--r-- | www/apache22/Makefile | 2 | ||||
-rw-r--r-- | www/apache22/files/patch-support:htpasswd.c | 22 |
8 files changed, 80 insertions, 16 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 69dd84b..95824f51 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.39 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ diff --git a/www/apache2/files/patch-support:htpasswd.c b/www/apache2/files/patch-support:htpasswd.c index 3267c08..f836f15 100644 --- a/www/apache2/files/patch-support:htpasswd.c +++ b/www/apache2/files/patch-support:htpasswd.c @@ -1,6 +1,14 @@ ---- 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 @@ +--- support/htpasswd.c.orig Tue Jun 18 11:58:36 2002 ++++ support/htpasswd.c Mon Jul 8 16:30:14 2002 +@@ -236,6 +236,7 @@ + strcpy(record, user); + strcat(record, ":"); + strcat(record, cpw); ++ strcat(record, "\n"); + return 0; + } + +@@ -375,7 +376,7 @@ } } @@ -9,3 +17,11 @@ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]); exit(ERR_SYNTAX); } +@@ -592,6 +593,7 @@ + */ + apr_file_printf(errfile, "Updating "); + putline(ftemp, record); ++ found++; + } + } + } diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 69dd84b..95824f51 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.39 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ diff --git a/www/apache20/files/patch-support:htpasswd.c b/www/apache20/files/patch-support:htpasswd.c index 3267c08..f836f15 100644 --- a/www/apache20/files/patch-support:htpasswd.c +++ b/www/apache20/files/patch-support:htpasswd.c @@ -1,6 +1,14 @@ ---- 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 @@ +--- support/htpasswd.c.orig Tue Jun 18 11:58:36 2002 ++++ support/htpasswd.c Mon Jul 8 16:30:14 2002 +@@ -236,6 +236,7 @@ + strcpy(record, user); + strcat(record, ":"); + strcat(record, cpw); ++ strcat(record, "\n"); + return 0; + } + +@@ -375,7 +376,7 @@ } } @@ -9,3 +17,11 @@ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]); exit(ERR_SYNTAX); } +@@ -592,6 +593,7 @@ + */ + apr_file_printf(errfile, "Updating "); + putline(ftemp, record); ++ found++; + } + } + } diff --git a/www/apache21/Makefile b/www/apache21/Makefile index 69dd84b..95824f51 100644 --- a/www/apache21/Makefile +++ b/www/apache21/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.39 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ diff --git a/www/apache21/files/patch-support:htpasswd.c b/www/apache21/files/patch-support:htpasswd.c index 3267c08..f836f15 100644 --- a/www/apache21/files/patch-support:htpasswd.c +++ b/www/apache21/files/patch-support:htpasswd.c @@ -1,6 +1,14 @@ ---- 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 @@ +--- support/htpasswd.c.orig Tue Jun 18 11:58:36 2002 ++++ support/htpasswd.c Mon Jul 8 16:30:14 2002 +@@ -236,6 +236,7 @@ + strcpy(record, user); + strcat(record, ":"); + strcat(record, cpw); ++ strcat(record, "\n"); + return 0; + } + +@@ -375,7 +376,7 @@ } } @@ -9,3 +17,11 @@ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]); exit(ERR_SYNTAX); } +@@ -592,6 +593,7 @@ + */ + apr_file_printf(errfile, "Updating "); + putline(ftemp, record); ++ found++; + } + } + } diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 69dd84b..95824f51 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.39 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ diff --git a/www/apache22/files/patch-support:htpasswd.c b/www/apache22/files/patch-support:htpasswd.c index 3267c08..f836f15 100644 --- a/www/apache22/files/patch-support:htpasswd.c +++ b/www/apache22/files/patch-support:htpasswd.c @@ -1,6 +1,14 @@ ---- 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 @@ +--- support/htpasswd.c.orig Tue Jun 18 11:58:36 2002 ++++ support/htpasswd.c Mon Jul 8 16:30:14 2002 +@@ -236,6 +236,7 @@ + strcpy(record, user); + strcat(record, ":"); + strcat(record, cpw); ++ strcat(record, "\n"); + return 0; + } + +@@ -375,7 +376,7 @@ } } @@ -9,3 +17,11 @@ apr_file_printf(errfile, "%s: -c and -n options conflict\n", argv[0]); exit(ERR_SYNTAX); } +@@ -592,6 +593,7 @@ + */ + apr_file_printf(errfile, "Updating "); + putline(ftemp, record); ++ found++; + } + } + } |