From owner-freebsd-ports@FreeBSD.ORG Wed Jun 11 21:43:54 2014 Return-Path: Delivered-To: freebsd-ports@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 CB7D4413 for ; Wed, 11 Jun 2014 21:43:54 +0000 (UTC) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.180.40]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtpauth.utdallas.edu", Issuer "COMODO High-Assurance Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 080832ADF for ; Wed, 11 Jun 2014 21:43:52 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoFAPjMmFOBbgogVWdsb2JhbABag1+rJQIBAQEBAQEGhEuUUAGBHgQBFwQHAgkHFCiEAwEBBTgCPxALGC5DFAYTiC4DEbgLmEYXhVyGWoFSAQFPB4MrgRYEijmnGh+BOQ X-IPAS-Result: AsoFAPjMmFOBbgogVWdsb2JhbABag1+rJQIBAQEBAQEGhEuUUAGBHgQBFwQHAgkHFCiEAwEBBTgCPxALGC5DFAYTiC4DEbgLmEYXhVyGWoFSAQFPB4MrgRYEijmnGh+BOQ X-IronPort-AV: E=Sophos;i="5.01,460,1400043600"; d="scan'208";a="18273303" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Jun 2014 16:43:50 -0500 Date: Wed, 11 Jun 2014 16:43:47 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: olli hauer Subject: Re: What is the preferred method for updating ports now? Message-ID: <4662C66FB1FDCA4CDC7AA470@localhost> In-Reply-To: <539894D6.5090304@gmx.de> References: <539894D6.5090304@gmx.de> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=2249 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 21:43:54 -0000 --On June 11, 2014 at 7:41:42 PM +0200 olli hauer wrote:> > On 2014-06-11 18:20, Paul Schmehl wrote: >> I used to use cvsup. Then I switched to portsnap. Do I now need to >> switch to svn? > >> If so, is there a way to use svn to only update those ports that have >> changed since the last update? I've been using svn for a while to work >> on port updates. I know how to fetch the entire port infrastructure but >> not how to only update those ports that have changed. Portsnap can be >> automated to keep ports up to date. Is there a similar utility that >> uses svn instead? > > simply go to the root of your portstree and fire the command `svn up', > but watch the output for conflicts marked with a capital 'C'. Running > from time to time `svn cleanup' will keep remove dead metadata from the > .svn directory. > I did this and got the following: /usr/ports# svn up Skipped '.' Summary of conflicts: Skipped paths: 1 So I did this: /usr/ports# svn up svn://svn.freebsd.org/ports/HEAD/ svn: E205000: Try 'svn help update' for more information svn: E205000: 'svn://svn.freebsd.org/ports/HEAD' is not a local path [root@mail /usr/ports]# svn up svn://svn.freebsd.org/ports/ svn: E205000: Try 'svn help update' for more information svn: E205000: 'svn://svn.freebsd.org/ports' is not a local path Then I did this: /usr/ports]# svn status svn: warning: W155007: '/usr/ports' is not a working copy Hmm.....so I thought maybe I had to co the ports first: # svn co svn://svn.freebsd.org/ports/head/ After that finished, I did this: /usr/ports]# svn up Skipped '.' Summary of conflicts: Skipped paths: 1 So then I did this: /usr/ports]# svn status svn: warning: W155007: '/usr/ports' is not a working copy OK, now I'm really confused. It seems that I've done nothing at all. So what am I doing wrong? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell