From owner-svn-ports-all@FreeBSD.ORG Sat Jan 4 21:30:15 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 988538C3; Sat, 4 Jan 2014 21:30:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8588B1282; Sat, 4 Jan 2014 21:30:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s04LUFGd010341; Sat, 4 Jan 2014 21:30:15 GMT (envelope-from decke@svn.freebsd.org) Received: (from decke@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s04LUFKf010340; Sat, 4 Jan 2014 21:30:15 GMT (envelope-from decke@svn.freebsd.org) Message-Id: <201401042130.s04LUFKf010340@svn.freebsd.org> From: Bernhard Froehlich Date: Sat, 4 Jan 2014 21:30:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r338679 - branches/2014Q1/sysutils/tarsnap X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 21:30:15 -0000 Author: decke Date: Sat Jan 4 21:30:15 2014 New Revision: 338679 URL: http://svnweb.freebsd.org/changeset/ports/338679 Log: MFH: r338539 - 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 (maintainer) With hat: portmgr Modified: branches/2014Q1/sysutils/tarsnap/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/sysutils/tarsnap/Makefile ============================================================================== --- branches/2014Q1/sysutils/tarsnap/Makefile Sat Jan 4 21:28:19 2014 (r338678) +++ branches/2014Q1/sysutils/tarsnap/Makefile Sat Jan 4 21:30:15 2014 (r338679) @@ -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 + +# 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 +.include