git: 190651427253 - main - net/libiscsi: update to 1.20.0

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 13:09:47 UTC
The branch main has been updated by uzsolt:

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

commit 19065142725329713ffda2b83a35e9deb55dbcc4
Author:     Martin Birgmeier <d8zNeCFG@aon.at>
AuthorDate: 2024-08-11 13:04:46 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-11 13:09:21 +0000

    net/libiscsi: update to 1.20.0
    
    Strip library.
    Pet portfmt.
    
    PR:             277892
    Approved by:    submitter is maintainer
---
 net/libiscsi/Makefile  | 21 +++++++++++----------
 net/libiscsi/distinfo  |  6 +++---
 net/libiscsi/pkg-plist |  7 +++++--
 3 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/net/libiscsi/Makefile b/net/libiscsi/Makefile
index 5d950a7a429c..fa7e9b7ef526 100644
--- a/net/libiscsi/Makefile
+++ b/net/libiscsi/Makefile
@@ -1,25 +1,26 @@
 PORTNAME=	libiscsi
-DISTVERSION=	1.19.0.230208
-PORTREVISION=	1
+DISTVERSION=	1.20.0.240205
 CATEGORIES=	net
 
 MAINTAINER=	d8zNeCFG@aon.at
 COMMENT=	Client-side library to implement the iSCSI protocol
 WWW=		https://github.com/sahlberg/libiscsi
 
-LICENSE=		LGPL21+ GPLv2+
-LICENSE_COMB=		multi
-LICENSE_FILE_LGPL21+  =	${WRKSRC}/LICENCE-LGPL-2.1.txt
-LICENSE_FILE_GPLv2+   =	${WRKSRC}/LICENCE-GPL-2.txt
+LICENSE=	GPLv2+ LGPL21+
+LICENSE_COMB=	multi
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/LICENCE-GPL-2.txt
+LICENSE_FILE_LGPL21+ =	${WRKSRC}/LICENCE-LGPL-2.1.txt
 
 USES=		autoreconf compiler:c11 gmake libtool pathfix
 USE_GITHUB=	yes
-USE_LDCONFIG=	yes
-
 GH_ACCOUNT=	sahlberg
-GH_TAGNAME=	22f7b2656776
+GH_TAGNAME=	fef688aa9980
+
+USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.10.0.0
 
 .include <bsd.port.mk>
diff --git a/net/libiscsi/distinfo b/net/libiscsi/distinfo
index f874ea814454..00f17b720f5b 100644
--- a/net/libiscsi/distinfo
+++ b/net/libiscsi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676144386
-SHA256 (sahlberg-libiscsi-1.19.0.230208-22f7b2656776_GH0.tar.gz) = e4560a88fc37465ac1ec43354c788141fac4cd459be039ee78df6a49b586b035
-SIZE (sahlberg-libiscsi-1.19.0.230208-22f7b2656776_GH0.tar.gz) = 293039
+TIMESTAMP = 1711120874
+SHA256 (sahlberg-libiscsi-1.20.0.240205-fef688aa9980_GH0.tar.gz) = c600d951c86ea496374df2054f0bf602923870aef76922bcd68d20d83e302804
+SIZE (sahlberg-libiscsi-1.20.0.240205-fef688aa9980_GH0.tar.gz) = 302430
diff --git a/net/libiscsi/pkg-plist b/net/libiscsi/pkg-plist
index e06557f1f0e9..9dde0241b0ac 100644
--- a/net/libiscsi/pkg-plist
+++ b/net/libiscsi/pkg-plist
@@ -1,5 +1,7 @@
+bin/iscsi-discard
 bin/iscsi-inq
 bin/iscsi-ls
+bin/iscsi-md5sum
 bin/iscsi-perf
 bin/iscsi-pr
 bin/iscsi-readcapacity16
@@ -8,10 +10,11 @@ include/iscsi/iscsi.h
 include/iscsi/scsi-lowlevel.h
 lib/libiscsi.a
 lib/libiscsi.so
-lib/libiscsi.so.9
-lib/libiscsi.so.9.0.0
+lib/libiscsi.so.10
+lib/libiscsi.so.10.0.0
 libdata/pkgconfig/libiscsi.pc
 share/man/man1/iscsi-inq.1.gz
 share/man/man1/iscsi-ls.1.gz
+share/man/man1/iscsi-md5sum.1.gz
 share/man/man1/iscsi-swp.1.gz
 share/man/man1/iscsi-test-cu.1.gz