From owner-freebsd-java@FreeBSD.ORG Thu Sep 7 13:55:43 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD8CB16A4F6 for ; Thu, 7 Sep 2006 13:55:43 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta6.srv.hcvlny.cv.net (mta6.srv.hcvlny.cv.net [167.206.4.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39A1F43D79 for ; Thu, 7 Sep 2006 13:55:43 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta6.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0J58002KK6O6SZ49@mta6.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Thu, 07 Sep 2006 09:55:18 -0400 (EDT) Date: Thu, 07 Sep 2006 09:55:17 -0400 From: Kurt Miller In-reply-to: <44FFB278.8080302@stupidog.org> To: freebsd-java@freebsd.org Message-id: <200609070955.17515.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <200609032031.42080.nb_root@videotron.ca> <200609061759.59432.nb_root@videotron.ca> <44FFB278.8080302@stupidog.org> User-Agent: KMail/1.9.4 Subject: Re: Printing with java under FreeBSD - CUPS symlinks X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 13:55:44 -0000 On Thursday 07 September 2006 1:47 am, Virgil Champlin wrote: > This bit me on a couple of hosts with the 1.2.x upgrade which removes > print/cups-lpd. So I took a look in > /usr/ports/print/cups-base/pkg-install. The post install operation > "unshades" the /usr/local/bin versions of lp* by clearing the mode bits > on the /usr/bin copies (chmod -h 0 ...). The cups change assumes that all applications that use lpr search the path for it. It is not a valid assumption IMHO. It is not a valid approach for java. The jdk expects /usr/bin/lpr to just work. It doesn't search the path for lpr. > It no longer moves them out of > the way and replaces them with symlinks. It also does it only if you > have CUPS_OVERWRITE_BASE defined. CUPS 1.2.x has been a real pain but > for other reasons. -virgil