git: 81fbff35dab6 - main - news/fidogate: update to v5.12

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Sat, 15 Apr 2023 17:11:27 UTC
The branch main has been updated by fernape:

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

commit 81fbff35dab608db95146524d2bf36a96918374d
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-03-31 06:56:53 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-04-15 17:06:44 +0000

    news/fidogate: update to v5.12
    
     * Fix crashes, support PING/TRACE, switch to github actions
     * mime: fix final NUL space allocating
     * rfc2ftn: add X-HTTP-USER-AGENT RFC header to use it as tearline.
     * tick: add tick flavour support for passthrough fileboxes
     * mime: get_mime_disposition: free allocated string but not tmps
     * acl: list_free: NULLify ngrp_pat_list
    
    PR:             270545
    Reported by:    dz@dolik.dev
    Approved by:    admin@5034.ru (maintainer, timeout > 2 weeks)
---
 news/fidogate/Makefile                 |  5 +----
 news/fidogate/distinfo                 |  6 +++---
 news/fidogate/files/patch-configure.ac | 11 +++++++++++
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/news/fidogate/Makefile b/news/fidogate/Makefile
index 535713826121..b263de77ec42 100644
--- a/news/fidogate/Makefile
+++ b/news/fidogate/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	fidogate
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.10-3
-DISTVERSIONSUFFIX=	-g1c1fd41
+DISTVERSION=	5.12
 CATEGORIES=	news mail
 
 MAINTAINER=	admin@5034.ru
@@ -11,8 +10,6 @@ WWW=		https://github.com/ykaliuta/fidogate
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		does not configure: error: use --with-newsbindir=DIR or --without-news option
-
 USES=		autoreconf perl5 iconv
 USE_GITHUB=	yes
 GH_ACCOUNT=	ykaliuta
diff --git a/news/fidogate/distinfo b/news/fidogate/distinfo
index 30bbeb14bd8f..7d4b6c5db91c 100644
--- a/news/fidogate/distinfo
+++ b/news/fidogate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611830003
-SHA256 (ykaliuta-fidogate-v5.10-3-g1c1fd41_GH0.tar.gz) = f645bc84d84b79bed0cf49b0b8fd184d08f996eb25369b2efcfaf5451881f578
-SIZE (ykaliuta-fidogate-v5.10-3-g1c1fd41_GH0.tar.gz) = 1047615
+TIMESTAMP = 1681578372
+SHA256 (ykaliuta-fidogate-v5.12_GH0.tar.gz) = 6667448be8f676459a0a96943c48a91fb35393239b216e7fb43d80dbfb6e14e5
+SIZE (ykaliuta-fidogate-v5.12_GH0.tar.gz) = 1049998
diff --git a/news/fidogate/files/patch-configure.ac b/news/fidogate/files/patch-configure.ac
new file mode 100644
index 000000000000..5d6da3473dd2
--- /dev/null
+++ b/news/fidogate/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2023-03-30 16:12:53.340030000 +0000
++++ configure.ac	2023-03-30 16:13:16.056687000 +0000
+@@ -1090,7 +1090,7 @@
+ 	    exit 1;
+ 	fi
+     fi
+-    if $newsbindir/innconfval -v 2>&1 </dev/null | egrep 2\.[3\|4\|5\|6] > /dev/null; then
++    if $newsbindir/innconfval -v 2>&1 </dev/null | egrep 2\.[3\|4\|5\|6\|7] > /dev/null; then
+       eval `$newsbindir/innconfval -s|grep -e 'PATHNEWS\|PATHBIN\|PATHOUTGOING\|PATHDB\|PATHARTICLES\|PATHETC'`
+       NEWSLIBDIR=${PATHNEWS}
+     else