View | Details | Raw Unified | Return to bug 250906
Collapse All | Expand All

(-)b/net/samba419/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=			${SAMBA4_BASENAME}419
1
PORTNAME=			${SAMBA4_BASENAME}419
2
PORTVERSION=			${SAMBA4_VERSION}
2
PORTVERSION=			${SAMBA4_VERSION}
3
PORTREVISION=			5
3
PORTREVISION=			6
4
CATEGORIES?=			net
4
CATEGORIES?=			net
5
MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
5
MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
6
DISTNAME=			${SAMBA4_DISTNAME}
6
DISTNAME=			${SAMBA4_DISTNAME}
(-)b/net/samba419/files/patch-python_samba_tdb__util.py (-1 / +15 lines)
Added Link Here
0
- 
1
--- python/samba/tdb_util.py.orig	2025-02-17 11:38:24.136379000 +0100
2
+++ python/samba/tdb_util.py	2025-02-17 11:38:44.171612000 +0100
3
@@ -37,9 +37,10 @@
4
         raise FileNotFoundError(2, "could not find tdbbackup tool: "
5
                                 "is tdb-tools installed?")
6
 
7
-    tdbbackup_cmd = [toolpath, "-s", ".copy.tdb", file1]
8
     if readonly:
9
-        tdbbackup_cmd.append("-r")
10
+        tdbbackup_cmd = [toolpath, "-r", "-s", ".copy.tdb", file1]
11
+    else:
12
+        tdbbackup_cmd = [toolpath, "-s", ".copy.tdb", file1]
13
 
14
     status = subprocess.check_call(tdbbackup_cmd, close_fds=True, shell=False)
15
 

Return to bug 250906