aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam-pgsql
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-02-05 10:10:07 +0800
committermi <mi@FreeBSD.org>2002-02-05 10:10:07 +0800
commit9131f02b0e2fc623b9a180bf57778d88952182fd (patch)
tree6506e3c19857d6534069e25b6bf3dc0c11baf133 /security/pam-pgsql
parent4d07e175cbc260b50b487be76bc1e29909debd0b (diff)
downloadfreebsd-ports-gnome-9131f02b0e2fc623b9a180bf57778d88952182fd.tar.gz
freebsd-ports-gnome-9131f02b0e2fc623b9a180bf57778d88952182fd.tar.zst
freebsd-ports-gnome-9131f02b0e2fc623b9a180bf57778d88952182fd.zip
Fix the patch (a header and an empty line) and remove last mentions
of the shortlived pqescape.c.
Diffstat (limited to 'security/pam-pgsql')
-rw-r--r--security/pam-pgsql/files/Makefile.bsd3
-rw-r--r--security/pam-pgsql/files/patch-md56
2 files changed, 4 insertions, 5 deletions
diff --git a/security/pam-pgsql/files/Makefile.bsd b/security/pam-pgsql/files/Makefile.bsd
index cef112fc21d8..7b81d92454d0 100644
--- a/security/pam-pgsql/files/Makefile.bsd
+++ b/security/pam-pgsql/files/Makefile.bsd
@@ -2,8 +2,7 @@
.PATH: ${FILESDIR}
-SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c \
- pqescape.c
+SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c
LIB= pam_pgsql
SHLIB_NAME=${LIB}.so
diff --git a/security/pam-pgsql/files/patch-md5 b/security/pam-pgsql/files/patch-md5
index c68fa892c3ff..177c2696cd2b 100644
--- a/security/pam-pgsql/files/patch-md5
+++ b/security/pam-pgsql/files/patch-md5
@@ -3,7 +3,7 @@ greatly simplifying things...
--- pam_pgsql.c Wed Apr 18 16:47:57 2001
+++ pam_pgsql.c Wed Jan 9 14:46:01 2002
-@@ -14,5 +14,7 @@
+@@ -14,6 +14,7 @@
#include <syslog.h>
#include <ctype.h>
-#include <mhash.h>
@@ -12,6 +12,7 @@ greatly simplifying things...
+#include <md5.h>
#include <time.h>
#include <libpq-fe.h>
+-#include <crypt.h>
@@ -336,32 +336,7 @@
s = strdup(crypt(pass, crypt_make_salt()));
break;
@@ -48,7 +49,7 @@ greatly simplifying things...
+ break;
case PW_CLEAR:
default:
-@@ -416,35 +391,15 @@
+@@ -416,34 +391,15 @@
}
break;
- case PW_MD5: {
@@ -77,7 +78,6 @@ greatly simplifying things...
-
- if(strcmp(buf, stored_pw) == 0)
- rc = PAM_SUCCESS;
--
- free(buf);
- }
- }