Bug 210195 - mail/roundcube add logrotate config
Summary: mail/roundcube add logrotate config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 20:22 UTC by Larry Rosenman
Modified: 2018-12-10 14:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
newsyslog.conf for the roundcube logs (70 bytes, text/plain)
2016-06-10 20:22 UTC, Larry Rosenman
no flags Details
newsyslog.conf not using G flag (148 bytes, text/plain)
2016-06-13 15:16 UTC, Larry Rosenman
no flags Details
add the sample and install a newsyslog.conf file (1.72 KB, patch)
2018-12-04 17:05 UTC, Larry Rosenman
no flags Details | Diff
Updated patch to not force EXAMPLES (1.44 KB, patch)
2018-12-04 17:34 UTC, Larry Rosenman
no flags Details | Diff
Add newsyslog script (1.91 KB, patch)
2018-12-05 10:41 UTC, Alex Dupre
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Rosenman freebsd_committer freebsd_triage 2016-06-10 20:22:52 UTC
Created attachment 171278 [details]
newsyslog.conf for the roundcube logs

Can you add the attached file to go into %%PREFIX%%/etc/newsyslog.conf.d to rotate the logs?
Comment 1 Larry Rosenman freebsd_committer freebsd_triage 2016-06-13 15:16:43 UTC
Created attachment 171391 [details]
newsyslog.conf not using G flag
Comment 2 Larry Rosenman freebsd_committer freebsd_triage 2016-12-04 21:39:17 UTC
Any movement?
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2017-08-16 10:56:28 UTC
Larry, can you provide a patch that drops right into the port ?
Comment 4 Larry Rosenman freebsd_committer freebsd_triage 2018-12-04 17:05:14 UTC
Created attachment 199822 [details]
add the sample and install a newsyslog.conf file
Comment 5 Larry Rosenman freebsd_committer freebsd_triage 2018-12-04 17:34:54 UTC
Created attachment 199823 [details]
Updated patch to not force EXAMPLES
Comment 6 Alex Dupre freebsd_committer freebsd_triage 2018-12-05 10:41:08 UTC
Created attachment 199846 [details]
Add newsyslog script

This is the revised patch I'm going to commit. Any objection?
Comment 7 Larry Rosenman freebsd_committer freebsd_triage 2018-12-05 12:39:52 UTC
Comment on attachment 199846 [details]
Add newsyslog script

I think the newsyslog.conf file should be installed by DEFAULT, as POLA says logfiles should *NOT* grow unbounded.
Comment 8 Alex Dupre freebsd_committer freebsd_triage 2018-12-05 13:59:25 UTC
EXAMPLES is ON by default, so it's installed by default.
Comment 9 Larry Rosenman freebsd_committer freebsd_triage 2018-12-05 14:00:57 UTC
In the framework?  Ok, then I'm fine with it.
Comment 10 commit-hook freebsd_committer freebsd_triage 2018-12-10 14:14:16 UTC
A commit references this bug:

Author: ale
Date: Mon Dec 10 14:13:54 UTC 2018
New revision: 487168
URL: https://svnweb.freebsd.org/changeset/ports/487168

Log:
  Add newsyslog script for log rotate [1].
  Don't set DB backends as mutually exclusive [2].

  PR:		210195 [1], 221764 [2]
  Submitted by:	ler, crees

Changes:
  head/mail/roundcube/Makefile
  head/mail/roundcube/files/newsyslog.conf.in