ports/150144: [patch] comm/hylafax port BATCH portupgrading may broken installed application

Sergey Zaykov mail_of_sergey at mail.ru
Tue Aug 31 11:10:05 UTC 2010


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



More information about the freebsd-ports-bugs mailing list