From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 18:40:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D55C16A4B3 for ; Fri, 19 Sep 2003 18:40:46 -0700 (PDT) Received: from mx7.mail.ru (mx7.mail.ru [194.67.23.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FAA843FAF for ; Fri, 19 Sep 2003 18:40:45 -0700 (PDT) (envelope-from my-subs@mail.ru) Received: from [62.0.88.199] (port=2283 helo=old.home) by mx7.mail.ru with smtp id 1A0Wjv-0002OS-00; Sat, 20 Sep 2003 05:40:48 +0400 Date: Sat, 20 Sep 2003 04:40:40 +0300 From: Alexander Portnoy To: Nickolay Krylov Message-Id: <20030920044040.6e0b32a4.my-subs@mail.ru> In-Reply-To: <8937649957.20030919201712@anapanet.ru> References: <8937649957.20030919201712@anapanet.ru> X-Mailer: Sylpheed (FreeBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: freebsd-questions@freebsd.org Subject: Re: making 4.8-RELEASE-p7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 01:40:46 -0000 On Fri, 19 Sep 2003 20:17:12 +0400 Nickolay Krylov wrote: > Hello, freebsd-security. > > I'm trying to build 4.8-RELEASE-p7 to distribute it trought my > clients. What am I doing: > > #cd /usr/share/examples/cvsup > #cvsup standard-supfile (after I've done necessary changes) > #cd /usr/src > #make buildworld > > Thus, I have /usr/obj "populated with the output of ``make > buildworld''" as it described in man 7 release. > > Then, I have read "FreeBSD Release Engineering" by Murray Stokely, but > can't understand for what > > #make release > > use env variable CVSROOT???!!!! > > All what I want to do - make 4.8p7 release (FTP version) from sources what I've cvsuped > from RELENG_4_8 i.e. ONLY 4.8-RELEASE with security updates. > > > Help me please, my english not perfect, may be therefore I don't > understand anything. > > Thanks in advance, NK. > > -- > Best reqards, > Nickolay mailto:freebsd@anapanet.ru > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > You must to have a local copy of the FreeBSD CVS repository. During the 'make release' cvs is called several times to fetch an appropriate versions of the system sources, documentation sources and the ports tree to the ${CHROOTDIR}/usr/src, ${CHROOTDIR}/usr/doc and ${CHROOTDIR}/usr/ports accordingly from the repository. I am sure You don't want to fetch the whole repository for the FreeBSD-4.8-RELEASE-p7 only ;-) The solution is to comment out all lines in the /usr/src/release/Makefile that contains the calls to 'cvs' and populate the directories manually. (mount_null -o ro /usr/[src|doc|ports] ${CHROOTDIR}/usr/[src|doc|ports] is the simplest way to do that). Be careful not to erase your ports and source trees because the Makefile contains the commands that removes the contents of the ${CHROOTDIR} directory before any other actions. P.S. Why 'freebsd-security' and not 'questions' or 'stable' ?