Date: Fri, 9 May 2014 22:08:27 +0000 (UTC) From: Tim Bishop <tdb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353530 - head/misc/proxyper Message-ID: <201405092208.s49M8RUf003757@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tdb Date: Fri May 9 22:08:26 2014 New Revision: 353530 URL: http://svnweb.freebsd.org/changeset/ports/353530 QAT: https://qat.redports.org/buildarchive/r353530/ Log: - Stage support - Use http download site in preference to ftp - Add amd64 to supported architectures - Remove support for old unsupported FreeBSD versions - Use @sample plist keyword Modified: head/misc/proxyper/Makefile head/misc/proxyper/distinfo head/misc/proxyper/pkg-plist Modified: head/misc/proxyper/Makefile ============================================================================== --- head/misc/proxyper/Makefile Fri May 9 22:07:31 2014 (r353529) +++ head/misc/proxyper/Makefile Fri May 9 22:08:26 2014 (r353530) @@ -4,13 +4,13 @@ PORTNAME= proxyper PORTVERSION= 347 CATEGORIES= misc -MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/proxyper/ \ - http://http.distributed.net/pub/dcti/proxyper/ +MASTER_SITES= http://http.distributed.net/pub/dcti/proxyper/ \ + ftp://ftp.distributed.net/pub/dcti/proxyper/ MAINTAINER= tdb@FreeBSD.org COMMENT= The official distributed.net v2 personal proxy -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= ${PORTNAME} NO_BUILD= yes @@ -18,39 +18,17 @@ NO_BUILD= yes BINDIR= ${PREFIX}/distributed.net/proxy SUB_LIST+= BINDIR=${BINDIR} -PROXYUSER= nobody -PROXYGROUP= daemon - -SHAREOWN= ${PROXYUSER} -SHAREGRP= ${PROXYGROUP} -SHAREMODE= 644 - -NO_STAGE= yes .include <bsd.port.pre.mk> WRKSRC= ${WRKDIR}/proxyper${PORTVERSION}-freebsd-x86 -.if ${OSVERSION} >= 700055 DISTNAME= proxyper${PORTVERSION}-freebsd7-x86 -.else -DISTNAME= proxyper${PORTVERSION}-freebsd6-x86 -.endif do-install: - if [ ! -d ${BINDIR} ]; then \ - ${MKDIR} ${BINDIR}; \ - fi - ${CHOWN} ${PROXYUSER}:${PROXYGROUP} ${BINDIR} - ${CHMOD} 755 ${BINDIR} - - ${INSTALL_PROGRAM} ${WRKSRC}/proxyper ${BINDIR} - - ${INSTALL_MAN} ${WRKSRC}/ChangeLog.txt ${BINDIR} - ${INSTALL_MAN} ${WRKSRC}/manual.html ${BINDIR} - - ${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini.sample -.if !exists(${BINDIR}/proxyper.ini) - ${INSTALL_DATA} ${WRKSRC}/proxyper.ini ${BINDIR}/proxyper.ini -.endif + ${MKDIR} ${STAGEDIR}${BINDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/proxyper ${STAGEDIR}${BINDIR} + ${INSTALL_MAN} ${WRKSRC}/ChangeLog.txt ${STAGEDIR}${BINDIR} + ${INSTALL_MAN} ${WRKSRC}/manual.html ${STAGEDIR}${BINDIR} + ${INSTALL} -c -m 644 ${WRKSRC}/proxyper.ini ${STAGEDIR}${BINDIR}/proxyper.ini.sample .include <bsd.port.post.mk> Modified: head/misc/proxyper/distinfo ============================================================================== --- head/misc/proxyper/distinfo Fri May 9 22:07:31 2014 (r353529) +++ head/misc/proxyper/distinfo Fri May 9 22:08:26 2014 (r353530) @@ -1,4 +1,2 @@ -SHA256 (proxyper347-freebsd6-x86.tar.gz) = b240f92ca0294b188d00cc7b80ac8313f1189f51f562d4f8343ae8fb23005676 -SIZE (proxyper347-freebsd6-x86.tar.gz) = 261418 SHA256 (proxyper347-freebsd7-x86.tar.gz) = 4617925ba8ec9df8d982c50128b2a40394c0192d0b376b89915f4550619e1c7a SIZE (proxyper347-freebsd7-x86.tar.gz) = 299870 Modified: head/misc/proxyper/pkg-plist ============================================================================== --- head/misc/proxyper/pkg-plist Fri May 9 22:07:31 2014 (r353529) +++ head/misc/proxyper/pkg-plist Fri May 9 22:08:26 2014 (r353530) @@ -1,8 +1,10 @@ distributed.net/proxy/ChangeLog.txt distributed.net/proxy/manual.html distributed.net/proxy/proxyper -@unexec if cmp -s %D/distributed.net/proxy/proxyper.ini %D/distributed.net/proxy/proxyper.ini.sample; then rm -f %D/distributed.net/proxy/proxyper.ini; fi -distributed.net/proxy/proxyper.ini.sample -@exec [ -f %B/proxyper.ini ] || cp %B/%f %B/proxyper.ini +@sample distributed.net/proxy/proxyper.ini.sample +@owner nobody +@group daemon @dirrm distributed.net/proxy +@group +@owner @dirrmtry distributed.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405092208.s49M8RUf003757>