summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2020-07-28 01:11:10 +0000
committerchristos <christos@pkgsrc.org>2020-07-28 01:11:10 +0000
commitb0132355aa8bb26d4cd4babc924029481c713b76 (patch)
treebddb2bb2e18e5fa86beb392cb6fee259067353a8 /net
parentff5380bbeb24a7606b394babf5984d1c18a32337 (diff)
downloadpkgsrc-b0132355aa8bb26d4cd4babc924029481c713b76.tar.gz
Move sysvol from /var/run/sysvol to /var/db/samba4/sysvol as FreeBSD does,
so that the provisioning data gets preserved across reboots. From Matthias Perelmann
Diffstat (limited to 'net')
-rw-r--r--net/samba4/Makefile8
-rw-r--r--net/samba4/PLIST3
2 files changed, 6 insertions, 5 deletions
diff --git a/net/samba4/Makefile b/net/samba4/Makefile
index 31e70d02da8..769ead55d1b 100644
--- a/net/samba4/Makefile
+++ b/net/samba4/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.103 2020/07/21 18:42:25 christos Exp $
+# $NetBSD: Makefile,v 1.104 2020/07/28 01:11:10 christos Exp $
DISTNAME= samba-4.12.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= https://download.samba.org/pub/samba/stable/
@@ -34,8 +34,8 @@ SMB_SHAREDSTATE?= ${PREFIX}/com
SMB_LOCALSTATE?= ${VARBASE}
SMB_INFO?= ${PREFIX}/info
SMB_MAN?= ${PREFIX}/${PKGMANDIR}
-SMB_STATE?= ${VARBASE}/run
-SMB_PRIVATE?= ${PKG_SYSCONFDIR}/private
+SMB_STATE?= ${VARBASE}/db/samba4
+SMB_PRIVATE?= ${SMB_STATE}/private
SMB_PID?= ${VARBASE}/run
SMB_CACHE?= ${VARBASE}/run
SMB_LOCK?= ${VARBASE}/run
diff --git a/net/samba4/PLIST b/net/samba4/PLIST
index d53dfa6c6cc..070edf73ef7 100644
--- a/net/samba4/PLIST
+++ b/net/samba4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2020/07/06 14:38:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.32 2020/07/28 01:11:10 christos Exp $
bin/cifsdd
bin/dbwrap_tool
bin/dumpmscat
@@ -37,6 +37,7 @@ bin/testparm
bin/wbinfo
@pkgdir bind-dns
@pkgdir etc/samba
+@pkgdir var/db/samba4
include/charset.h
include/core/doserr.h
include/core/error.h