From owner-freebsd-questions Tue Aug 29 21:25: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id A3F3737B423 for ; Tue, 29 Aug 2000 21:25:00 -0700 (PDT) Received: from granite.impoffice.ac.th ([203.151.134.100]) by stjohn.stjohn.ac.th (8.9.3/8.9.3) with SMTP id LAA24557 for ; Wed, 30 Aug 2000 11:20:38 +0700 (GMT) Message-Id: <3.0.6.32.20000830112750.00870b80@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 30 Aug 2000 11:27:50 +0700 To: freebsd-questions@freebsd.org From: Roger Merritt Subject: Re: makeworld analogy for ports In-Reply-To: <4.3.1.2.20000829092913.00ab8750@mail.udel.edu> References: <018801c011a0$2bed37a0$c80aa8c0@joskis> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:33 AM 8/29/00 -0400, you wrote: > >>hi, >> >>i have 'played' with makeworld for 3 months right now. and i think it is >>cool ;) >> >>now, i have some more questions about updating: >>is there are standard method of updating all installed ports automatically? > >Not exactly "automatic", but try: > pkg_version -c > need.to.update > >Then manually edit 'need.to.update' (or whatever you called your >file). Edit it by putting a ``!/bin/sh'' as the first line, and then go >through and remove or correct any additions that you don't want - example, >when I run it it offers up that I should upgrade to XFree4.0, which I don't >want to do, so I remove those lines. > >Also, on every line that shows ``make install'' I usually add on ``&& make >clean'' after that to make sure the work directories get cleaned out. > >Do all that, make the file executable, run it, and come back once in a >while to stir or add water as needed. Some updates will require manual >intervention or questions answered, but it sure beats having to create a >script yourself =) > >Hope that helps, >John > Wow, works a treat! This should really be in the Handbook! -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message