From owner-freebsd-questions Sat Jun 22 17: 0:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fed1mtao04.cox.net (fed1mtao04.cox.net [68.6.19.241]) by hub.freebsd.org (Postfix) with ESMTP id C881F37B406 for ; Sat, 22 Jun 2002 17:00:18 -0700 (PDT) Received: from ip24_56_31_67.ph.cox.net ([24.56.31.67]) by fed1mtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020623000019.IOZE26656.fed1mtao04.cox.net@ip24_56_31_67.ph.cox.net> for ; Sat, 22 Jun 2002 20:00:19 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Brett Rogers Reply-To: loki_bsd@cox.net To: freebsd-questions@freebsd.org Subject: Re: portupgrade with package Date: Sat, 22 Jun 2002 17:00:12 -0700 User-Agent: KMail/1.4.1 References: <20020622102616.A1192@jrpenn.demon.co.uk> <20020622124135.A1730@jrpenn.demon.co.uk> <20020622130547.GA285@happy-idiot-talk.infracaninophi> In-Reply-To: <20020622130547.GA285@happy-idiot-talk.infracaninophi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206221700.12996.loki_bsd@cox.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 22 June 2002 06:05 am, Matthew Seaman wrote: > On Sat, Jun 22, 2002 at 12:41:35PM +0100, Jeff Penn wrote: > > I'm obviously missing something with my understanding of the ports > > system. I thought that following -STABLE or -RELEASE only selected the > > src tree to follow. Is this explained in the handbook or elsewhere?. > > The best description of how ports and packages fit in with the release > process is Murray's magnum opus about release engineering: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html > > In general the packages supplied with any FreeBSD release are just a > snapshot of the state of the ports tree around the time of the > release. There is no CURRENT vs STABLE vs RELENG_4_x branch structure > in the ports tree. > > The packages available on the ftp sites are categorised into > `package-X.Y-release' subdirectories, but for the most part these are > just aliases for `packages-5-current' or `packages-4-stable'. This is > how the /pub/FreeBSD/ports/i386 directory is laid out on > ftp2.uk.freebsd.org today: > > packages -> packages-stable > packages-4-current -> packages-4-stable > packages-4-stable > packages-4.0-release -> packages-4-stable/ > packages-4.1-release -> packages-4-stable/ > packages-4.2-release -> packages-4-stable/ > packages-4.3-release -> packages-4-stable/ > packages-4.4-release -> packages-4-stable/ > packages-4.5-release > packages-4.6-release > packages-5-current > packages-5.0-current -> packages-5.0-dp1/ > packages-5.0-dp1 > packages-current -> packages-5-current > packages-stable -> packages-4-stable > > Only recent releases have their own separate packages directory > (ie. packages-4.5-release), and that will contain the same packages as > on the released CD set. That's so that using sysinstall to do an > install over the network will achieve the same result as installing > from CD. > > The packages-4-stable and packages-5-current directories however just > track the state of the ports tree on a weekly basis. As this is a > large amount of stuff and it changes fairly regularly, not all FreeBSD > ftp mirrors will carry it. Eg. ftp.uk.freebsd.org and ftp2.uk. have > everything, but ftp3.uk. is more selective. > > If you're using any version of FreeBSD 4, and so long as you update > any dependencies appropriately then any packages under > `packages-4-stable' should work for you. Just because you're running > RELENG_4_5 doesn't mean that you should only use packages from the > packages-4.5-release directory. In fact, if you're concerned about > security you definitely shouldn't limit yourself to just those > packages, or you won't pick up on security or other bug fixes. > > There has been some discussion about this setup inspired by the recent > "Chunked Transfer Encoding" security bug in apache being made public > so soon after 4.6-RELEASE and the fact that anyone installing from 4.6 > CDs or by sysinstall will therefore be installing an exploitable > version of apache. The idea as I understand it is that, say, an > installation from CD Rom will prompt you to set up a network > connection and then go out to the net to check for updates and > important news whenever you select a package to install. > > Matthew With all this said, how do you tell portupgrade which packages folder to look in? Mine always wants to look in packages-4.6-stable which does not exist. -Brett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message