git: 38d9ffe04a1f - main - security/libreswan: Update 4.7 → 4.11

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 03 Aug 2023 02:38:54 UTC
The branch main has been updated by yuri:

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

commit 38d9ffe04a1f05dbea876f48c21ea6c6a188e5fe
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-03 01:18:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-03 02:38:51 +0000

    security/libreswan: Update 4.7 → 4.11
    
    Reported by:    portscout
---
 security/libreswan/Makefile                        |  8 +--
 security/libreswan/distinfo                        |  6 +-
 .../files/patch-programs_pluto_kernel__bsdkame.c   | 13 -----
 security/libreswan/pkg-plist                       | 65 ++++++++++------------
 4 files changed, 35 insertions(+), 57 deletions(-)

diff --git a/security/libreswan/Makefile b/security/libreswan/Makefile
index bd101cc16091..aa19ad4e659f 100644
--- a/security/libreswan/Makefile
+++ b/security/libreswan/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libreswan
-DISTVERSION=	4.7
-PORTREVISION=	1
+DISTVERSION=	4.11
 CATEGORIES=	security
 MASTER_SITES=	https://download.libreswan.org/
 
@@ -48,9 +47,8 @@ post-configure:
 
 post-install:
 .for f in \
-	_import_crl addconn algparse asn1check cavp dncheck ecdsasigkey \
-	enumcheck hunkcheck ipcheck jambufcheck keyidcheck pluto readwriteconf \
-	routecheck rsasigkey showhostkey timecheck vendoridcheck whack
+	_import_crl addconn algparse asn1check cavp dncheck ecdsasigkey enumcheck hunkcheck ipcheck \
+	jambufcheck keyidcheck pluto readwriteconf rsasigkey showhostkey showroute timecheck vendoridcheck whack
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/ipsec/${f}
 .endfor
 
diff --git a/security/libreswan/distinfo b/security/libreswan/distinfo
index ee6f6c4e508f..414ef7d47d8a 100644
--- a/security/libreswan/distinfo
+++ b/security/libreswan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653544584
-SHA256 (libreswan-4.7.tar.gz) = ddd6337b3900063d870301c3d9f61f56107c765850fb00a163d360359ff3fc44
-SIZE (libreswan-4.7.tar.gz) = 3684167
+TIMESTAMP = 1691024733
+SHA256 (libreswan-4.11.tar.gz) = 429a917fe4a55260f152cfb3188a587e5b12e94a14e240ac125319ff14b8c83d
+SIZE (libreswan-4.11.tar.gz) = 3711304
diff --git a/security/libreswan/files/patch-programs_pluto_kernel__bsdkame.c b/security/libreswan/files/patch-programs_pluto_kernel__bsdkame.c
deleted file mode 100644
index 4c962ee0e7fe..000000000000
--- a/security/libreswan/files/patch-programs_pluto_kernel__bsdkame.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- programs/pluto/kernel_bsdkame.c.orig	2021-05-21 21:30:08 UTC
-+++ programs/pluto/kernel_bsdkame.c
-@@ -24,6 +24,10 @@
- #include <string.h>
- #include <unistd.h>
- 
-+#if defined(__FreeBSD__)
-+#include <sys/queue.h>
-+#endif
-+
- #include <sys/select.h>
- #include <sys/time.h>
- #include <sys/socket.h>
diff --git a/security/libreswan/pkg-plist b/security/libreswan/pkg-plist
index f9b37588ce70..9b3d4b834009 100644
--- a/security/libreswan/pkg-plist
+++ b/security/libreswan/pkg-plist
@@ -13,7 +13,6 @@ libexec/ipsec/_import_crl
 libexec/ipsec/_plutorun
 libexec/ipsec/_realsetup
 libexec/ipsec/_secretcensor
-libexec/ipsec/_stackmanager
 libexec/ipsec/_unbound-hook
 libexec/ipsec/_updown
 libexec/ipsec/_updown.bsd
@@ -31,51 +30,45 @@ libexec/ipsec/ipcheck
 libexec/ipsec/jambufcheck
 libexec/ipsec/keyidcheck
 libexec/ipsec/letsencrypt
-libexec/ipsec/look
 libexec/ipsec/newhostkey
 libexec/ipsec/pluto
 libexec/ipsec/readwriteconf
-libexec/ipsec/routecheck
 libexec/ipsec/rsasigkey
 libexec/ipsec/setup
-libexec/ipsec/show
 libexec/ipsec/showhostkey
+libexec/ipsec/showroute
 libexec/ipsec/timecheck
 libexec/ipsec/vendoridcheck
-libexec/ipsec/verify
 libexec/ipsec/whack
+man/man5/ipsec.conf.5.gz
+man/man5/ipsec.secrets.5.gz
+man/man8/ipsec.8.gz
+man/man8/ipsec__import_crl.8.gz
+man/man8/ipsec__plutorun.8.gz
+man/man8/ipsec__realsetup.8.gz
+man/man8/ipsec__secretcensor.8.gz
+man/man8/ipsec__unbound-hook.8.gz
+man/man8/ipsec__updown.8.gz
+man/man8/ipsec__updown.bsdkame.8.gz
+man/man8/ipsec_addconn.8.gz
+man/man8/ipsec_auto.8.gz
+man/man8/ipsec_barf.8.gz
+man/man8/ipsec_checknss.8.gz
+man/man8/ipsec_ecdsasigkey.8.gz
+man/man8/ipsec_import.8.gz
+man/man8/ipsec_initnss.8.gz
+man/man8/ipsec_letsencrypt.8.gz
+man/man8/ipsec_newhostkey.8.gz
+man/man8/ipsec_pluto.8.gz
+man/man8/ipsec_readwriteconf.8.gz
+man/man8/ipsec_rsasigkey.8.gz
+man/man8/ipsec_setup.8.gz
+man/man8/ipsec_showhostkey.8.gz
+man/man8/ipsec_showroute.8.gz
+man/man8/ipsec_vendorid.8.gz
+man/man8/ipsec_whack.8.gz
+man/man8/pluto.8.gz
 sbin/ipsec
 %%PORTDOCS%%%%DOCSDIR%%/ipsec.conf-sample
 %%PORTDOCS%%%%DOCSDIR%%/ipsec.secrets-sample
 share/examples/rc.d/pluto
-share/man/man5/ipsec.conf.5.gz
-share/man/man5/ipsec.secrets.5.gz
-share/man/man8/ipsec.8.gz
-share/man/man8/ipsec__import_crl.8.gz
-share/man/man8/ipsec__plutorun.8.gz
-share/man/man8/ipsec__realsetup.8.gz
-share/man/man8/ipsec__secretcensor.8.gz
-share/man/man8/ipsec__stackmanager.8.gz
-share/man/man8/ipsec__unbound-hook.8.gz
-share/man/man8/ipsec__updown.8.gz
-share/man/man8/ipsec__updown.bsdkame.8.gz
-share/man/man8/ipsec_addconn.8.gz
-share/man/man8/ipsec_auto.8.gz
-share/man/man8/ipsec_barf.8.gz
-share/man/man8/ipsec_checknss.8.gz
-share/man/man8/ipsec_ecdsasigkey.8.gz
-share/man/man8/ipsec_import.8.gz
-share/man/man8/ipsec_initnss.8.gz
-share/man/man8/ipsec_letsencrypt.8.gz
-share/man/man8/ipsec_look.8.gz
-share/man/man8/ipsec_newhostkey.8.gz
-share/man/man8/ipsec_pluto.8.gz
-share/man/man8/ipsec_readwriteconf.8.gz
-share/man/man8/ipsec_rsasigkey.8.gz
-share/man/man8/ipsec_setup.8.gz
-share/man/man8/ipsec_show.8.gz
-share/man/man8/ipsec_showhostkey.8.gz
-share/man/man8/ipsec_vendorid.8.gz
-share/man/man8/ipsec_verify.8.gz
-share/man/man8/ipsec_whack.8.gz
-share/man/man8/pluto.8.gz