openbsd-ports/print/system-config-printer/patches/patch-pysmb_py
2009-01-31 12:37:30 +00:00

21 lines
573 B
Plaintext

$OpenBSD: patch-pysmb_py,v 1.5 2009/01/31 12:37:30 ajacoutot Exp $
--- pysmb.py.orig Fri Jan 16 10:50:57 2009
+++ pysmb.py Sat Jan 31 12:11:42 2009
@@ -194,13 +194,13 @@ import os
import sys
import re
-nmblookup = "/usr/bin/nmblookup"
-smbclient = "/usr/bin/smbclient"
+nmblookup = "${LOCALBASE}/bin/nmblookup"
+smbclient = "${LOCALBASE}/bin/smbclient"
wins = None
def get_wins_server():
- smbconf = "/etc/samba/smb.conf"
+ smbconf = "${SYSCONFDIR}/samba/smb.conf"
wsregex = re.compile("\s*wins\s*server.*",re.IGNORECASE)
global wins