From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 27 18:00:12 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE90E1065694 for ; Tue, 27 Oct 2009 18:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 95E838FC1A for ; Tue, 27 Oct 2009 18:00:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9RI0A4o089957 for ; Tue, 27 Oct 2009 18:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9RI0Am7089956; Tue, 27 Oct 2009 18:00:10 GMT (envelope-from gnats) Resent-Date: Tue, 27 Oct 2009 18:00:10 GMT Resent-Message-Id: <200910271800.n9RI0Am7089956@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Wisnicki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54E321065742 for ; Tue, 27 Oct 2009 17:54:55 +0000 (UTC) (envelope-from mwisnicki+freebsd@gmail.com) Received: from mail-bw0-f209.google.com (mail-bw0-f209.google.com [209.85.218.209]) by mx1.freebsd.org (Postfix) with ESMTP id C3D0C8FC0C for ; Tue, 27 Oct 2009 17:54:54 +0000 (UTC) Received: by bwz1 with SMTP id 1so479519bwz.13 for ; Tue, 27 Oct 2009 10:54:53 -0700 (PDT) Received: by 10.204.34.84 with SMTP id k20mr1906018bkd.199.1256666093393; Tue, 27 Oct 2009 10:54:53 -0700 (PDT) Received: from ghost.pnet.one.pl (static-78-8-147-77.ssp.dialog.net.pl [78.8.147.77]) by mx.google.com with ESMTPS id 15sm67451bwz.4.2009.10.27.10.54.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Oct 2009 10:54:49 -0700 (PDT) Received: by ghost.pnet.one.pl (sSMTP sendmail emulation); Tue, 27 Oct 2009 18:54:47 +0100 Message-Id: <4ae733e9.0f1abc0a.5d90.0b5f@mx.google.com> Date: Tue, 27 Oct 2009 18:54:47 +0100 From: Marcin Wisnicki Sender: =?UTF-8?Q?Marcin_Wi=C5=9Bnicki?= To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: tomasv@megalogika.lt Subject: ports/140022: [PATCH] print/cups-samba: correct installation instructions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 18:00:12 -0000 >Number: 140022 >Category: ports >Synopsis: [PATCH] print/cups-samba: correct installation instructions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 27 18:00:10 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Marcin Wisnicki >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD ghost.pnet.one.pl 7.2-STABLE FreeBSD 7.2-STABLE #3: Sat Oct 17 20:50:32 CEST 2009 >Description: Instructions contained in pkg-message were incomplete. 1. Remove information about mime.* files - they are only needed for client-side vendor drivers. This generic Postscript driver works fine without changes to CUPS configuration. 2. Include instruction to copy MS-Windows files. 3. Add a note about 64bit clients and later Samba versions. Verified with Samba-3.0.37 and MS WindowsXP SP3 32bit client. Port maintainer (tomasv@megalogika.lt) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- cups-samba-6.0_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/print/cups-samba.orig/files/pkg-message.in /usr/ports/print/cups-samba/files/pkg-message.in --- /usr/ports/print/cups-samba.orig/files/pkg-message.in 2007-03-22 18:09:48.000000000 +0100 +++ /usr/ports/print/cups-samba/files/pkg-message.in 2009-10-27 18:37:51.000000000 +0100 @@ -5,13 +5,6 @@ To complete the installation of print/cups-samba, do in order: -CUPS-BASE ------------ - -1) Uncomment application/octet-stream line in mime.types -2) Uncomment application/octet-stream line in mime.convs -3) Restart cupsd - SAMBA ------- @@ -58,7 +51,17 @@ CUPS-LPR ---------- -1) Run cupsaddsmb +1) Copy following files from your MS Windows system: + + ps5ui.dll + pscript5.dll + pscript.hlp + pscript.ntf + +They are located somewhere in C:\WINDOWS\system32\spool\drivers\w32x86. +Put them to %%PREFIX%%/share/cups/drivers and correct permissions (chmod -wx). + +2) Run cupsaddsmb If only a subset of your printers will be installed as exportable to MS Windows NT/XP/2000/2003 clients: @@ -81,6 +84,12 @@ NOTE: Other settings in smb.conf may work, but your REALLY need to know what your are doing. :) +64-bit Windows clients are not yet supported however you may find your luck +with drivers from: http://www.cups.org/str.php?L2566 + +On later Samba versions, "printer admin" is deprecated, instead your admin +user should have SePrintOperatorPrivilege. Use "net rpc rights" to add them. + %%PREFIX%%/share/doc/samba/Samba-HOWTO-Collection.pdf has some valuable information on this topic, especially chapters 17 and 18. --- cups-samba-6.0_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: