git: e13e3d8ab150 - main - security/tcpcrypt: use new divert(4) API

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Tue, 27 Sep 2022 19:23:37 UTC
The branch main has been updated by glebius (src committer):

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

commit e13e3d8ab15084d26e820900a3f67f3b3a385b54
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-09-27 19:20:20 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-09-27 19:23:14 +0000

    security/tcpcrypt: use new divert(4) API
    
    The upstream has been idle for 8 years, so unlikely they will accept
    a patch in a near future. John-Mark (maintainer) says the project is
    abandoned and he plans to remove the port. Before this happens let
    the last version of the port work with modern API, at least to
    facilitate an exp-run.  Pull the patch from my github fork.
    
    Approved by:    mikael
---
 security/tcpcrypt/Makefile | 4 ++++
 security/tcpcrypt/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/security/tcpcrypt/Makefile b/security/tcpcrypt/Makefile
index 7688bce1a8ab..92b3f950f4ca 100644
--- a/security/tcpcrypt/Makefile
+++ b/security/tcpcrypt/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	tcpcrypt
 PORTVERSION=	0.5
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security net
 
+PATCH_SITES=	https://github.com/glebius/${PORTNAME}/commit/
+PATCHFILES=	8c7d4abf2ca1d795651cf8cc73994b18419487d7.patch:-p1
+
 MAINTAINER=	jmg@FreeBSD.org
 COMMENT=	TCPCrypt userland divert daemon
 WWW=		http://www.tcpcrypt.org/
diff --git a/security/tcpcrypt/distinfo b/security/tcpcrypt/distinfo
index 4ac85109424b..0a73677b9096 100644
--- a/security/tcpcrypt/distinfo
+++ b/security/tcpcrypt/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1468561049
+TIMESTAMP = 1661920970
 SHA256 (scslab-tcpcrypt-v0.5_GH0.tar.gz) = 251213be8bfd0b9224f4d8d7a79fe1b8961a180f5a278f128376a66364a38ea3
 SIZE (scslab-tcpcrypt-v0.5_GH0.tar.gz) = 824288
+SHA256 (8c7d4abf2ca1d795651cf8cc73994b18419487d7.patch) = a4e556806e60b646dab9edbc1f7975a0c8a084431810bbd7d4676896a4ec06fc
+SIZE (8c7d4abf2ca1d795651cf8cc73994b18419487d7.patch) = 744