opnsense-ports/sysutils/pam_mount/files/patch-src_pam_mount.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
421 B
C

--- src/pam_mount.c.orig 2010-08-10 01:07:35.000000000 +0200
+++ src/pam_mount.c 2010-10-14 18:04:54.000000000 +0200
@@ -39,6 +39,8 @@
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
# define CONFIGFILE "/etc/pam_mount.conf.xml"
+#elif defined(__FreeBSD__)
+# define CONFIGFILE "%%PREFIX%%/etc/security/pam_mount.conf.xml"
#else
# define CONFIGFILE "/etc/security/pam_mount.conf.xml"
#endif