git: 1704b36b0560 - main - net/widentd: Update to 1.05

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 02 Mar 2024 11:47:08 UTC
The branch main has been updated by arrowd:

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

commit 1704b36b05603fa914bdcf17fc967958e57ada76
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-03-02 11:45:12 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-02 11:45:12 +0000

    net/widentd: Update to 1.05
    
    PR:             276726
---
 net/widentd/Makefile | 26 +++++++++++++++++---------
 net/widentd/distinfo |  5 +++--
 2 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/net/widentd/Makefile b/net/widentd/Makefile
index a2a96803e8b9..272153355003 100644
--- a/net/widentd/Makefile
+++ b/net/widentd/Makefile
@@ -1,22 +1,30 @@
 PORTNAME=	widentd
-PORTVERSION=	1.04
-PORTREVISION=	1
+DISTVERSION=	1.05
 CATEGORIES=	net
-MASTER_SITES=	https://BSDforge.com/projects/source/net/widentd/
+MASTER_SITES=	https://codeberg.org/BSDforge/${PORTNAME}/archive/
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	RFC1413 auth/identd daemon providing a fixed fake reply
-WWW=		https://BSDforge.com/projects/net/widentd/
+WWW=		https://codeberg.org/BSDforge/widentd
 
 LICENSE=	BSD3CLAUSE
 
-DEPRECATED=	Abandonware, last release in 2004 and dead upstream. Consider using security/oidentd
-EXPIRATION_DATE=2024-02-29
+USES=		ncurses uidfix
 
-USES=		ncurses uidfix tar:xz
 USE_RC_SUBR=	widentd
-MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man" MK_WERROR=no
 
-PLIST_FILES=	sbin/widentd man/man8/widentd.8.gz
+OPTIONS_DEFINE=	DOCS
+
+MAKE_ENV=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/share/man/man"
+PLIST_FILES=	sbin/widentd share/man/man8/widentd.8.gz
+PORTDOCS=	LICENSE README README.md
+
+# else ports framework can't handle USE_RC_SUBR
+post-extract:
+	${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/net/widentd/distinfo b/net/widentd/distinfo
index 81f8be588822..6e32fa6c4ca9 100644
--- a/net/widentd/distinfo
+++ b/net/widentd/distinfo
@@ -1,2 +1,3 @@
-SHA256 (widentd-1.04.tar.xz) = cbdea487ad21dd6bdb21661d84745c0123e851054f69a53445129011b255a060
-SIZE (widentd-1.04.tar.xz) = 5380
+TIMESTAMP = 1709333907
+SHA256 (widentd-1.05.tar.gz) = fc685d69dd268bd66b655e8ea0c3a8490c69902c543894b37abff4def04684c6
+SIZE (widentd-1.05.tar.gz) = 5961