Bug 96079 - [PATCH] mail/fetchmail: [SUMMARIZE CHANGES]
Summary: [PATCH] mail/fetchmail: [SUMMARIZE CHANGES]
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: Simon Barner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 03:10 UTC by mhjacks
Modified: 2006-05-12 17:59 UTC (History)
1 user (show)

See Also:


Attachments
fetchmail-6.3.2_2.patch (1.68 KB, patch)
2006-04-20 03:10 UTC, mhjacks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mhjacks 2006-04-20 03:10:18 UTC
[DESCRIBE CHANGES]
Add rcNG script to enable fetchmail's daemon mode.  This also recognizes a
fetchmail_flags command.  It defaults to a systemwide config file in
/usr/local/etc/fetchmailrc.

Added file(s):
- files/fetchmail.in

Port maintainer (barner@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
Comment 1 Edwin Groothuis freebsd_committer 2006-04-20 03:12:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

Over to maintainer
Comment 2 mhjacks 2006-04-20 04:15:58 UTC
Sorry, please amend the patch as follows.  I copied the rcNG script from 
clamav-clamd, which defines %%RUNDIR%%.  fetchmail's Makefile doesn't, 
so the rcNG script won't see a running fetchmail.

*** fetchmail.in        Wed Apr 19 22:12:36 2006
--- fetchmail.in.orig   Wed Apr 19 22:12:28 2006
***************
*** 22,28 ****
   rcvar=`set_rcvar`

   command=%%PREFIX%%/bin/${name}
! pidfile=/var/run/${name}.pid
   extra_commands="awaken"
   awaken_cmd="fetchmail_awaken"

--- 22,28 ----
   rcvar=`set_rcvar`

   command=%%PREFIX%%/bin/${name}
! pidfile=%%RUNDIR%%/${name}.pid
   extra_commands="awaken"
   awaken_cmd="fetchmail_awaken"
Comment 3 Simon Barner freebsd_committer 2006-05-12 17:59:19 UTC
State Changed
From-To: open->closed

Committed. Thanks!