From owner-freebsd-stable Fri Feb 9 16:34:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id 297CD37B6A0 for ; Fri, 9 Feb 2001 16:34:19 -0800 (PST) Received: from utah (jcwells@utah.nwlink.com [209.20.130.41]) by smtp.nwlink.com (8.9.3/8.9.1) with SMTP id QAA17558 for ; Fri, 9 Feb 2001 16:34:18 -0800 (PST) Date: Fri, 9 Feb 2001 16:49:22 -0800 (PST) From: "Jason C. Wells" X-Sender: jcwells@utah To: freebsd-stable@FreeBSD.ORG Subject: Re: Ports updating... Good ways? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG One way to make it easy to keep ports updated is to only cvsup the ports you need. Then you build from the top. Cvsup has pattern matching so the following code doesn't need version number suffixes. You will end up with the latest versions. I did this. #!/bin/gross_pseudocode $suplist=portpattern_1 \ portpattern_2 \ Mk and friends \ portpattern_3; cvsup $suplist cd /usr/ports make install I deleted the script some time ago. The method worked pretty well. The only problem is when a particular port added a new dependency (KDE was bad for this). The code above is gross, but the idea worked. The cool part was the all of the installing and building went pretty well. If you put your script ona floppy, then you can rebuild all of the /usr/local stuff on some other machine and come up with a near mirror. Thank you, Jason C. Wells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message