[Bug 282787] [PATCH] Upgrade sysutils/logwatch from 7.5.1 to 7.11

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 16:39:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282787

            Bug ID: 282787
           Summary: [PATCH] Upgrade sysutils/logwatch from 7.5.1 to 7.11
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trashcan@ellael.org
                CC: trix@basement.net
             Flags: maintainer-feedback?(trix@basement.net)
                CC: trix@basement.net

Created attachment 255202
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255202&action=edit
[PATCH] Upgrade sysutils/logwatch from 7.5.1 to 7.11

First of all: I am not that much an expert of FreeBSD's ports.


I had to make the following modifications to Makefile:

1) logwatch-7.11 depends on "HTML::Entities" but FreeBSD ports provide
"p5-HTML-HTML5-Entities", only
   thus I added a new RUN_DEPENDS to the Makefile and extended REINPLACE_CMD to
modifiy logwatch.pl accordingly 
2) in contrast to logwatch-7.5.1/defaults/logwatch.conf now all entries in
logwatch-7.11/defaults/logwatch.conf are commented out
   thus I needed to modify the default tmpdir location by REINPLACE_CMD 

I adjusted pkg-plist:

1) w.r.t. extended functionality
2) I replaced "etc/logwatch" by "%%ETCDIR%%"


"poudriere testport" compiles without any glitches.

All of my services (dovecot, postfix, http) produce identical output, besides
improvements regarding "Unmatched Entries"

HTH and regards,
Michael

-- 
You are receiving this mail because:
You are the assignee for the bug.