aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2021-09-12 11:39:05 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2021-09-12 11:39:05 +0000
commit5131b076f5717d764f05667d41c6b500c9ce042c (patch)
treef99e45b20e8f875bccaa1406cefe8397df498166
parent715cdedcb3d627a162a37a34474ee3249b05e62e (diff)
downloadports-5131b076f5717d764f05667d41c6b500c9ce042c.tar.gz
ports-5131b076f5717d764f05667d41c6b500c9ce042c.zip
sysutils/webmin: fix default path of Samba config file.
Reported by: Werner Lehmann
-rw-r--r--sysutils/webmin/Makefile1
-rw-r--r--sysutils/webmin/files/patch-samba_config-freebsd11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 3c2393a89dc0..6ff47d58ecfe 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -2,6 +2,7 @@
PORTNAME= webmin
PORTVERSION= 1.981
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.webmin.com/updates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf
diff --git a/sysutils/webmin/files/patch-samba_config-freebsd b/sysutils/webmin/files/patch-samba_config-freebsd
new file mode 100644
index 000000000000..7e27650c9b73
--- /dev/null
+++ b/sysutils/webmin/files/patch-samba_config-freebsd
@@ -0,0 +1,11 @@
+--- samba/config-freebsd.orig 2021-09-12 11:31:58 UTC
++++ samba/config-freebsd
+@@ -6,7 +6,7 @@ run_from_inetd=0
+ samba_password_program=/usr/local/bin/smbpasswd
+ samba_server=/usr/local/sbin/smbd
+ samba_status_program=/usr/local/bin/smbstatus
+-smb_conf=/usr/local/etc/smb.conf
++smb_conf=/usr/local/etc/smb4.conf
+ smb_passwd=/usr/local/private/smbpasswd
+ text_lists=0
+ swat_path=/usr/local/sbin/swat