openbsd-ports/net/samba/patches/patch-docs_manpages_swat_8
sthen 78368fdc7f SECURITY update to Samba 3.0.37. From Brad.
This is a security release to address CVE-2009-2813, CVE-2009-2948
and CVE-2009-2906.
2009-10-11 19:45:46 +00:00

81 lines
2.2 KiB
Plaintext

$OpenBSD: patch-docs_manpages_swat_8,v 1.7 2009/10/11 19:45:46 sthen Exp $
--- ../docs/manpages/swat.8.orig Wed Sep 30 08:28:45 2009
+++ ../docs/manpages/swat.8 Sat Oct 10 20:14:20 2009
@@ -261,49 +261,6 @@ will be appended (e\&.g\&. log\&.smbclient, log\&.smbd
.RS 4
Print a summary of command line options\&.
.RE
-.SH "INSTALLATION"
-.PP
-Swat is included as binary package with most distributions\&. The package manager in this case takes care of the installation and configuration\&. This section is only for those who have compiled swat from scratch\&.
-.PP
-After you compile SWAT you need to run
-\FCmake install \F[]
-to install the
-\FCswat\F[]
-binary and the various help files and images\&. A default install would put these in:
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/sbin/swat
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/swat/images/*
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/swat/help/*
-.sp
-.RE
.SS "Inetd Installation"
.PP
You need to edit your
@@ -331,7 +288,7 @@ In
\FC/etc/inetd\&.conf\F[]
you should add a line like this:
.PP
-\FCswat stream tcp nowait\&.400 root /usr/local/samba/sbin/swat swat\F[]
+\FCswat stream tcp nowait\&.400 root ${PREFIX}/libexec/swat swat\F[]
.PP
Once you have edited
\FC/etc/services\F[]
@@ -357,14 +314,12 @@ This file must contain suitable startup information fo
This file must contain a mapping of service name (e\&.g\&., swat) to service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&.
.RE
.PP
-\FC/usr/local/samba/lib/smb\&.conf\F[]
+\FC${SYSCONFDIR}/samba/smb\&.conf\F[]
.RS 4
This is the default location of the
\fBsmb.conf\fR(5)
-server configuration file that swat edits\&. Other common places that systems install this file are
-\FC /usr/samba/lib/smb\&.conf\F[]
-and
-\FC/etc/smb\&.conf \F[]\&. This file describes all the services the server is to make available to clients\&.
+server configuration file that swat edits\&.
+This file describes all the services the server is to make available to clients\&.
.RE
.SH "WARNINGS"
.PP