From owner-svn-ports-all@FreeBSD.ORG Sun Jun 15 22:47:11 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 374ABC30; Sun, 15 Jun 2014 22:47:11 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24C322A35; Sun, 15 Jun 2014 22:47:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5FMlBYn001687; Sun, 15 Jun 2014 22:47:11 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5FMlBoh001686; Sun, 15 Jun 2014 22:47:11 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201406152247.s5FMlBoh001686@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 15 Jun 2014 22:47:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357936 - head X-SVN-Group: ports-head 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.18 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: Sun, 15 Jun 2014 22:47:11 -0000 Author: bapt Date: Sun Jun 15 22:47:10 2014 New Revision: 357936 URL: http://svnweb.freebsd.org/changeset/ports/357936 QAT: https://qat.redports.org/buildarchive/r357936/ Log: Add a mechanism to allow updating the ports tree with rsync PR: 171681 Submitted by: cyberleo@cyberleo.net Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Sun Jun 15 22:40:31 2014 (r357935) +++ head/Makefile Sun Jun 15 22:47:10 2014 (r357936) @@ -162,6 +162,7 @@ print-index: ${INDEXDIR}/${INDEXFILE} GIT?= git SVN?= svn +RSYNC?= rsync PORTSNAP?= portsnap PORTSNAP_FLAGS?= -p ${.CURDIR} .if !target(update) @@ -176,6 +177,11 @@ update: @echo ">>> Updating ${.CURDIR} from git+svn repository" @echo "--------------------------------------------------------------" cd ${.CURDIR}; ${GIT} svn rebase +.elif defined(RSYNC_UPDATE) && defined(PORTS_RSYNC_SOURCE) + @echo "--------------------------------------------------------------" + @echo ">>> Updating with ${RSYNC} from ${PORTS_RSYNC_SOURCE}" + @echo "--------------------------------------------------------------" + @${RSYNC} ${RSYNC_FLAGS} ${PORTS_RSYNC_SOURCE}/ ${.CURDIR}/ .else @echo "--------------------------------------------------------------" @echo ">>> Running ${PORTSNAP}"