Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 09:33:31 -0400
From:      John <papalia@udel.edu>
To:        "Jordanas Kriauciunas" <jk@pbj.lt>, <questions@FreeBSD.ORG>
Subject:   Re: makeworld analogy for ports
Message-ID:  <4.3.1.2.20000829092913.00ab8750@mail.udel.edu>
In-Reply-To: <018801c011a0$2bed37a0$c80aa8c0@joskis>

next in thread | previous in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000829092913.00ab8750>