Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 11:05:18 GMT
From:      Sergey Zaykov <mail_of_sergey@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150144: [patch] comm/hylafax port BATCH portupgrading may broken installed application
Message-ID:  <201008311105.o7VB5It1061541@www.freebsd.org>
Resent-Message-ID: <201008311110.o7VBA4VY081332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008311105.o7VB5It1061541>