On Sun, Mar 30, 2025 at 12:20:16PM -0400, Chaz Kettleson wrote: > On Tue, Mar 25, 2025 at 04:07:58PM -0400, Chaz Kettleson wrote: > > Summary of changes: > > > > - do not make configuration world readable as it may contain plaintext > > passwords > > > > -- > > Chaz > > > > diff --git a/net/hopm/Makefile b/net/hopm/Makefile > > index 17cebe473df..24049d90de4 100644 > > --- a/net/hopm/Makefile > > +++ b/net/hopm/Makefile > > @@ -1,7 +1,7 @@ > > COMMENT= open-proxy monitor irc bot > > > > DIST_TUPLE= github ircd-hybrid hopm 1.1.10 . > > -REVISION= 2 > > +REVISION= 3 > > > > CATEGORIES= net > > > > diff --git a/net/hopm/pkg/PLIST b/net/hopm/pkg/PLIST > > index 6cfdd8026e8..8a30a3b6ad6 100644 > > --- a/net/hopm/pkg/PLIST > > +++ b/net/hopm/pkg/PLIST > > @@ -5,7 +5,9 @@ > > share/examples/hopm/ > > share/examples/hopm/reference.conf > > @sample ${SYSCONFDIR}/hopm/ > > +@mode 0640 > > @sample ${SYSCONFDIR}/hopm/hopm.conf > > +@mode > > @owner _hopm > > @group _hopm > > @sample /var/log/hopm/ > > > > ping > > -- > Chaz >
Small update: - group should be _hopm for reading (not wheel) -- Chaz diff --git a/net/hopm/Makefile b/net/hopm/Makefile index 17cebe473df..24049d90de4 100644 --- a/net/hopm/Makefile +++ b/net/hopm/Makefile @@ -1,7 +1,7 @@ COMMENT= open-proxy monitor irc bot DIST_TUPLE= github ircd-hybrid hopm 1.1.10 . -REVISION= 2 +REVISION= 3 CATEGORIES= net diff --git a/net/hopm/pkg/PLIST b/net/hopm/pkg/PLIST index 6cfdd8026e8..3cb29c07cd5 100644 --- a/net/hopm/pkg/PLIST +++ b/net/hopm/pkg/PLIST @@ -5,7 +5,10 @@ share/examples/hopm/ share/examples/hopm/reference.conf @sample ${SYSCONFDIR}/hopm/ +@mode 0640 +@group _hopm @sample ${SYSCONFDIR}/hopm/hopm.conf +@mode @owner _hopm @group _hopm @sample /var/log/hopm/