FreeBSD Bugzilla – Attachment 131046 Details for
Bug 175068
[PATCH] net/proxychains: update to 4.4, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
proxychains-4.4.patch
proxychains-4.4.patch (text/plain), 4.79 KB, created by
nemysis
on 2013-01-06 18:50:00 UTC
(
hide
)
Description:
proxychains-4.4.patch
Filename:
MIME Type:
Creator:
nemysis
Created:
2013-01-06 18:50:00 UTC
Size:
4.79 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/net/proxychains/Makefile ./Makefile >--- /usr/ports/net/proxychains/Makefile 2012-12-05 00:41:54.000000000 +0100 >+++ ./Makefile 2013-01-06 19:31:08.000000000 +0100 >@@ -2,30 +2,49 @@ > # $FreeBSD: head/net/proxychains/Makefile 306081 2012-10-18 19:13:07Z ak $ > > PORTNAME= proxychains >-PORTVERSION= 3.1 >-PORTREVISION= 1 >-CATEGORIES= net >-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION} >+PORTVERSION= 4.4 >+CATEGORIES= net security >+MASTER_SITES= SF/${PORTNAME}-ng/ > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= nemysis@gmx.ch > COMMENT= Redirect connection through proxy servers > >+LICENSE= GPLv2 >+ >+USE_BZIP2= yes > GNU_CONFIGURE= yes > USE_GMAKE= yes >+ALL_TARGET= all install-config > 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 >+PORTDOCS= AUTHORS ChangeLog README TODO >+ >+.include <bsd.port.options.mk> > > post-configure: >- @${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h >+ @${ECHO_CMD} 'INSTALL_FLAGS=-m' >> ${WRKSRC}/config.mak >+ >+post-patch: >+ @${REINPLACE_CMD} \ >+ -e 's|/usr/local|${PREFIX}|g' \ >+ -e 's|libproxychains4|libproxychains-4|' \ >+ -e 's|proxychains4|proxychains|' \ >+ -e 's|^CFLAGS +=.*|CFLAGS += -Wall|' \ >+ -e 's|$$(DESTDIR)/$$(sysconfdir)/|$$(DESTDIR)/$$(sysconfdir)/proxychains.conf.sample|' \ >+ ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} \ >+ -e 's|4.2.2.2|8.8.8.8|' \ >+ -e 's|libproxychains.so|libproxychains-4.so|' \ >+ ${WRKSRC}/src/proxyresolv > > post-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/src/proxyresolv ${PREFIX}/bin > @[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \ > ${PREFIX}/etc/proxychains.conf > >+.if ${PORT_OPTIONS:MDOCS} >+ ${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} >+.endif >+ > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/net/proxychains/distinfo ./distinfo >--- /usr/ports/net/proxychains/distinfo 2012-12-05 00:41:54.000000000 +0100 >+++ ./distinfo 2013-01-06 18:37:43.000000000 +0100 >@@ -1,2 +1,2 @@ >-SHA256 (proxychains-3.1.tar.gz) = 9a27657fe9f6e17de9e402ba5c60f9954e7e79fb270c1ef242770f3c01d8515a >-SIZE (proxychains-3.1.tar.gz) = 327057 >+SHA256 (proxychains-4.4.tar.bz2) = 930269f52795e4803b7b1f3b0be6d2eb333b58c757623205364dad741f7d26fc >+SIZE (proxychains-4.4.tar.bz2) = 26786 >diff -ruN --exclude=CVS /usr/ports/net/proxychains/files/patch-proxychains-libproxychains.c ./files/patch-proxychains-libproxychains.c >--- /usr/ports/net/proxychains/files/patch-proxychains-libproxychains.c 2012-12-05 00:41:54.000000000 +0100 >+++ ./files/patch-proxychains-libproxychains.c 1970-01-01 01:00:00.000000000 +0100 >@@ -1,22 +0,0 @@ >---- proxychains/libproxychains.c.orig Wed Mar 15 18:16:59 2006 >-+++ proxychains/libproxychains.c Sun Dec 10 01:16:37 2006 >-@@ -160,7 +160,7 @@ >- >- if(!(file=fopen("./proxychains.conf","r"))) >- if(!(file=fopen(buff,"r"))) >-- if(!(file=fopen("/etc/proxychains.conf","r"))) >-+ if(!(file=fopen(PREFIX "/etc/proxychains.conf","r"))) >- { >- perror("Can't locate proxychains.conf"); >- exit(1); >-@@ -290,8 +290,8 @@ >- >- int getnameinfo (const struct sockaddr * sa, >- socklen_t salen, char * host, >-- socklen_t hostlen, char * serv, >-- socklen_t servlen, unsigned int flags) >-+ size_t hostlen, char * serv, >-+ size_t servlen, int flags) >- { >- int ret = 0; >- if(!init_l) >diff -ruN --exclude=CVS /usr/ports/net/proxychains/pkg-descr ./pkg-descr >--- /usr/ports/net/proxychains/pkg-descr 2012-12-05 00:41:54.000000000 +0100 >+++ ./pkg-descr 2013-01-06 19:30:53.000000000 +0100 >@@ -1,7 +1,5 @@ >-ProxyChains >+ProxyChains is a UNIX program, that hooks network-related libc functions >+in dynamically linked programs via a preloaded DLL and redirects the >+connections through SOCKS4a/5 or HTTP proxies. > >-This program forces any tcp connection made by any given tcp client >-to follow through proxy (or proxy chain). It is a kind of proxifier. >-It acts like sockscap / permeo / eborder driver (intercepts TCP calls). >- >-WWW: http://proxychains.sourceforge.net/ >+WWW: http://sourceforge.net/projects/proxychains-ng/ >diff -ruN --exclude=CVS /usr/ports/net/proxychains/pkg-plist ./pkg-plist >--- /usr/ports/net/proxychains/pkg-plist 2012-12-05 00:41:54.000000000 +0100 >+++ ./pkg-plist 2013-01-06 19:06:31.000000000 +0100 >@@ -3,7 +3,4 @@ > @unexec if cmp -s %D/etc/proxychains.conf %D/etc/proxychains.conf.sample; then rm -f %D/etc/proxychains.conf; fi > etc/proxychains.conf.sample > @exec [ -f %D/etc/proxychains.conf ] || cp %D/etc/proxychains.conf.sample %D/etc/proxychains.conf >-lib/libproxychains.so.3 >-lib/libproxychains.so >-lib/libproxychains.la >-lib/libproxychains.a >+lib/libproxychains-4.so
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175068
: 131046 |
131047
|
131048
|
131049