git: 475ce0ea7d50 - main - sysutils/fcron: fix owner of fcronsighup

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 11:57:53 UTC
The branch main has been updated by fernape:

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

commit 475ce0ea7d505810d46703c1be17dc30e362ae8f
Author:     Bob Eager <bob@eager.cx>
AuthorDate: 2023-07-17 07:02:33 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-07-17 11:54:58 +0000

    sysutils/fcron: fix owner of fcronsighup
    
    While here, pet linters.
    
    PR:             272537
    Reported by:    bob@eager.cx (maintainer)
---
 sysutils/fcron/Makefile  | 23 ++++++++++++-----------
 sysutils/fcron/pkg-plist |  2 +-
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/sysutils/fcron/Makefile b/sysutils/fcron/Makefile
index b36e00a8bde4..0c69d3c72d8c 100644
--- a/sysutils/fcron/Makefile
+++ b/sysutils/fcron/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fcron
 PORTVERSION=	3.2.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://fcron.free.fr/archives/ \
 		ftp://ftp.seul.org/pub/fcron/
@@ -11,26 +12,24 @@ WWW=		http://fcron.free.fr/
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-GNU_CONFIGURE=	yes
 USES=		perl5 gmake
 USE_PERL5=	build
+USE_RC_SUBR=	fcron
+
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--localstatedir=/var \
 		--with-cflags="${CFLAGS}" \
 		--with-rootname=root --with-rootgroup=wheel \
 		--with-docdir=${DOCSDIR} \
 		--with-dsssl-dir=no
 
+SUB_FILES=	pkg-message
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USERS=		fcron
 GROUPS=		fcron
 
-USE_RC_SUBR=	fcron
-
-SUB_FILES=	pkg-message
-
 PAMDIR?=	etc/pam.d
 PLIST_SUB+=	PAMDIR=etc/pam.d
 
@@ -38,6 +37,8 @@ PORTDOCS=	*
 
 DOCSRC=		${WRKSRC}/doc/en
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/fcron ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_PROGRAM} ${WRKSRC}/fcrontab ${STAGEDIR}${PREFIX}/bin
@@ -53,14 +54,14 @@ do-install:
 .endfor
 	${MKDIR} -m 770 ${STAGEDIR}/var/spool/fcron
 
-do-install-EXAMPLES-on:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${FILESDIR}/fcrontab-* ${WRKSRC}/files/*.pam ${STAGEDIR}${EXAMPLESDIR}
-
 do-install-DOCS-on:
 .for d in txt HTML
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}
 	${INSTALL_DATA} ${DOCSRC}/${d}/* ${STAGEDIR}${DOCSDIR}/${d}
 .endfor
 
+do-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/fcrontab-* ${WRKSRC}/files/*.pam ${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.mk>
diff --git a/sysutils/fcron/pkg-plist b/sysutils/fcron/pkg-plist
index dc3787ede088..e3a3214f82d7 100644
--- a/sysutils/fcron/pkg-plist
+++ b/sysutils/fcron/pkg-plist
@@ -4,10 +4,10 @@
 @group fcron
 @(,,6111) bin/fcrondyn
 @(,,6111) bin/fcrontab
-@(,,4110) bin/fcronsighup
 @sample etc/fcron.allow.sample
 @sample etc/fcron.deny.sample
 @owner root
+@(,,4110) bin/fcronsighup
 @sample etc/fcron.conf.sample
 @owner
 @group