git: e65c3d3818f0 - main - irc/ngircd: Install config with read permissions for group

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 04 Oct 2024 22:09:50 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e65c3d3818f03a287ce8bc21b19ed2994f1e8fbd

commit e65c3d3818f03a287ce8bc21b19ed2994f1e8fbd
Author:     Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2024-10-04 21:59:48 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-04 21:59:48 +0000

    irc/ngircd: Install config with read permissions for group
    
    Fixed run with default configuration after installation without the need
    to manually change the permissions for the configuration file.
    
    PR:     281538
---
 irc/ngircd/Makefile  | 1 +
 irc/ngircd/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
index 66144eef320d..316ca7886a29 100644
--- a/irc/ngircd/Makefile
+++ b/irc/ngircd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ngircd
 DISTVERSION=	27
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	irc
 MASTER_SITES=	https://ngircd.barton.de/pub/ngircd/ \
diff --git a/irc/ngircd/pkg-plist b/irc/ngircd/pkg-plist
index 0a9820d0420b..d44036714853 100644
--- a/irc/ngircd/pkg-plist
+++ b/irc/ngircd/pkg-plist
@@ -1,4 +1,4 @@
-@sample %%ETCDIR%%/ngircd.conf.sample
+@sample(,ngircd,640) %%ETCDIR%%/ngircd.conf.sample
 sbin/ngircd
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.md
 %%PORTDOCS%%%%DOCSDIR%%/Bopm.txt