From owner-freebsd-questions@FreeBSD.ORG Wed Jun 11 21:25:28 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 4EBE237B401 for ; Wed, 11 Jun 2003 21:25:28 -0700 (PDT) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 8843643F93 for ; Wed, 11 Jun 2003 21:25:26 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 59751 invoked by uid 555); 12 Jun 2003 08:25:23 +0400 Message-ID: <20030612042523.59748.qmail@mx.tele-kom.ru> Received: from (213.80.149.215) by t-k.ru with TeleMail/2 id 1055391922-59742 for doublef@tele-kom.ru; Thu, 12 Jun 08:25:22 2003 +0400 (MSD) Date: Thu, 12 Jun 2003 08:23:18 +0400 (MSD) To: Mark Miller From: DoubleF cc: freebsd-questions@freebsd.org Subject: Re: Are there STABLE/CURRENT/RELEASE tags for ports? 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: Thu, 12 Jun 2003 04:25:28 -0000 > Are there any equivalents to STABLE/RELEASE/CURRENT for ports? I've been > cvsup'ing with "tag=." for awhile and I keep getting build errors (bug > reports will be filed soon). Is there a way to just track -STABLE ports > (maybe that only have bugfixes and security updates) that are more likely > to play nicely with each other? If not, is there any way to make this > happen? Arghh I wish there were such tags. In the meantime you might consider CTM for ports, downloading the deltas from the FTP. If you do that and NEVER EVER remove the deltas, you may be able to 'roll back' to any date you want to try to find the non-broken port version (if there was any, of course...). I am also rather tired of build errors. What I can suggest is probably kludgy, but it is the least kludgy way I could find to compile some ports. Before you install any ports, 1) Save the deltas... 2) Symlink /usr/X11R6 to /usr/local. Many ports put files in the wrong one, and symlinking individual files is, ahm,... AFAIK, there are no colliding files in them. 3) Try putting /usr/local and /var/db/pkg (and /etc/X11, and /usr/ports maybe, but I don't) on a separate filesystem. Make two such filesystems, "current" and "stable". Make / and the remaining /usr as read-only as possible. Make a mountpoint, say, /switch. Symlink /usr/local to /switch/usr.local, /var/db/pkg to /switch/var.db.pkg... Then change the fstab file to mount "stable" at startup. You can always mount "current" after boot on top of "stable" and so emulate what you wish. You may want to make the WRKDIRPREFIX to point to a directory shared between the "current" and "stable" to save compilation time (otherwise you will compile each port twice), but I wouldn't recommend it (to be on the safe side). It's just what I do. I know it breaks the normal hierarchy (and takes 2x space), but at least it does it in a polite way. HTH, DoubleF