Commit 65090797 authored by Rene Ladan's avatar Rene Ladan
Browse files

net/csocks: Remove expired port

2024-03-31 net/csocks: Last release in 2013 and no development since, consider net/microsocks or net/3proxy
parent ee7018b8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@
    SUBDIR += cppzmq
    SUBDIR += croc
    SUBDIR += cryptcat
    SUBDIR += csocks
    SUBDIR += csync2
    SUBDIR += ctrace
    SUBDIR += cvsup-static

net/csocks/Makefile

deleted100644 → 0
+0 −36
Original line number Diff line number Diff line
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>

net/csocks/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1533405039
SHA256 (csocks_1.7.tar.gz) = 088837d2eee7e8a4d2da66fa74d06f7a6452ba5337e92004c83708b2b36792d6
SIZE (csocks_1.7.tar.gz) = 29859

net/csocks/files/patch-Makefile

deleted100644 → 0
+0 −28
Original line number Diff line number Diff line
--- 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
Loading