Bug 142247 - in mail/up-imapproxy rc script fixed
Summary: in mail/up-imapproxy rc script fixed
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: Martin Blapp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-02 20:40 UTC by Grzegorz Blach
Modified: 2010-01-02 22:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Blach 2010-01-02 20:40:00 UTC
Currently imapproxyd is searching for config file in /etc instead of /usr/local/etc.

PATCH for rc script


---------- BEGIN ----------
--- imapproxyd  2009-11-07 00:01:24.760453356 +0100
+++ imapproxyd.fixed    2009-11-07 00:00:10.138217276 +0100
@@ -25,6 +25,6 @@
 : ${imapproxyd_conf="/usr/local/etc/imapproxyd.conf"}
 
 command=/usr/local/sbin/in.imapproxyd
-required_files="${imapproxyd_conf}"
+command_args="-f ${imapproxyd_conf}"
 
 run_rc_command "$1"
----------- END -----------

Fix: 

apply patch
How-To-Repeat: install mail/up-imapproxy and call:
> /usr/local/etc/rc.d/imaporxyd onestart
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-01-02 20:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mbr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Blapp freebsd_committer freebsd_triage 2010-01-02 22:32:38 UTC
State Changed
From-To: open->closed

Fixed via autoconf, thanks anyway