From owner-freebsd-ports@FreeBSD.ORG Sun Sep 9 05:15:06 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAE401065670 for ; Sun, 9 Sep 2012 05:15:06 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 43C088FC0A for ; Sun, 9 Sep 2012 05:15:05 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so668397wib.13 for ; Sat, 08 Sep 2012 22:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RRU52ceXzNNt94TdbSGNlZbN+trcLmsTTai5kl5DR9s=; b=grJvk/KJm8OM21Fet4/H8KELYHJBGrAUC3UMVdzehiSmzBe+YjU3K35LGx+QzZlLvs 7zExPOxeBlg7k7g8Vy9+19TmdUWL0z8GQKb446XrT45gyd248OG+y2Gunj6Eft65NkS2 Xi1S66mFISO+iPLfDwPRA5GIAbZpFTyaTEWDU9nXkVVH5CZ1nwtAuFAKP2I+u0FTRwHy k56CiVrIbYSfknh/rxNtW3/YCmzOvQjqWJFZfALLm9jVymMZUIlPWg51qoD56u/iRaTj psUGmHhkbl+U7spiBGShqYI257v09RZuZmuD0Fkfp1ld7UWd0vZ6wlzxGEnegFPe9aFE fX2A== MIME-Version: 1.0 Received: by 10.216.138.73 with SMTP id z51mr5641152wei.39.1347167704596; Sat, 08 Sep 2012 22:15:04 -0700 (PDT) Received: by 10.223.63.76 with HTTP; Sat, 8 Sep 2012 22:15:04 -0700 (PDT) In-Reply-To: <1347145713.16545.YahooMailClassic@web111312.mail.gq1.yahoo.com> References: <1347145713.16545.YahooMailClassic@web111312.mail.gq1.yahoo.com> Date: Sat, 8 Sep 2012 22:15:04 -0700 Message-ID: From: Kevin Oberman To: Jeffrey Bouquet Content-Type: text/plain; charset=UTF-8 Cc: Jamie Paul Griffin , freebsd-ports@freebsd.org Subject: Re: [HEADS-UP] Announcing the end of port CVS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 05:15:06 -0000 On Sat, Sep 8, 2012 at 4:08 PM, Jeffrey Bouquet wrote: > > > --- On Sat, 9/8/12, Kevin Oberman wrote: > >> From: Kevin Oberman >> Subject: Re: [HEADS-UP] Announcing the end of port CVS >> To: "Jamie Paul Griffin" >> Cc: freebsd-ports@freebsd.org >> Date: Saturday, September 8, 2012, 2:42 PM >> On Sat, Sep 8, 2012 at 3:09 AM, Jamie >> Paul Griffin >> wrote: >> > [ Lars Eighner wrote on Fri 7.Sep'12 at 10:00:45 >> -0500 ] >> > >> >> On Fri, 7 Sep 2012, Beat Gaetzi wrote: >> >> >> >> >The development of FreeBSD ports is done in >> Subversion nowadays. >> >> >For the sake of compatibility a Subversion to >> CVS exporter is >> >> >in place which has some limitations. For CVSup >> mirroring cvsup >> >> >based on Ezm3 is used which breaks regularly >> especially on amd64 >> >> >and with Clang and becomes more and more >> unmaintainable. >> >> >> >> >> >> What exactly is the motivation again for moving >> from things which work like >> >> cvsup and gcc to things that are broken or lame >> like subversion and clang? >> > >> > They're not broken. I've recently been using them and >> they're fine. >> > There has been plenty of discussion about the reasons >> for the changes so >> > have a read from the various sites and list archives. >> >> Looks like a troll to me. No one who has worked with >> subversion for a >> project of any size would ever want to go back to CVS. While >> still >> having some of CVS's limitations, it does far, far more and >> is much >> easier to work with for most things. I really miss the >> forced commit >> and, for one application, RANCiD, I use CVS so I can grep >> through the >> ,v files easily. But I can't see any reason for FreeBSD not >> to move >> the the more advanced system. >> >> As to clang, there is no choice there. The license on newer >> version of >> gcc (GPLv3) is simply not acceptable to the community, so >> gcc is stuck >> forever at 4.2 which is getting very old. clang has >> excellent >> development support, an acceptable license, and early tests >> show that >> it generally compiles faster and MAY even generate better, >> faster >> code. >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6558@gmail.com >> _______________________________________________ >> freebsd-ports@freebsd.org >> mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > I'd not go so far as to label it trolling.... The language was highly pejorative, so it felt troll like. > ... > I searched quite a bit upon this announcement to find csup > svn equivalent guides and found little applying to ports... > hopefully they will appear prior to the changeover?, something > easily learned? Good point. I found the handbook information adequate, but not as easy to follow as it might be. Guess I'll write one. It's really quite easy and much faster then csup. 1. Install devel/subversion 2. Select US east coast or US west as your server. Pick at random or pick the one closer to you. 3. Rename (mv) ports/distfiles and ports/packages out of /usr/ports 4. rm -r /usr/ports/* 5. svn co http://svn0.us-west.freebsd.org/ports/head /usr/ports OR svn co http://svn0.us-east.freebsd.org/ports/head /usr/ports Ports will now be checked out of the repository and written to /usr/ports 6. make -f /usr/ports/Makefile fetchindex 7. Move ports/distfiles and ports/packages back into /usr/ports. Since these directories are not in the repository, they will be ignored by updates. 7. Update ports as needed with 'svn up /usr/ports' and 'make -f /usr/ports/Makefile fetchindex' This step does the equivalent of csup. 8. Use the Subversion manual from http://svnbook.red-bean.com/ to learn how to other things with svn. Of particular interest is 'svn info /usr/ports and setting up the .subversion file to do things like ignore some directories. If you add private ports to /usr/ports, they will be ignored by svn as they don't exist in the repository. If anyone has suggestions on other things that belong in this list, please let me know. > > .... > (disregarding portsnap for the moment, and I apologize...) > .... > (the .htm I saved from the web searches (svn) appear too complex and > irrelevant to this use case to be of use here...) > ... > As a minor aside, /devel/apr1/ is a dependency of subversion at > least on this machine probably... > ... Yes, svn can pull in several dependencies. I'll admit that I don't know why apr1 is needed. > All the many FreeBSD texts I've read and used, maybe one of them > has a relevant chapter? And/or maybe complete SVN instructions > should be added to the UPDATING file as well as a section on > ports in the subversion manpage(s). Have you read the FreeBSD handbook? It does not have the step-by-step instructions I listed, but I figured out how to use svn after reading that information and about 30 minutes of experimentation. Also, these same instructions can be use (with trivial modification) to update FreeBSD sources. > All taken as constructive discussion hopefully. I re-edited this > email to make it shorter and less critical... Yes, this mail expressed reasonable concerns without sounding confrontational. Hopefully my answers help. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com