I've stumbled upon some errors in the newest update of sudo,
All three config files (sudo,sudoers,sudo_logsrvd) in SYSCONFDIR
were duplicate of a single example config in PLIST-main.

The maintainer should consider if sudo.conf and sudo_logsrvd.conf
are really needed by default in /etc, they weren't previously.

This diff correctly samples the example configs. Also a diff excluding
sudo.conf and sudo_logsrvd.conf from being sampled is attached.

Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/security/sudo/pkg/PLIST-main,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST-main
--- pkg/PLIST-main      21 Jun 2020 12:38:52 -0000      1.2
+++ pkg/PLIST-main      24 Jun 2020 15:19:16 -0000
@@ -50,13 +50,13 @@ share/doc/sudo/TROUBLESHOOTING
 share/doc/sudo/UPGRADE
 share/examples/sudo/
 share/examples/sudo/sudo.conf
+@sample ${SYSCONFDIR}/sudo.conf
 share/examples/sudo/sudo_logsrvd.conf
+@sample ${SYSCONFDIR}/sudo_logsrvd.conf
 share/examples/sudo/sudoers
 share/examples/sudo/sudoers.OpenBSD
-share/examples/sudo/syslog.conf
 @mode 0440
 @sample ${SYSCONFDIR}/sudoers
 @mode
-@sample ${SYSCONFDIR}/sudo.conf
-@sample ${SYSCONFDIR}/sudo_logsrvd.conf
+share/examples/sudo/syslog.conf
 %%gettext%%

Attachment: diff
Description: Binary data

Reply via email to