aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-09-20 16:53:39 +0800
committerobraun <obraun@FreeBSD.org>2003-09-20 16:53:39 +0800
commitbe5a4ecb77955336f2cd06b1242d636ebafe5667 (patch)
tree3f492862330df943ad64ee797d64e05d800ebb34 /security
parent01b722a6c59d598d2f6956eac3dfd6b8d8b57c30 (diff)
downloadfreebsd-ports-gnome-be5a4ecb77955336f2cd06b1242d636ebafe5667.tar.gz
freebsd-ports-gnome-be5a4ecb77955336f2cd06b1242d636ebafe5667.tar.zst
freebsd-ports-gnome-be5a4ecb77955336f2cd06b1242d636ebafe5667.zip
* Use $PREFIX/etc/pam_smb.conf instead of /etc/pam_smb.conf by default.
* Bump PORTREVISION accordingly. PR: ports/56994 Submitted by: Andrew Thompson <andy@fud.org.nz> Reviewed by: marcus (portmgr)
Diffstat (limited to 'security')
-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 *);
+