git: 07f049b22e26 - main - devel/libdap: Update to 3.21.0-27

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:10:07 UTC
The branch main has been updated by sunpoet:

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

commit 07f049b22e265c356ae62e6ec413a76e25e9c28d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:44:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:21 +0000

    devel/libdap: Update to 3.21.0-27
    
    - Update WWW and clean up pkg-descr
    
    Changes:        https://github.com/OPENDAP/libdap4/releases
---
 devel/libdap/Makefile              |  6 ++++--
 devel/libdap/distinfo              |  6 +++---
 devel/libdap/files/patch-configure | 32 +++++++++++++++++---------------
 devel/libdap/pkg-descr             |  2 --
 devel/libdap/pkg-plist             |  6 +++---
 5 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile
index 29e53456c438..243025ce23bb 100644
--- a/devel/libdap/Makefile
+++ b/devel/libdap/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	libdap
-PORTVERSION=	3.20.11
+DISTVERSION=	3.21.0-27
 CATEGORIES=	devel
 MASTER_SITES=	https://www.opendap.org/pub/source/ \
 		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	SDK which contains an implementation of DAP 2.0 and 4.0
-WWW=		https://www.opendap.org/software/libdap
+WWW=		https://www.opendap.org/software/libdap \
+		https://github.com/OPENDAP/libdap4
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -23,5 +24,6 @@ GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
+WRKSRC=		${WRKDIR}/libdap-${PORTVERSION:R}
 
 .include <bsd.port.mk>
diff --git a/devel/libdap/distinfo b/devel/libdap/distinfo
index 8093bb4f6ce3..6b1ce02b8419 100644
--- a/devel/libdap/distinfo
+++ b/devel/libdap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658506555
-SHA256 (libdap-3.20.11.tar.gz) = 850debf6ee6991350bf31051308093bee35ddd2121e4002be7e130a319de1415
-SIZE (libdap-3.20.11.tar.gz) = 2839026
+TIMESTAMP = 1709390364
+SHA256 (libdap-3.21.0-27.tar.gz) = b5b8229d3aa97fea9bba4a0b11b1ee1c6446bd5f7ad2cff591f86064f465eacf
+SIZE (libdap-3.21.0-27.tar.gz) = 2854614
diff --git a/devel/libdap/files/patch-configure b/devel/libdap/files/patch-configure
index 40d30d4bd013..aa5b17656c44 100644
--- a/devel/libdap/files/patch-configure
+++ b/devel/libdap/files/patch-configure
@@ -1,31 +1,33 @@
---- configure.orig	2022-07-01 21:03:16 UTC
+--- configure.orig	2024-01-04 16:04:42 UTC
 +++ configure
-@@ -30287,28 +30287,6 @@ fi
+@@ -31688,30 +31688,6 @@ fi
  
  
  
--if test -f /etc/redhat-release && grep -q '8\.' /etc/redhat-release; then :
+-if test -f /etc/redhat-release && grep -q '8\.' /etc/redhat-release
+-then :
 -
--        { $as_echo "$as_me:${as_lineno-$LINENO}: Found a RHEL 8 or equivalent system..." >&5
--$as_echo "$as_me: Found a RHEL 8 or equivalent system..." >&6;}
--        if grep -q -v tirpc <<< $CPPFLAGS || grep -q -v tirpc <<< $LDFLAGS; then :
+-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Found a RHEL 8 or equivalent system..." >&5
+-printf "%s\n" "$as_me: Found a RHEL 8 or equivalent system..." >&6;}
+-        if grep -q -v tirpc <<< $CPPFLAGS || grep -q -v tirpc <<< $LDFLAGS
+-then :
 -
 -            as_fn_error $? "Libdap4 on Redhat Linux 8 requires the tirpc library be included on CPPFLAGS and LDFLAGS" "$LINENO" 5
 -
--else
--  { $as_echo "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
--$as_echo "$as_me: and CPPFLAGS and LDFLAGS are set" >&6;}
+-else $as_nop
+-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
+-printf "%s\n" "$as_me: and CPPFLAGS and LDFLAGS are set" >&6;}
 -
 -fi
 -
--else
+-else $as_nop
 -
--        { $as_echo "$as_me:${as_lineno-$LINENO}: Not a RHEL 8 or equivalent system" >&5
--$as_echo "$as_me: Not a RHEL 8 or equivalent system" >&6;}
+-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Not a RHEL 8 or equivalent system" >&5
+-printf "%s\n" "$as_me: Not a RHEL 8 or equivalent system" >&6;}
 -
 -fi
 -
 -
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
- $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
- if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
+ printf %s "checking for pthread_kill in -lpthread... " >&6; }
+ if test ${ac_cv_lib_pthread_pthread_kill+y}
diff --git a/devel/libdap/pkg-descr b/devel/libdap/pkg-descr
index 0e03f0d206b6..f04deedf850e 100644
--- a/devel/libdap/pkg-descr
+++ b/devel/libdap/pkg-descr
@@ -1,5 +1,3 @@
 libdap is A C++ SDK which contains an implementation of DAP 2.0 and 3.1,
 Client- and Server-side support classes and a prototype implementation
 of the AIS.
-
-See also: https://github.com/OPENDAP/libdap4
diff --git a/devel/libdap/pkg-plist b/devel/libdap/pkg-plist
index 249fceeda31d..fad22a51b361 100644
--- a/devel/libdap/pkg-plist
+++ b/devel/libdap/pkg-plist
@@ -141,15 +141,15 @@ include/libdap/xdr-datatypes.h
 lib/libdap.a
 lib/libdap.so
 lib/libdap.so.27
-lib/libdap.so.27.1.1
+lib/libdap.so.27.2.0
 lib/libdapclient.a
 lib/libdapclient.so
 lib/libdapclient.so.6
-lib/libdapclient.so.6.1.11
+lib/libdapclient.so.6.2.0
 lib/libdapserver.a
 lib/libdapserver.so
 lib/libdapserver.so.7
-lib/libdapserver.so.7.6.11
+lib/libdapserver.so.7.7.0
 lib/libtest-types.a
 libdata/pkgconfig/libdap.pc
 libdata/pkgconfig/libdapclient.pc