Bug 210195

Summary: mail/roundcube add logrotate config
Product: Ports & Packages Reporter: Larry Rosenman <ler>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
newsyslog.conf for the roundcube logs
none
newsyslog.conf not using G flag
none
add the sample and install a newsyslog.conf file
none
Updated patch to not force EXAMPLES
none
Add newsyslog script none

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