summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-06-02 19:12:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-06-02 19:12:45 +0000
commita157dbaede1f003db030cb82c5e9affc8047853b (patch)
treeb9ff99397a33f001f577e0e5e229be39c710c53f /www
parentUpdate to 1.4.1 (diff)
Understand '$1$' prefix for crypt() in dbmmanage
PR: 25031
Notes
Notes: svn path=/head/; revision=82049
Diffstat (limited to 'www')
-rw-r--r--www/apache13/Makefile2
-rw-r--r--www/apache13/files/patch-ad11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index c498bc6dd719..c8349483bd9c 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= apache
PORTVERSION= 1.3.27
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= apache_${PORTVERSION}
diff --git a/www/apache13/files/patch-ad b/www/apache13/files/patch-ad
new file mode 100644
index 000000000000..d92d2f447613
--- /dev/null
+++ b/www/apache13/files/patch-ad
@@ -0,0 +1,11 @@
+--- src/support/dbmmanage.bak Thu Mar 14 00:05:37 2002
++++ src/support/dbmmanage Mon Jun 2 23:05:27 2003
+@@ -338,6 +338,8 @@
+ } elsif (substr($chkpass, 0, 5) eq '{SHA}') {
+ need_sha1_crypt;
+ $crypt_method = "sha1";
++ } elsif (substr($chkpass, 0, 3) eq '$1$') {
++ $crypt_method = "crypt";
+ } elsif (length($chkpass) == 13 && $chkpass ne $testpass) {
+ $crypt_method = "crypt";
+ } else {