git: fab39cacd057 - main - devel/libzrtpcpp: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 00:02:04 UTC
The branch main has been updated by bofh:

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

commit fab39cacd057d17cd3efa0d4d018558fd8213246
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-20 23:16:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-21 00:01:36 +0000

    devel/libzrtpcpp: Remove expired port:
    
    2023-03-21 devel/libzrtpcpp: Broken since 2021
---
 MOVED                                              |  1 +
 devel/Makefile                                     |  1 -
 devel/libzrtpcpp/Makefile                          | 32 -----------------
 devel/libzrtpcpp/distinfo                          |  2 --
 devel/libzrtpcpp/files/patch-CMakeLists.txt        | 41 ----------------------
 devel/libzrtpcpp/files/patch-libzrtpcpp.pc.cmake   | 17 ---------
 .../files/patch-src-libzrtpcpp_ZrtpPacketBase.h    | 10 ------
 devel/libzrtpcpp/files/patch-src__CMakeLists.txt   | 11 ------
 devel/libzrtpcpp/pkg-descr                         |  2 --
 devel/libzrtpcpp/pkg-plist                         | 12 -------
 10 files changed, 1 insertion(+), 128 deletions(-)

diff --git a/MOVED b/MOVED
index bcb3de473f85..c82885785266 100644
--- a/MOVED
+++ b/MOVED
@@ -17801,3 +17801,4 @@ cad/NASTRAN-95||2023-03-19|Has expired: Broken since 2020
 lang/dlv||2023-03-19|Has expired: Broken since 2020
 net/nfs-ganesha-kmod||2023-03-19|Has expired: Broken since 2020
 graphics/py-open3d-python||2023-03-19|Has expired: Broken since 2020
+devel/libzrtpcpp||2023-03-20|Has expired: Broken since 2021
diff --git a/devel/Makefile b/devel/Makefile
index 1d87f70aa0c1..1c7dff06e472 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1442,7 +1442,6 @@
     SUBDIR += libxtend
     SUBDIR += libzim
     SUBDIR += libzookeeper
-    SUBDIR += libzrtpcpp
     SUBDIR += libzvbi
     SUBDIR += lightning
     SUBDIR += linenoise-ng
diff --git a/devel/libzrtpcpp/Makefile b/devel/libzrtpcpp/Makefile
deleted file mode 100644
index 769e81c4358e..000000000000
--- a/devel/libzrtpcpp/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-PORTNAME=	libzrtpcpp
-PORTVERSION=	2.3.4
-PORTREVISION=	8
-CATEGORIES=	devel
-MASTER_SITES=	GNU/ccrtp
-
-MAINTAINER=	acm@FreeBSD.org
-COMMENT=	ZRTP extension for GNU ccRTP
-WWW=		https://www.gnu.org/software/ccrtp/
-
-BROKEN=		incompatible with current SSL, bad C++ code
-DEPRECATED=	Broken since 2021
-EXPIRATION_DATE=	2023-03-21
-
-LIB_DEPENDS=	libccrtp.so:devel/ccrtp \
-		libgcrypt.so:security/libgcrypt
-
-USES=		cmake:noninja pkgconfig ssl
-
-CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON \
-		-DOPENSSL_INCLUDE_DIRS="${OPENSSLINC}" \
-		-DOPENSSL_LIBDIR="${OPENSSLLIB}"
-CXXFLAGS+=	-I${LOCALBASE}/include -I${OPENSSLINC}
-LDFLAGS+=	-L${LOCALBASE}/lib -L${OPENSSLLIB}
-USE_LDCONFIG=	yes
-
-post-patch:
-	@${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} -i "" \
-		-e "s|<malloc.h>|<stdlib.h>|"	\
-		-e "s|<stdint.h>|<inttypes.h>|"
-
-.include <bsd.port.mk>
diff --git a/devel/libzrtpcpp/distinfo b/devel/libzrtpcpp/distinfo
deleted file mode 100644
index f162875ccf0e..000000000000
--- a/devel/libzrtpcpp/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libzrtpcpp-2.3.4.tar.gz) = 03e5d4de487fd154177cf2b7a45600b1c8df783136e4f01a9ebc6104b3771008
-SIZE (libzrtpcpp-2.3.4.tar.gz) = 257234
diff --git a/devel/libzrtpcpp/files/patch-CMakeLists.txt b/devel/libzrtpcpp/files/patch-CMakeLists.txt
deleted file mode 100644
index 8110285dd893..000000000000
--- a/devel/libzrtpcpp/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,41 +0,0 @@
---- CMakeLists.txt	2013-07-01 04:10:34.000000000 -0500
-+++ CMakeLists.txt	2013-10-02 13:32:43.000000000 -0500
-@@ -107,8 +107,8 @@
- endif()
- 
- # now get info about crypto libraries
--pkg_check_modules(OPENSSL libcrypto>=0.9.8)
--if (OPENSSL_FOUND)
-+find_library(OPENSSL_LIB crypto $ENV{OPENSSLLIB})
-+if (OPENSSL_LIB)
-   set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENSSL_INCLUDE_DIRS}) #update include files search directory
-   check_include_files(openssl/bn.h HAVE_OPENSSL_BN_H)
-   check_include_files(openssl/aes.h HAVE_OPENSSL_AES_H)
-@@ -133,7 +133,7 @@
-   endif()
- endif()
- 
--if(NOT OPENSSL_FOUND AND NOT GCRYPT_FOUND)
-+if(NOT OPENSSL_LIB AND NOT GCRYPT_FOUND)
-   message(FATAL_ERROR "No crypto library found")
- endif()
- 
-@@ -167,17 +167,13 @@
- 
- add_subdirectory(src)
- 
--if (enable_ccrtp)
--    add_subdirectory(demo)
--endif()
--
- if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/package/)
-     MESSAGE(STATUS "package dir not found")
-     file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/package/)
- endif()
- 
- ########### install files ###############
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${zrtplib}.pc DESTINATION ${LIBDIRNAME}/pkgconfig)
-+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lib${zrtplib}.pc DESTINATION ${LIBDIRNAME}data/pkgconfig)
- 
- if(${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
- 
diff --git a/devel/libzrtpcpp/files/patch-libzrtpcpp.pc.cmake b/devel/libzrtpcpp/files/patch-libzrtpcpp.pc.cmake
deleted file mode 100644
index 44336d089c45..000000000000
--- a/devel/libzrtpcpp/files/patch-libzrtpcpp.pc.cmake
+++ /dev/null
@@ -1,17 +0,0 @@
-Do not depend on the crypto "package", which would not be known
-to pkgconfig if base OpenSSL is used.
-
-The shared library installed already links with -lcrypto.
-
-	-mi
-
---- libzrtpcpp.pc.cmake	2013-07-01 05:10:34.000000000 -0400
-+++ libzrtpcpp.pc.cmake	2015-03-06 16:19:00.000000000 -0500
-@@ -9,7 +9,4 @@
- Description: GNU ZRTP core library
- Version: @VERSION@
--Requires: @CRYPTOBACKEND@
- Libs:  -L${libdir} -l@zrtplib@
- Cflags: -I${includedir}
--
--
diff --git a/devel/libzrtpcpp/files/patch-src-libzrtpcpp_ZrtpPacketBase.h b/devel/libzrtpcpp/files/patch-src-libzrtpcpp_ZrtpPacketBase.h
deleted file mode 100644
index 59073a54aafe..000000000000
--- a/devel/libzrtpcpp/files/patch-src-libzrtpcpp_ZrtpPacketBase.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/libzrtpcpp/ZrtpPacketBase.h	2012-10-17 08:16:16.000000000 -0500
-+++ src/libzrtpcpp/ZrtpPacketBase.h	2012-12-13 01:23:58.000000000 -0500
-@@ -41,6 +41,7 @@
- #if defined(_MSC_VER) || defined(WIN32) || defined(_WIN32)
- #include <winsock2.h>
- #else
-+#include <sys/types.h>
- #include <netinet/in.h>
- #endif
- 
diff --git a/devel/libzrtpcpp/files/patch-src__CMakeLists.txt b/devel/libzrtpcpp/files/patch-src__CMakeLists.txt
deleted file mode 100644
index 69aba9a71270..000000000000
--- a/devel/libzrtpcpp/files/patch-src__CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/CMakeLists.txt.orig	2014-11-23 18:05:43.000000000 +0300
-+++ src/CMakeLists.txt	2014-11-23 18:06:07.000000000 +0300
-@@ -27,7 +27,7 @@
-     set(crypto_src ${gcrypt_src})
- endif()
- 
--if (OPENSSL_FOUND AND HAVE_OPENSSL_EC_H)
-+if (OPENSSL_LIB AND HAVE_OPENSSL_EC_H)
-     set(crypto_src ${openssl_src})
- endif()
- 
diff --git a/devel/libzrtpcpp/pkg-descr b/devel/libzrtpcpp/pkg-descr
deleted file mode 100644
index f38a6788a314..000000000000
--- a/devel/libzrtpcpp/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-A separate extension package for GNU ccRTP, it provides support for the ZRTP
-protocol (as defined in the Internet draft draft-zimmermann-avt-zrtp).
diff --git a/devel/libzrtpcpp/pkg-plist b/devel/libzrtpcpp/pkg-plist
deleted file mode 100644
index f36f56dd0c6f..000000000000
--- a/devel/libzrtpcpp/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-include/libzrtpcpp/ZrtpCallback.h
-include/libzrtpcpp/ZrtpCodes.h
-include/libzrtpcpp/ZrtpConfigure.h
-include/libzrtpcpp/ZrtpCWrapper.h
-include/libzrtpcpp/ZrtpQueue.h
-include/libzrtpcpp/ZrtpUserCallback.h
-include/libzrtpcpp/zrtpccrtp.h
-include/libzrtpcpp/TimeoutProvider.h
-lib/libzrtpcpp.so.2.3.4
-lib/libzrtpcpp.so.2
-lib/libzrtpcpp.so
-libdata/pkgconfig/libzrtpcpp.pc