git: 97deffc5b76f - main - mail/libspf2: Update to 1.2.11

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:49:28 UTC
The branch main has been updated by sunpoet:

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

commit 97deffc5b76fc61eeef40559aa82d7999c698288
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:37:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:40:16 +0000

    mail/libspf2: Update to 1.2.11
    
    - Update MASTER_SITES
    
    Changes:        https://github.com/shevek/libspf2/commits/master
    Security:       CVE-2021-20314
    PR:             259938
    Reported by:    Dmitriy <supportme@ukr.net>
---
 mail/libspf2/Makefile | 11 ++++++-----
 mail/libspf2/distinfo |  5 +++--
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile
index 3249887c2a01..0b8e08d191d3 100644
--- a/mail/libspf2/Makefile
+++ b/mail/libspf2/Makefile
@@ -1,11 +1,8 @@
 # Created by: snowchyld
 
 PORTNAME=	libspf2
-PORTVERSION=	1.2.10
-PORTREVISION=	2
+PORTVERSION=	1.2.11
 CATEGORIES=	mail
-MASTER_SITES=	http://www.libspf2.org/spf/ \
-		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Sender Policy Framework 2 C Implementation
@@ -13,12 +10,16 @@ COMMENT=	Sender Policy Framework 2 C Implementation
 LICENSE=	BSD2CLAUSE LGPL21 LGPL3
 LICENSE_COMB=	dual
 
-USES=		cpe libtool
+USES=		autoreconf cpe libtool
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	shevek
+GH_TAGNAME=	4915c30
+
 post-patch:
 	@${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h
 
diff --git a/mail/libspf2/distinfo b/mail/libspf2/distinfo
index 224fb9be2834..433d7aed9736 100644
--- a/mail/libspf2/distinfo
+++ b/mail/libspf2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (libspf2-1.2.10.tar.gz) = d91e3de81ae287a2976c44f60283bd3000d720e6a112dc7142eedf1831b821c9
-SIZE (libspf2-1.2.10.tar.gz) = 508842
+TIMESTAMP = 1652122961
+SHA256 (shevek-libspf2-1.2.11-4915c30_GH0.tar.gz) = 570692876b804be1fa64e95a65c902436ca873e3a002940c8aec1a779699b7b8
+SIZE (shevek-libspf2-1.2.11-4915c30_GH0.tar.gz) = 565173