Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 14:20:23 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359361 - head/net/proxychains
Message-ID:  <201406261420.s5QEKNGu017360@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Jun 26 14:20:22 2014
New Revision: 359361
URL: http://svnweb.freebsd.org/changeset/ports/359361
QAT: https://qat.redports.org/buildarchive/r359361/

Log:
  - Stage
  - Add LICENSE and LICENSE_FILE
  - Use @sample plist macro
  - Take maintainer-ship
  - Use libtool USE macro
  - Polish pkg-descr

Modified:
  head/net/proxychains/Makefile
  head/net/proxychains/pkg-descr
  head/net/proxychains/pkg-plist

Modified: head/net/proxychains/Makefile
==============================================================================
--- head/net/proxychains/Makefile	Thu Jun 26 14:19:48 2014	(r359360)
+++ head/net/proxychains/Makefile	Thu Jun 26 14:20:22 2014	(r359361)
@@ -7,14 +7,16 @@ PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/version%20${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Redirect connection through proxy servers
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
-USES=		gmake
+USES=		gmake libtool
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's!$$(srcdir)/proxychains.conf!$$(srcdir)/proxychains.conf.sample!' \
 		-e 's!libproxychains_la_LIBADD = -ldl!libproxychains_la_LIBADD =!' \
@@ -26,7 +28,8 @@ post-configure:
 	@${ECHO_CMD} '#define PREFIX "${PREFIX}"' >> ${WRKSRC}/config.h
 
 post-install:
-	@[ -f ${PREFIX}/etc/proxychains.conf ] || ${CP} ${PREFIX}/etc/proxychains.conf.sample \
-		${PREFIX}/etc/proxychains.conf
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains.so.3.0.0
+	${INSTALL_DATA} ${WRKSRC}/proxychains/proxychains.conf.sample \
+		${STAGEDIR}${PREFIX}/etc/proxychains.conf
 
 .include <bsd.port.mk>

Modified: head/net/proxychains/pkg-descr
==============================================================================
--- head/net/proxychains/pkg-descr	Thu Jun 26 14:19:48 2014	(r359360)
+++ head/net/proxychains/pkg-descr	Thu Jun 26 14:20:22 2014	(r359361)
@@ -1,5 +1,3 @@
-ProxyChains
-
 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).

Modified: head/net/proxychains/pkg-plist
==============================================================================
--- head/net/proxychains/pkg-plist	Thu Jun 26 14:19:48 2014	(r359360)
+++ head/net/proxychains/pkg-plist	Thu Jun 26 14:20:22 2014	(r359361)
@@ -1,9 +1,7 @@
 bin/proxychains
 bin/proxyresolv
-@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
+@sample etc/proxychains.conf.sample
 lib/libproxychains.so.3
+lib/libproxychains.so.3.0.0
 lib/libproxychains.so
-lib/libproxychains.la
 lib/libproxychains.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261420.s5QEKNGu017360>