From owner-freebsd-questions Tue Aug 29 6:34:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wondermutt.net (host75-157.student.udel.edu [128.175.75.157]) by hub.freebsd.org (Postfix) with ESMTP id CC85F37B422 for ; Tue, 29 Aug 2000 06:34:13 -0700 (PDT) Received: from morgaine.udel.edu (morgaine.wondermutt.net [192.168.1.2]) by wondermutt.net (8.9.3/8.9.3) with ESMTP id JAA91319; Tue, 29 Aug 2000 09:36:09 -0400 (EDT) (envelope-from papalia@udel.edu) Message-Id: <4.3.1.2.20000829092913.00ab8750@mail.udel.edu> X-Sender: papalia@mail.udel.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Tue, 29 Aug 2000 09:33:31 -0400 To: "Jordanas Kriauciunas" , From: John Subject: Re: makeworld analogy for ports In-Reply-To: <018801c011a0$2bed37a0$c80aa8c0@joskis> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message