From owner-freebsd-ports@FreeBSD.ORG Mon Feb 3 00:18:38 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0768FCF0 for ; Mon, 3 Feb 2014 00:18:38 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CACE515B3 for ; Mon, 3 Feb 2014 00:18:37 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id uq10so3171517igb.5 for ; Sun, 02 Feb 2014 16:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z4sglRG76Q1c+oj0NXyaZpkVXVdcruqXyoWdYnkv0uQ=; b=jR0KgmgsLt/yTAhM4kBNwpflWr5BjmvEVY22YjjEEDf0UD66j/nV9sesVzJEqZeySF Xb9oZjKw/rk2Jt1aLGNZcTFvPxBqe+sbe8YTHMsZuL2GawBaLRw9W3cCMBiJBd49d4Tb 5jiP5Kyyw4V/SEpNQRix4oG/CjyyXI5wDhS6dh6ZSMqiE+TjVUWIvj91cmpIhEXymkv0 DHz/LFjAhP33as9zgSJ8r6LToS42Rlni4MaU+vbDVwGTvYs7h6chvo0MiVPn4WetK00w oBdCFhvWAPGcL1w/9Hu6P1hns3IN1X2boxQFKU2OupMTTmB2W9C2eeVfcEYrB1BGm9mU FgMw== MIME-Version: 1.0 X-Received: by 10.50.29.49 with SMTP id g17mr9348193igh.35.1391386717223; Sun, 02 Feb 2014 16:18:37 -0800 (PST) Received: by 10.50.67.84 with HTTP; Sun, 2 Feb 2014 16:18:37 -0800 (PST) In-Reply-To: <52ECC8FA.4050206@davenulle.org> References: <52ECC0D9.2010607@davenulle.org> <52ECC8FA.4050206@davenulle.org> Date: Sun, 2 Feb 2014 18:18:37 -0600 Message-ID: Subject: Re: [Upgrade to FreeBSD10] hplip issue From: Scot Hetzel To: David Marec Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 00:18:38 -0000 On Sat, Feb 1, 2014 at 4:14 AM, David Marec wrote: > On 01.02.2014 10:39, David Marec wrote: >> >> First, I had to rebuild the port to switch on the 'scanning feature', >> which is not available by the binary package, but scanning still fails. > > > Finally, while checking in the hplip configuration files, I found that the > scanning feature was still disabled in the file > /usr/local/etc/hp/hplip.conf > So, I changed the entry line : > scanner-build=yes > > and now, the scanner can be used. > > I don't know why this file was not updated during the hplip installation. > According to the pkg-plist: @unexec if cmp -s %D/etc/hp/hplip.conf.sample %D/etc/hp/hplip.conf; then rm -f %D/etc/hp/hplip.conf; fi etc/hp/hplip.conf.sample @exec if [ ! -f %B/hplip.conf ]; then cp -p %D/%F %B/hplip.conf; fi if there were any changes to hplip.conf file, it doesn't get removed when the port is uninstalled. And if the file exists, it won't overwrite your changes. Did you customize this file before you re-installed? Does the hplip.conf.sample file have scanner-build=yes? -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.