Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba4 Move sysvol from /var/run/sysvol to /var/db...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fe2db16baab
branches:  trunk
changeset: 436159:0fe2db16baab
user:      christos <christos%pkgsrc.org@localhost>
date:      Tue Jul 28 01:11:10 2020 +0000

description:
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:

 net/samba4/Makefile |  8 ++++----
 net/samba4/PLIST    |  3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r c1faa9708655 -r 0fe2db16baab net/samba4/Makefile
--- a/net/samba4/Makefile       Tue Jul 28 00:06:09 2020 +0000
+++ b/net/samba4/Makefile       Tue Jul 28 01:11:10 2020 +0000
@@ -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_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 -r c1faa9708655 -r 0fe2db16baab net/samba4/PLIST
--- a/net/samba4/PLIST  Tue Jul 28 00:06:09 2020 +0000
+++ b/net/samba4/PLIST  Tue Jul 28 01:11:10 2020 +0000
@@ -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/wbinfo
 @pkgdir bind-dns
 @pkgdir etc/samba
+@pkgdir var/db/samba4
 include/charset.h
 include/core/doserr.h
 include/core/error.h



Home | Main Index | Thread Index | Old Index