From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 31 11:10:05 2010 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 50E20106566C for ; Tue, 31 Aug 2010 11:10:05 +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 148468FC2D for ; Tue, 31 Aug 2010 11:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7VBA4ET081333 for ; Tue, 31 Aug 2010 11:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7VBA4VY081332; Tue, 31 Aug 2010 11:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 31 Aug 2010 11:10:04 GMT Resent-Message-Id: <201008311110.o7VBA4VY081332@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, Sergey Zaykov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39AC01065694 for ; Tue, 31 Aug 2010 11:05:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 294CB8FC08 for ; Tue, 31 Aug 2010 11:05:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7VB5IB4061542 for ; Tue, 31 Aug 2010 11:05:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7VB5It1061541; Tue, 31 Aug 2010 11:05:18 GMT (envelope-from nobody) Message-Id: <201008311105.o7VB5It1061541@www.freebsd.org> Date: Tue, 31 Aug 2010 11:05:18 GMT From: Sergey Zaykov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150144: [patch] comm/hylafax port BATCH portupgrading may broken installed application 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, 31 Aug 2010 11:10:05 -0000 >Number: 150144 >Category: ports >Synopsis: [patch] comm/hylafax port BATCH portupgrading may broken installed application >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 31 11:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sergey Zaykov >Release: FreeBSD 8.0-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD acc.acc.tula.ru 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #3: Tue Jul 13 11:26:05 MSD 2 >Description: BATCH portupgrading comm/hylafax port reinstall application with default pathes. If comm/hylafax port was installed for using non-default pathes, then using application is impossible: hylafax FATAL ERROR: /var/spool/hylafax/etc/setup.cache is missing! The file /var/spool/hylafax/etc/setup.cache is not present. This probably means the machine has not been setup using the faxsetup(8C) command. Read the documentation on setting up HylaFAX before you startup a server system. >How-To-Repeat: 1. Install comm/hylafax port into non-default pathes 2. Do BATCH portupgrade 3. Try to run or restart /usr/local/etc/rc.d/hylafax 4. Get the error >Fix: Add IS_INTERACTIVE=YES into Makefile Patch attached with submission follows: --- Makefile.orig 2010-08-27 12:33:27.000000000 +0400 +++ Makefile 2010-08-31 13:55:31.000000000 +0400 @@ -43,6 +43,8 @@ HAS_CONFIGURE= yes CONFIGURE_ENV= ENVOPTS="${CFLAGS}" +IS_INTERACTIVE= YES + MAN1= edit-faxcover.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 faxstat.1 \ hylafax-client.1 sendfax.1 sendpage.1 sgi2fax.1 textfmt.1 >Release-Note: >Audit-Trail: >Unformatted: