Bug 31531 - patch for ftp/emirror to find its config files
Summary: patch for ftp/emirror to find its config files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ying-Chieh Liao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-27 10:40 UTC by hendrik
Modified: 2001-11-06 11:21 UTC (History)
0 users

See Also:


Attachments
file.diff (229 bytes, patch)
2001-10-27 10:40 UTC, hendrik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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