aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_smb
diff options
context:
space:
mode:
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 *);
+