From owner-svn-ports-head@FreeBSD.ORG Thu Oct 18 19:13:08 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 542505BE; Thu, 18 Oct 2012 19:13:08 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1A16A8FC0C; Thu, 18 Oct 2012 19:13:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9IJD751004360; Thu, 18 Oct 2012 19:13:07 GMT (envelope-from ak@svn.freebsd.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9IJD7xZ004357; Thu, 18 Oct 2012 19:13:07 GMT (envelope-from ak@svn.freebsd.org) Message-Id: <201210181913.q9IJD7xZ004357@svn.freebsd.org> From: Alex Kozlov Date: Thu, 18 Oct 2012 19:13:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306081 - in head/net/proxychains: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 19:13:08 -0000 Author: ak Date: Thu Oct 18 19:13:07 2012 New Revision: 306081 URL: http://svn.freebsd.org/changeset/ports/306081 Log: - Convert Makefile headers to new style - Stop overwriting configuration file during installation [1] - Remove support for 7-CURRENT - Use REINPLACE_CMD instead of patch file. - Reset to ports@ by request of maintainer - Bump PORTREVISION PR: ports/171638 (based on) [1] Submitted by: Andrey Simonenko [1] Approved by: Patrick MARIE (maintainer) Feature safe: yes Deleted: head/net/proxychains/files/gethostbyaddr-proto-int head/net/proxychains/files/patch-proxychains-Makefile.in Modified: head/net/proxychains/Makefile (contents, props changed) head/net/proxychains/pkg-plist (contents, props changed) Modified: head/net/proxychains/Makefile ============================================================================== --- head/net/proxychains/Makefile Thu Oct 18 18:29:57 2012 (r306080) +++ head/net/proxychains/Makefile Thu Oct 18 19:13:07 2012 (r306081) @@ -1,27 +1,31 @@ -# New ports collection makefile for: proxychains -# Date created: 14 jui 2003 -# Whom: Patrick MARIE +# Created by: Patrick MARIE # $FreeBSD$ 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 - -.if ${OSVERSION} < 700017 -EXTRA_PATCHES= ${PATCHDIR}/gethostbyaddr-proto-int -.endif +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 -.include +post-install: + @[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \ + ${PREFIX}/etc/proxychains.conf + +.include Modified: head/net/proxychains/pkg-plist ============================================================================== --- head/net/proxychains/pkg-plist Thu Oct 18 18:29:57 2012 (r306080) +++ head/net/proxychains/pkg-plist Thu Oct 18 19:13:07 2012 (r306081) @@ -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