git: 650907970425 - main - net/csocks: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 01 Apr 2024 10:34:17 UTC
The branch main has been updated by rene:

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

commit 650907970425aaa1351b94585e2432537ab21a7d
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-01 10:34:04 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-01 10:34:04 +0000

    net/csocks: Remove expired port
    
    2024-03-31 net/csocks: Last release in 2013 and no development since, consider net/microsocks or net/3proxy
---
 MOVED                               |  1 +
 net/Makefile                        |  1 -
 net/csocks/Makefile                 | 36 ------------------------------------
 net/csocks/distinfo                 |  3 ---
 net/csocks/files/patch-Makefile     | 28 ----------------------------
 net/csocks/files/patch-src_csocks.c | 14 --------------
 net/csocks/pkg-descr                |  1 -
 7 files changed, 1 insertion(+), 83 deletions(-)

diff --git a/MOVED b/MOVED
index 44eb1161d317..b3c49a073ad6 100644
--- a/MOVED
+++ b/MOVED
@@ -3084,3 +3084,4 @@ www/rubygem-faraday14|www/rubygem-faraday|2024-03-31|Remove obsoleted port. Use
 devel/rubygem-request_store14|devel/rubygem-request_store|2024-03-31|Remove obsoleted port. Use devel/rubygem-request_store instead
 devel/llvm10||2024-04-01|Has expired: No longer supported by upstream
 net-mgmt/phpweathermap||2024-04-01|Has expired: WWW vaporized and has not been updated in last 14 years
+net/csocks||2024-04-01|Has expired: Last release in 2013 and no development since, consider net/microsocks or net/3proxy
diff --git a/net/Makefile b/net/Makefile
index 16f35a9915fc..c9e8c5499140 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -97,7 +97,6 @@
     SUBDIR += cppzmq
     SUBDIR += croc
     SUBDIR += cryptcat
-    SUBDIR += csocks
     SUBDIR += csync2
     SUBDIR += ctrace
     SUBDIR += cvsup-static
diff --git a/net/csocks/Makefile b/net/csocks/Makefile
deleted file mode 100644
index 344cfe3c4b64..000000000000
--- a/net/csocks/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-PORTNAME=	csocks
-PORTVERSION=	1.7
-PORTREVISION=	2
-CATEGORIES=	net security
-MASTER_SITES=	http://csocks.altervista.org/download/
-DISTNAME=	${PORTNAME}_${PORTVERSION}
-
-MAINTAINER=	raffaele.delorenzo@libero.it
-COMMENT=	SOCKS Client v4/v5 RFC Compliant with many features
-WWW=		http://csocks.altervista.org
-
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/../LICENSE
-
-DEPRECATED=	Last release in 2013 and no development since, consider net/microsocks or net/3proxy
-EXPIRATION_DATE=2024-03-31
-
-PLIST_FILES=	etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 \
-		bin/csocks share/man/man1/csocks.1.gz share/man/man5/csocks.conf.5.gz
-
-USE_LDCONFIG=	yes
-
-WRKSRC=		${WRKDIR}/src
-
-post-patch:
-	${REINPLACE_CMD} 's|libc.so|/lib/libc.so.7|' ${WRKSRC}/csocks.h
-
-do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/freebsd/csocks ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_LIB} ${WRKDIR}/src/libcsocks.so.1 ${STAGEDIR}${PREFIX}/lib
-	${LN} -s libcsocks.so.1 ${STAGEDIR}${PREFIX}/lib/libcsocks.so
-	${INSTALL_DATA} ${WRKDIR}/csocks.conf ${STAGEDIR}${PREFIX}/etc/csocks.conf.sample
-	${INSTALL_MAN} ${WRKDIR}/man/csocks.1.gz ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_MAN} ${WRKDIR}/man/csocks.conf.5.gz ${STAGEDIR}${PREFIX}/share/man/man5
-
-.include <bsd.port.mk>
diff --git a/net/csocks/distinfo b/net/csocks/distinfo
deleted file mode 100644
index 6e01b2a9027c..000000000000
--- a/net/csocks/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1533405039
-SHA256 (csocks_1.7.tar.gz) = 088837d2eee7e8a4d2da66fa74d06f7a6452ba5337e92004c83708b2b36792d6
-SIZE (csocks_1.7.tar.gz) = 29859
diff --git a/net/csocks/files/patch-Makefile b/net/csocks/files/patch-Makefile
deleted file mode 100644
index 03053475ba84..000000000000
--- a/net/csocks/files/patch-Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile.orig	2008-02-20 13:32:02 UTC
-+++ Makefile
-@@ -1,14 +1,10 @@
--# Compiler/Linker/dynamic linker
--CC = gcc
--LD = gcc
--
- # flags to compile object files that can be used in a dynamic library
--CFLAGS = -Wall -fPIC -g -c -O2 -std=c99 -fno-strict-aliasing -D'LINUX' -D'CSOCKS_PATH_LIBC="libc.so.6"' -D'CSOCKS_LIBCONNECT="libc.so.6"' -D'CSOCKS_CONF="/etc/csocks.conf"'
-+CFLAGS += -fPIC -std=c99 -fno-strict-aliasing -D'CSOCKS_CONF="${PREFIX}/etc/csocks.conf"'
- 
- # on some platforms, use '-fpic' instead.
- 
- # Flags to create a dynamic library.
--DYNLINKFLAGS = -Wall -fPIC -O2 -shared -rdynamic -std=c99 -nostdlib
-+DYNLINKFLAGS = -Wall -fPIC -shared -rdynamic -std=c99 -nostdlib
- # on some platforms, use '-G' instead.
- 
- # files removal
-@@ -31,7 +27,7 @@ all: $(LIB_FILE)
- 
- # create our library
- $(LIB_FILE): $(LIB_OBJS)
--	$(LD) $(DYNLINKFLAGS) -Wl,-soname,$(LIB_FILE) -o $(LIB_FILE) $(LIB_OBJS) -lc -lgcc -ldl
-+	$(CC) $(DYNLINKFLAGS) $(LDFLAGS) -Wl,-soname,$(LIB_FILE) -o $(LIB_FILE) $(LIB_OBJS) -lc -lgcc
- 
- # compile C source files into object files.
- %.o: %.c
diff --git a/net/csocks/files/patch-src_csocks.c b/net/csocks/files/patch-src_csocks.c
deleted file mode 100644
index ef09eb3bcfda..000000000000
--- a/net/csocks/files/patch-src_csocks.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- csocks.c.orig	2008-02-25 09:37:38.000000000 +0100
-+++ csocks.c	2008-02-25 09:38:53.000000000 +0100
-@@ -1537,11 +1537,7 @@
- 		continue;
- 	}while(1);
- 
--#if defined(DARWIN) || defined(NETBSD)
- 	if ((rlen = send (sock, (void *) sen, lenght, 0)) <= 0){
--#else
--	if ((rlen = send (sock, (void *) sen, lenght, MSG_NOSIGNAL)) <= 0){
--#endif
- 		fprintf(stderr,"ERROR - socks_send - send - cannot send message!\n");
- 		return CSOCKS_KO;
- 	}
diff --git a/net/csocks/pkg-descr b/net/csocks/pkg-descr
deleted file mode 100644
index 7ac14fadbce6..000000000000
--- a/net/csocks/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-This is a port of csocks, A socks client with many features