From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 07:50:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9483106564A for ; Fri, 28 Sep 2012 07:50:39 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 35BD68FC16 for ; Fri, 28 Sep 2012 07:50:38 +0000 (UTC) Received: by eekc50 with SMTP id c50so1402962eek.13 for ; Fri, 28 Sep 2012 00:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vkj2gIM2jPaKI+mrWe5f7NR5Y++kB2VNIZr20iR08Z0=; b=jxDNuL+Mol6nOsjx+MY103hES2JAF8T+gIqdu6JrDzxu61wVbH4chO4ziw6XewMqKT BxWtzeFDE2ycnhV/2HNSX0gIvOSgCw8wGyJPBzfRrTwujCtJ5hGUYkq47QVdJlOjLTBX OllKb9sdGHGKsfjq4xCZcDHC4yQosbMHMr7jZYIdCzKrHxXdctijxeewqnqqaVVfhjo5 +Qd9t17fYFNvMX2yCR74t86KqYCkrESn7jZ7xWjJ9lAMH+bb7j2trDYcUEe7bXE/cDij 68CvMOlhwPTpNXRMF6enV4u4wYGfoXUyEoGppqtbaYxVsQm1Tt5VIQIvLXjDxPWUvAdU qgcw== Received: by 10.14.178.6 with SMTP id e6mr8802027eem.36.1348818637987; Fri, 28 Sep 2012 00:50:37 -0700 (PDT) Received: from [192.168.50.105] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id e7sm23841277eep.2.2012.09.28.00.50.36 (version=SSLv3 cipher=OTHER); Fri, 28 Sep 2012 00:50:36 -0700 (PDT) Message-ID: <506556CC.5020608@gmail.com> Date: Fri, 28 Sep 2012 09:50:36 +0200 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Ed Flecko References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org >> FreeBSD" Subject: Re: svn checkout "head" or "stable" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 07:50:39 -0000 Ed Flecko schreef: > My goal is to simply have a production server that's fully patched, > but I will be running custom kernels (which is why I'm not using > freebsd-update). I've seen a lot of subversion references to checking > out the "head" branch and the "stable" branch. > > I understand the "head" branch is the most current, so that's the same > as the "current" branch, right? > > If I understand correctly, "most" people will not follow the "current" > branch for production servers. > > My goal is to have all of the files I need to rebuild my kernel and my > system after security updates have been released, therefore I should > do something like: > > > > svn co svn://svn.freebsd.org/base/stable/9 /usr/src > > svn co svn://svn.freebsd.org/ports/stable/9 /usr/ports > > svn co svn://svn.freebsd.org/doc/stable/9 /usr/doc > > This will give me everything I need to recompile and have a fully > patched system, right? > > > > I do not make changes to the src, ports, or doc directories. From that > point forward, as new security patches are released, I can simply: > > svn up /usr/src > > svn up /usr/ports > > svn up /usr/doc > > and once again rebuild my kernel and system. > > > > Does this sound correct? > > > Ed > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" It sounds correct but is not :D If you use svn co svn://svn.freebsd.org/base/stable/9 /usr/src then you are tracking stable. Stable is a not a release that receives patches. Stable receives code from head(current) that has been tested in Current(head), but did not get real exposure in the stable branch which is now 9. Stable is the code that is altered between releases. So Stable might contain some bugs from head that are only exposed in the current code base. So if you want a production system which only receive patches you need to track release. svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src To sum it up: (please correct me if i am wrong) So for the latest and greatest use head which is FreeBSD 10 Current svn co svn://svn.freebsd.org/base/head /usr/src If you want the stable branch use svn co svn://svn.freebsd.org/base/stable/9 /usr/src This will give you FreeBSD 9 Stable If you want to track release with patches use svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src This will give you FreeBSD 9.1-px where px is the patch level if any. I hope this clearify things a little bit regards Johan