git: fa9cd1a725d7 - main - net-p2p/shx: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 04 May 2025 11:44:04 UTC
The branch main has been updated by rene:

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

commit fa9cd1a725d7a60eeadf422624adad275c57c85b
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-05-04 11:43:55 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-05-04 11:43:55 +0000

    net-p2p/shx: Remove expired port
    
    2025-04-30 net-p2p/shx: Obsolete protocol that has been superseded by many others
---
 MOVED                                    |  1 +
 net-p2p/Makefile                         |  1 -
 net-p2p/shx/Makefile                     | 72 --------------------------------
 net-p2p/shx/distinfo                     |  4 --
 net-p2p/shx/files/patch-src__Makefile.in | 11 -----
 net-p2p/shx/files/patch-src_main.c       | 20 ---------
 net-p2p/shx/pkg-descr                    |  4 --
 7 files changed, 1 insertion(+), 112 deletions(-)

diff --git a/MOVED b/MOVED
index 260c2ff297c3..304d84bcf3de 100644
--- a/MOVED
+++ b/MOVED
@@ -4382,3 +4382,4 @@ net-p2p/p5-Net-BitTorrent||2025-05-04|Has expired: Deprecated, no active develop
 net-p2p/p5-Net-BitTorrent-File||2025-05-04|Has expired: Deprecated, no active development in more than a decade so any "new" functionality is missing and interoperability with recent software is very limited if not completely broken
 net-p2p/libswift||2025-05-04|Has expired: Upstream archived repo on Feb 19, 2024 and no active development in several years
 net-p2p/phex|net-p2p/gtk-gnutella|2025-05-04|Has expired: Abandonware, last update upstream in 2009. Consider using net-p2p/gtk-gnutella
+net-p2p/shx||2025-05-04|Has expired: Obsolete protocol that has been superseded by many others
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 1799878d0d72..41a682e5d5e0 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -89,7 +89,6 @@
     SUBDIR += retroshare
     SUBDIR += rslsync
     SUBDIR += rtorrent
-    SUBDIR += shx
     SUBDIR += sonarr
     SUBDIR += torrent-file-editor
     SUBDIR += torrentcheck
diff --git a/net-p2p/shx/Makefile b/net-p2p/shx/Makefile
deleted file mode 100644
index 2802ca9d74f2..000000000000
--- a/net-p2p/shx/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-PORTNAME=	shx
-PORTVERSION=	0.2.4
-PORTREVISION=	2
-CATEGORIES=	net-p2p
-MASTER_SITES=	http://synhxd.sourceforge.net/releases/
-
-PATCH_SITES=	${MASTER_SITES}
-PATCHFILES=	${DISTNAME}.diff.gz
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Text based Hotline Communications client for Unix
-WWW=		https://synhxd.sourceforge.net/
-
-LICENSE=	GPLv1
-
-DEPRECATED=	Obsolete protocol that has been superseded by many others
-EXPIRATION_DATE=2025-04-30
-
-USES=		readline ssl tar:tgz
-
-GNU_CONFIGURE=	yes
-
-MAKEFILE=	makefile
-
-CFLAGS+=	-I${OPENSSLINC}
-LDFLAGS+=	-L${OPENSSLLIB}
-
-CONFLICTS_INSTALL=	helix # bin/hx
-
-PLIST_FILES=	bin/hx				\
-		share/examples/shx/hxrc		\
-		share/examples/shx/hxvars
-
-OPTIONS_DEFINE=	WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4
-OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS
-
-CIPHER_DESC=		Enable Cipher (HOPE required)
-COMPRESS_DESC=		Enable Compress (HOPE required)
-HAL_DESC=		Compile MegaHAL (enables hal command)
-HFS_DESC=		Enable HFS file system emulation
-HOPE_DESC=		Enable HOPE (required by Cipher/Compress)
-HTXF_PTHREAD_DESC=	Use pthread instead of fork or clone for htxf
-NOIPV4_DESC=		IPv6 support (disables IPv4 support)
-WARNINGS_DESC=		Show compiler warnings
-XMMS_DESC=		Enable trackname command
-
-CIPHER_IMPLIES=			HOPE
-CIPHER_CONFIGURE_ENABLE=	cipher
-COMPRESS_IMPLIES=		HOPE
-COMPRESS_CONFIGURE_ENABLE=	compress
-HAL_CONFIGURE_ENABLE=		hal
-HFS_CONFIGURE_ENABLE=		hfs
-HOPE_CONFIGURE_ENABLE=		hope
-HTXF_PTHREAD_CONFIGURE_ENABLE=	htxf-pthread
-NOIPV4_CONFIGURE_ENABLE=	ipv6
-WARNINGS_CONFIGURE_ENABLE=	warnings
-XMMS_CONFIGURE_ENABLE=		xmms
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD
-CFLAGS+=	-Wno-error=int-conversion
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
-
-do-install:
-	${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}
-	${CP} -fv ${WRKSRC}/run/hxrc ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/
-	${CP} -fv ${WRKSRC}/run/hxvars ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/shx/distinfo b/net-p2p/shx/distinfo
deleted file mode 100644
index ea9f9b720608..000000000000
--- a/net-p2p/shx/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (shx-0.2.4.tgz) = 0fe2d3bed542c4659614d449bf42b618a37130c7e63bce13db3832575e45e325
-SIZE (shx-0.2.4.tgz) = 290512
-SHA256 (shx-0.2.4.diff.gz) = 70d41179c0e2fb5f8dd3ee104aeddac2346da45a7f344682dfa2c67116c78e2a
-SIZE (shx-0.2.4.diff.gz) = 651
diff --git a/net-p2p/shx/files/patch-src__Makefile.in b/net-p2p/shx/files/patch-src__Makefile.in
deleted file mode 100644
index 700c9bd01869..000000000000
--- a/net-p2p/shx/files/patch-src__Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./src/Makefile.in.orig	2014-08-16 19:38:31.000000000 -0400
-+++ ./src/Makefile.in	2014-08-16 19:38:57.000000000 -0400
-@@ -34,7 +34,7 @@
- LDFLAGS         = @LDFLAGS@
- SYS_INCLUDES    = @SYS_INCLUDES@
- INCLUDE         = -I. -I./include -I$(top_include)
--CFLAGS          = @CFLAGS@ $(INCLUDE) $(SYS_INCLUDES) $(DEFS)
-+CFLAGS          = @CFLAGS@ $(INCLUDE) $(SYS_INCLUDES) @CPPFLAGS@ $(DEFS)
- 
- # Libraries
- 
diff --git a/net-p2p/shx/files/patch-src_main.c b/net-p2p/shx/files/patch-src_main.c
deleted file mode 100644
index 7a5a182c22e5..000000000000
--- a/net-p2p/shx/files/patch-src_main.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/main.c.orig	2002-12-17 19:28:19 UTC
-+++ src/main.c
-@@ -296,7 +296,7 @@ loopZ (void)
- #if defined(CONFIG_CIPHER)
- #include "cipher.h"
- 
--#if USE_OPENSSL
-+#if USE_OPENSSL && !defined(OPENSSL_NO_EGD)
- #include <openssl/rand.h>
- 
- static char *egd_path = 0;
-@@ -324,7 +324,7 @@ set_egd_path (char **egd_pathp, const ch
- static void
- cipher_init (void)
- {
--#if USE_OPENSSL
-+#if USE_OPENSSL && !defined(OPENSSL_NO_EGD)
- 	variable_add(&egd_path, set_egd_path, "egd_path");
- #else
- 	srand(getpid()*clock());
diff --git a/net-p2p/shx/pkg-descr b/net-p2p/shx/pkg-descr
deleted file mode 100644
index 358de3eb616a..000000000000
--- a/net-p2p/shx/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a text based version of the popular hotline client for
-Macintosh. Hotline is a chat/ftp/news protocol. It's setup almost
-like an IRC client, but with the ability to do commands such as cd
-into a directory with /cd and more file transfer oriented functions.