Created attachment 164845 [details] sysutils/logrotate-3.8.9_2.diff I have added a patch that fixes sysutils/logrotate so that subdirectory globs such as /var/log/httpd/*/*.log work correctly. I have also submitted the patch upstream: https://github.com/logrotate/logrotate/pull/13
I like it. Unfortunately I can't test it right now, but the patch itself is clean and straightforward. I hope the original patch finds its way to he app too. We should upgrade for that release then :)
Also, thanks for the github link.
Logrotate 3.9.2 has been released, and if I'm not mistaken, it contains this patch. Just saying.
Created attachment 166132 [details] sysutils/logrotate-3.9.2.diff I've updated it to 3.9.2. "portlint -C" reports "looks fine." I will attach the "poudriere testport" log.
Created attachment 166133 [details] logs/logrotate-3.9.2.log Here is the poudriere testport log.
Exactly. I approve this change. Unfortunately I can't add two maint feedback+es.
Comment on attachment 166132 [details] sysutils/logrotate-3.9.2.diff Please set maintainer-approval to + if you approve, or - to decline
@Douglas, if you could update the summary of any issues if/as their scope changes, that would be great :)
Comment on attachment 166132 [details] sysutils/logrotate-3.9.2.diff I couldn't do it better myself.
A commit references this bug: Author: pi Date: Sat Jan 30 07:00:11 UTC 2016 New revision: 407515 URL: https://svnweb.freebsd.org/changeset/ports/407515 Log: sysutils/logrotate: 3.8.9 -> 3.9.2 Changes: - Upstream moved to GitHub: https://github.com/logrotate/logrotate. - Add support for %M, %S and %V in "dateext" directive. - Fix bad filename in subject of email when "compress" and "maillast" is used. - Allow rotating files created before 1996. - Fix compilation errors on NetBSD caused by "array subscript has type 'char' in config.c". - Fix matching subdirectories on BSD systems for patterns like "*/log" in situation where logrotate tried to match "foo/log" even when "foo" has not been a directory. - Fix logging dates in debug messages. - Remove state file entries for logs which do not exist and have not been rotated for more than a year. - Fix poor performance with big state file. - Support logging to syslog by using '-l syslog'. - Allow running test-suite using dash. PR: 205716 Submitted by: douglas@douglasthrift.net Approved by: js@iksz.hu (maintainer) Changes: head/sysutils/logrotate/Makefile head/sysutils/logrotate/distinfo
Testbuilds all fine, committed,thanks!