diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-24 17:21:46 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-24 17:21:46 +0800 |
commit | 34e373c1bcadb92790524b6de4d8f248f59cd0b5 (patch) | |
tree | 9680c9f000d60005ee8b19a8b3829fa1cc2e04b1 /security | |
parent | 07c16ef2ae66aca8f0f0bdeace571e29327d1786 (diff) | |
download | freebsd-ports-gnome-34e373c1bcadb92790524b6de4d8f248f59cd0b5.tar.gz freebsd-ports-gnome-34e373c1bcadb92790524b6de4d8f248f59cd0b5.tar.zst freebsd-ports-gnome-34e373c1bcadb92790524b6de4d8f248f59cd0b5.zip |
Maitainer update: Fix security/pam-pgsql on -current
Noticed on: bento
PR: ports/45652
Submitted by: Mathieu Arnold <m@absolight.fr>
Diffstat (limited to 'security')
-rw-r--r-- | security/pam-pgsql/Makefile | 4 | ||||
-rw-r--r-- | security/pam-pgsql/files/patch-pam_get_pass.c | 19 |
2 files changed, 18 insertions, 5 deletions
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile index b2ebf2778fb5..bc441b275876 100644 --- a/security/pam-pgsql/Makefile +++ b/security/pam-pgsql/Makefile @@ -14,7 +14,7 @@ MASTER_SITES= ${MASTER_SITE_DEBIAN} \ MASTER_SITE_SUBDIR= pool/non-US/main/p/pam-pgsql DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} -PATCHFILES= pam-pgsql_${PORTVERSION}-5.diff.gz +PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz PATCH_SITES= ${MASTER_SITES} MAINTAINER= m@absolight.fr @@ -33,7 +33,7 @@ MASTER_SITE_DEBIAN+= http://ftp.au.debian.org/pub/debian-non-US/${MASTER_SITE_SU ftp://ftp.bora.net/pub/linux/debian-non-US/${MASTER_SITE_SUBDIR}/ MAKEFILE= ${FILESDIR}/Makefile.bsd -MAKE_ARGS+= -j 2 FILESDIR=${FILESDIR} +MAKE_ARGS+= FILESDIR=${FILESDIR} post-install: ${CAT} ${PKGMESSAGE} diff --git a/security/pam-pgsql/files/patch-pam_get_pass.c b/security/pam-pgsql/files/patch-pam_get_pass.c index 55395c9158bd..a98bf1b80eb6 100644 --- a/security/pam-pgsql/files/patch-pam_get_pass.c +++ b/security/pam-pgsql/files/patch-pam_get_pass.c @@ -1,7 +1,6 @@ --- pam_get_pass.c.orig Mon Jan 14 17:45:55 2002 -+++ pam_get_pass.c Tue Aug 13 18:31:56 2002 -@@ -33,70 +33,7 @@ - /* $Id: pam_get_pass.c,v 1.2 2000/06/25 09:39:28 ljb Exp $ */ ++++ pam_get_pass.c Sat Nov 23 20:26:10 2002 +@@ -34,68 +34,5 @@ #include <stdlib.h> #include <security/pam_modules.h> -#include "pam_mod_misc.h" @@ -71,3 +70,17 @@ +#include <security/pam_mod_misc.h> int +@@ -125,8 +62,11 @@ + return retval; + ++#ifdef PAM_AUTHTOK_RECOVER_ERR ++#define PAM_AUTHTOK_RECOVERY_ERR PAM_AUTHTOK_RECOVER_ERR ++#endif + if(!resp) +- return PAM_AUTHTOK_RECOVER_ERR; ++ return PAM_AUTHTOK_RECOVERY_ERR; + if(strcmp(resp[0].resp, resp[1].resp) != 0) +- return PAM_AUTHTOK_RECOVER_ERR; ++ return PAM_AUTHTOK_RECOVERY_ERR; + + retval = pam_set_item(pamh, PAM_AUTHTOK, resp[0].resp); |