Date: Sat, 27 Oct 2001 02:34:02 -0700 (PDT) From: Hendrik Scholz <hendrik@scholz.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/31531: patch for ftp/emirror to find its config files Message-ID: <200110270934.f9R9Y2J80840@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 31531 >Category: ports >Synopsis: patch for ftp/emirror to find its config files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 27 02:40:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: 4.4-STABLE >Organization: NetUSE AG >Environment: FreeBSD dionysus.lan.raisdorf.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Oct 24 17:19:04 CEST 2001 root@dionysus.lan.raisdorf.net:/usr/src/sys/compile/DIONYSUS i386 >Description: 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 ... >How-To-Repeat: Install the port and try running mirror with the default config files. >Fix: Setting the CONFIGURE_ARGS in die Makefile does it: --- emirror/Makefile Tue Oct 23 09:57:16 2001 +++ emirror.new/Makefile Sat Oct 27 11:25:20 2001 @@ -19,6 +19,7 @@ USE_PYTHON= yes GNU_CONFIGURE= yes NO_BUILD= yes +CONFIGURE_ARGS = --sysconfdir=${PREFIX}/etc MAN1= emirror.1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110270934.f9R9Y2J80840>