Date: Fri, 3 Jan 2014 13:51:50 +0000 (UTC) From: Bernhard Froehlich <decke@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338539 - head/sysutils/tarsnap Message-ID: <201401031351.s03DpooJ076384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: decke Date: Fri Jan 3 13:51:50 2014 New Revision: 338539 URL: http://svnweb.freebsd.org/changeset/ports/338539 Log: - Relax RESTRICTED setting to only avoid that people accidentally commit patches to this port. Redistribution in _UNMODIFIED_ form as binary and source is allowed. PR: misc/185441 Submitted by: myself Approved by: Colin Percival <cperciva@tarsnap.com> (maintainer) Modified: head/sysutils/tarsnap/Makefile Modified: head/sysutils/tarsnap/Makefile ============================================================================== --- head/sysutils/tarsnap/Makefile Fri Jan 3 13:37:21 2014 (r338538) +++ head/sysutils/tarsnap/Makefile Fri Jan 3 13:51:50 2014 (r338539) @@ -3,6 +3,7 @@ PORTNAME= tarsnap PORTVERSION= 1.0.35 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.tarsnap.com/download-http/ DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION} @@ -11,8 +12,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= cperciva@tarsnap.com COMMENT= Online encrypted backup service (client) -RESTRICTED= license restricts redistribution of source and binaries - GNU_CONFIGURE= yes USES= gmake @@ -27,10 +26,18 @@ SSE2_CONFIGURE_ENABLE= sse2 SSE2_CFLAGS= -msse2 NO_STAGE= yes + +.include <bsd.port.pre.mk> + +# safety check to ensure that we don't violate the license +.if exists(${PATCHDIR}) +RESTRICTED= license only allows redistribution and use of unmodified source and binaries +.endif + post-install: @if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \ ${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \ fi @${CAT} ${PKGDIR}/pkg-message -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401031351.s03DpooJ076384>