openbsd-ports/print/system-config-printer/patches/patch-pysmb_py
ajacoutot 01613278e8 - update to system-config-printer-1.0.3
looks fine to jasper@
2008-07-08 09:33:21 +00:00

21 lines
573 B
Plaintext

$OpenBSD: patch-pysmb_py,v 1.3 2008/07/08 09:33:21 ajacoutot Exp $
--- pysmb.py.orig Mon Jun 30 17:23:05 2008
+++ pysmb.py Wed Jul 2 16:24:12 2008
@@ -170,13 +170,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