Bug 31531

Summary: patch for ftp/emirror to find its config files
Product: Ports & Packages Reporter: hendrik <hendrik>
Component: Individual Port(s)Assignee: Ying-Chieh Liao <ijliao>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description hendrik 2001-10-27 10:40:01 UTC
The emirror port installs its config files in ${PREFIX}/etc/emirror.
The Makefile doesn't set the --sysconfigdir for configure so the mirror program cannot find the config files there. Starting emirror with
default config files results in this:

$ mirror
27.10.2001 11:32:57.976 ERROR Program [ReadConfigFile] - 
ECLiPt-Mirror Version 2.1.20 (c) 1998-2001 Martin Preishuber

27.10.2001 11:32:58.017 ERROR Program [ReadConfigFile] - Configuration file "/etc/emirror//etc/emirror/general.cfg" does't exist ...

Fix: Setting the CONFIGURE_ARGS in die Makefile does it:
How-To-Repeat: Install the port and try running mirror with the default config files.
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2001-11-06 11:01:08 UTC
Responsible Changed
From-To: freebsd-ports->ijliao

Over to maintainer
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2001-11-06 11:21:19 UTC
State Changed
From-To: open->closed

committed, thanks