pkgsrc/sysutils/system-tools-backends/patches/patch-ac
jmcneill 0106c9b7c3 Initial import of system-tools-backends version 2.6.0.
The System Tools Backends (s-t-b for short) are a set of cross-platform
modules for Linux, FreeBSD and other Unix systems. The backends provide a
common DBus interface to all platforms to modify or read the system
configuration in a distro independent fashion. Historically, access to
system configuration has varied deeply across Unix flavours, and concreting
a bit more, across Linux distributions, making it near impossible to write
desktop tools that could work flawlessly in a cross-platform way. System
Tools Backends try to fill this gap, offering a generic and easy way for
desktop applications to read and modify configuration details.
2008-11-15 18:28:56 +00:00

20 lines
653 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
--- Shares/SMB.pm.orig 2008-03-09 09:21:45.000000000 -0400
+++ Shares/SMB.pm
@@ -145,6 +145,7 @@ sub get_distro_smb_file
"pld-1.0" => "pld-1.0",
"vine-3.0" => "debian-3.0",
"freebsd-5" => "freebsd-5",
+ "netbsd-2" => "pkgsrc",
);
my %dist_tables =
@@ -153,6 +154,7 @@ sub get_distro_smb_file
"debian-3.0" => "/etc/samba/smb.conf",
"pld-1.0" => "/etc/smb/smb.conf",
"freebsd-5" => "/usr/local/etc/smb.conf",
+ "pkgsrc" => "/usr/pkg/etc/samba/smb.conf",
);
my $dist = $dist_map {$Utils::Backend::tool{"platform"}};