diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-18 12:05:39 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-18 12:05:39 +0000 |
commit | af7b74e2ddc2db208524011ec443f5998f5751e6 (patch) | |
tree | c37093b90d467983eaf2c91068e41553385a5f32 /net/csocks | |
parent | 38b525c7240a18cae277fc984ae729c0f6b2cb40 (diff) | |
download | ports-af7b74e2ddc2db208524011ec443f5998f5751e6.tar.gz ports-af7b74e2ddc2db208524011ec443f5998f5751e6.zip |
net/csocks: Update to 1.7
- Add LICENSE
PR: 230362
Submitted by: Nathan <ndowens@yahoo.com> (based on)
Approved by: maintainer timeout (2 weeks)
Notes
Notes:
svn path=/head/; revision=477498
Diffstat (limited to 'net/csocks')
-rw-r--r-- | net/csocks/Makefile | 9 | ||||
-rw-r--r-- | net/csocks/distinfo | 5 | ||||
-rw-r--r-- | net/csocks/files/patch-Makefile | 31 | ||||
-rw-r--r-- | net/csocks/pkg-descr | 2 |
4 files changed, 31 insertions, 16 deletions
diff --git a/net/csocks/Makefile b/net/csocks/Makefile index fcab438e5d40..afdc7737b4d8 100644 --- a/net/csocks/Makefile +++ b/net/csocks/Makefile @@ -2,16 +2,17 @@ # $FreeBSD$ PORTNAME= csocks -PORTVERSION= 1.5 -PORTREVISION= 1 +PORTVERSION= 1.7 CATEGORIES= net security -MASTER_SITES= http://csocks.altervista.org/download/ \ - http://csocks.virtuale.org/download/ +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 +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/../LICENSE + PLIST_FILES= etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 \ bin/csocks man/man1/csocks.1.gz man/man5/csocks.conf.5.gz diff --git a/net/csocks/distinfo b/net/csocks/distinfo index 85def3f6d888..6e01b2a9027c 100644 --- a/net/csocks/distinfo +++ b/net/csocks/distinfo @@ -1,2 +1,3 @@ -SHA256 (csocks_1.5.tar.gz) = 1708876017790bd62c8485d95d61dc85d1f9cbf4dcde6d0bc72a8c8968a8adf1 -SIZE (csocks_1.5.tar.gz) = 28604 +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 index eb2f6dd09008..be90e73fd786 100644 --- a/net/csocks/files/patch-Makefile +++ b/net/csocks/files/patch-Makefile @@ -1,15 +1,28 @@ ---- Makefile.orig 2014-04-11 23:48:26.646982600 +0200 -+++ Makefile 2014-04-11 23:49:46.629977600 +0200 -@@ -1,9 +1,9 @@ - # Compiler/Linker/dynamic linker +--- Makefile.orig 2008-02-20 13:32:02 UTC ++++ Makefile +@@ -1,14 +1,10 @@ +-# Compiler/Linker/dynamic linker -CC = gcc -LD = gcc -+CC ?= gcc -+LD = $(CC) - +- # flags to compile object files that can be used in a dynamic library --CFLAGS = -fPIC -Wall -g -c -O2 -fno-strict-aliasing -pipe -Wall -std=c99 -D'CSOCKS_CONF="/usr/local/etc/csocks.conf"' -+CFLAGS += -fPIC -c -std=c99 -D'CSOCKS_CONF="$(PREFIX)/etc/csocks.conf"' +-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'LINUX' -D'CSOCKS_PATH_LIBC="libc.so.7"' -D'CSOCKS_LIBCONNECT="libc.so.7"' -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/pkg-descr b/net/csocks/pkg-descr index 19b9f0c344ca..24eeb5566fd5 100644 --- a/net/csocks/pkg-descr +++ b/net/csocks/pkg-descr @@ -1,3 +1,3 @@ This is a port of csocks, A socks client with many features -WWW: http://csocks.virtuale.org +WWW: http://csocks.altervista.org |