Index: head/net/proxychains/Makefile =================================================================== --- head/net/proxychains/Makefile (revision 547042) +++ head/net/proxychains/Makefile (revision 547043) @@ -1,37 +1,37 @@ # Created by: Patrick MARIE # $FreeBSD$ PORTNAME= proxychains PORTVERSION= 3.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Redirect connection through proxy servers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools GNU_CONFIGURE= yes USES= gmake libtool USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's!$$(srcdir)/proxychains.conf!$$(srcdir)/proxychains.conf.sample!' \ -e 's!libproxychains_la_LIBADD = -ldl!libproxychains_la_LIBADD =!' \ ${WRKSRC}/proxychains/Makefile.in @${MV} ${WRKSRC}/proxychains/proxychains.conf \ ${WRKSRC}/proxychains/proxychains.conf.sample post-configure: @${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains.so.3.0.0 ${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf.sample \ ${STAGEDIR}${PREFIX}/etc/proxychains.conf .include Index: head/net/proxychains/files/patch-proxychains_core.c =================================================================== --- head/net/proxychains/files/patch-proxychains_core.c (nonexistent) +++ head/net/proxychains/files/patch-proxychains_core.c (revision 547043) @@ -0,0 +1,16 @@ +--- proxychains/core.c.orig 2020-08-30 09:26:56 UTC ++++ proxychains/core.c +@@ -41,6 +41,13 @@ extern int tcp_read_time_out; + extern int tcp_connect_time_out; + extern int proxychains_quiet_mode; + ++connect_t true_connect; ++gethostbyname_t true_gethostbyname; ++getaddrinfo_t true_getaddrinfo; ++freeaddrinfo_t true_freeaddrinfo; ++getnameinfo_t true_getnameinfo; ++gethostbyaddr_t true_gethostbyaddr; ++ + static const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + + static void encode_base_64(char* src,char* dest,int max_len) Property changes on: head/net/proxychains/files/patch-proxychains_core.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/proxychains/files/patch-proxychains_core.h =================================================================== --- head/net/proxychains/files/patch-proxychains_core.h (nonexistent) +++ head/net/proxychains/files/patch-proxychains_core.h (revision 547043) @@ -0,0 +1,36 @@ +--- proxychains/core.h.orig 2006-03-15 16:16:59 UTC ++++ proxychains/core.h +@@ -68,27 +68,27 @@ struct hostent* proxy_gethostbyname(const char *name); + + + typedef int (*connect_t)(int, const struct sockaddr *, socklen_t); +-connect_t true_connect; ++extern connect_t true_connect; + + typedef struct hostent* (*gethostbyname_t)(const char *); +-gethostbyname_t true_gethostbyname; ++extern gethostbyname_t true_gethostbyname; + + typedef int (*getaddrinfo_t)(const char *, const char *, + const struct addrinfo *, + struct addrinfo **); +-getaddrinfo_t true_getaddrinfo; ++extern getaddrinfo_t true_getaddrinfo; + + typedef int (*freeaddrinfo_t)(struct addrinfo *); +-freeaddrinfo_t true_freeaddrinfo; ++extern freeaddrinfo_t true_freeaddrinfo; + + typedef int (*getnameinfo_t) (const struct sockaddr *, + socklen_t, char *, + socklen_t, char *, + socklen_t, unsigned int); +-getnameinfo_t true_getnameinfo; ++extern getnameinfo_t true_getnameinfo; + + typedef struct hostent *(*gethostbyaddr_t) (const void *, socklen_t, int); +-gethostbyaddr_t true_gethostbyaddr; ++extern gethostbyaddr_t true_gethostbyaddr; + + int proxy_getaddrinfo(const char *node, const char *service, + const struct addrinfo *hints, Property changes on: head/net/proxychains/files/patch-proxychains_core.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property