aboutsummaryrefslogtreecommitdiff
path: root/security/pam_smb
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-09-20 08:53:39 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-09-20 08:53:39 +0000
commit497c13571f23bbbe77a41d527abf20f4022c3ece (patch)
tree342f259dd12123c3a463bef06244c908fa95cc4d /security/pam_smb
parent70ba05156f3934ecd7bf884e6c570ce6e64916af (diff)
downloadports-497c13571f23bbbe77a41d527abf20f4022c3ece.tar.gz
ports-497c13571f23bbbe77a41d527abf20f4022c3ece.zip
Notes
Diffstat (limited to 'security/pam_smb')
-rw-r--r--security/pam_smb/Makefile2
-rw-r--r--security/pam_smb/files/patch-pamsmbd::pam_read_conf.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile
index 47834b97e570..d8c1e5636085 100644
--- a/security/pam_smb/Makefile
+++ b/security/pam_smb/Makefile
@@ -6,7 +6,7 @@
PORTNAME= pam_smb
PORTVERSION= 2.0.0.r5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://pamsmb.sourceforge.net/v2/ \
http://www.csn.ul.ie/~airlied/pam_smb/v2/
diff --git a/security/pam_smb/files/patch-pamsmbd::pam_read_conf.c b/security/pam_smb/files/patch-pamsmbd::pam_read_conf.c
new file mode 100644
index 000000000000..3fa39b5eee9b
--- /dev/null
+++ b/security/pam_smb/files/patch-pamsmbd::pam_read_conf.c
@@ -0,0 +1,11 @@
+--- pamsmbd/pam_read_conf.c.orig Wed Mar 20 01:03:33 2002
++++ pamsmbd/pam_read_conf.c Sat Sep 20 09:32:41 2003
+@@ -25,7 +25,7 @@
+ #include "constants.h"
+ #include "cache.h"
+
+-#define CONFFILE "/etc/pam_smb.conf"
++#define CONFFILE "%%PREFIX%%/etc/pam_smb.conf"
+
+ int smb_readpamconf(domain_list *);
+