FreeBSD Bugzilla – Attachment 127782 Details for
Bug 171638
net/proxychains overwrites configuration during installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch.txt
patch.txt (text/plain; charset=us-ascii), 1.61 KB, created by
Alex Kozlov
on 2012-09-15 13:56:44 UTC
(
hide
)
Description:
patch.txt
Filename:
MIME Type:
Creator:
Alex Kozlov
Created:
2012-09-15 13:56:44 UTC
Size:
1.61 KB
patch
obsolete
>Index: ports/net/proxychains/Makefile >@@ -1,27 +1,29 @@ >-# New ports collection makefile for: proxychains >-# Date created: 14 jui 2003 >-# Whom: Patrick MARIE <mycroft@virgaria.org> > # $FreeBSD: ports/net/proxychains/Makefile,v 1.7 2009/08/22 00:31:39 amdmi3 Exp $ > > PORTNAME= proxychains > PORTVERSION= 3.1 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION} > >-MAINTAINER= mycroft@virgaria.org >+MAINTAINER= ports@FreeBSD.org > COMMENT= Redirect connection through proxy servers > > GNU_CONFIGURE= yes > USE_GMAKE= yes > USE_LDCONFIG= yes > >-.include <bsd.port.pre.mk> >- >-.if ${OSVERSION} < 700017 >-EXTRA_PATCHES= ${PATCHDIR}/gethostbyaddr-proto-int >-.endif >+post-patch: >+ @${REINPLACE_CMD} -e 's!$$(srcdir)/proxychains.conf!$$(srcdir)/proxychains.conf.sample!' \ >+ ${WRKSRC}/proxychains/Makefile.in >+ @${MV} ${WRKSRC}/proxychains/proxychains.conf \ >+ ${WRKSRC}/proxychains/proxychains.conf.sample > > post-configure: > @${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h > >-.include <bsd.port.post.mk> >+post-install: >+ @[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \ >+ ${PREFIX}/etc/proxychains.conf >+ >+.include <bsd.port.mk> >Index: ports/net/proxychains/pkg-plist >@@ -1,6 +1,8 @@ > bin/proxychains > bin/proxyresolv >-etc/proxychains.conf >+@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
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 Raw
Actions:
View
Attachments on
bug 171638
:
127781
| 127782 |
127783