Subject: Re: Smarter make update / pkg_chk algo
To: Hubert Feyrer <hubert@feyrer.de>
From: David Brownlee <abs@NetBSD.org>
List: tech-pkg
Date: 05/24/2005 17:49:56
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--0-1288579207-1116953396=:470
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
I've had a quick spin at this, and rather than make things more
complicated had a pass at making things simpler.
In the attached 'pkg_chk -u' will, if any packages are out of date:
- generate a list of all installed packages (pkgchk_update.conf)
- merge in any previous pkg_update -u run
- remove out of date packages
- install all 'missing' packages
- if installed successfully, delete pkgchk_update.conf
It also now works against binary packages.
It does mean that all out of date packages are removed before
any are installed, but that is what I've been doing (with
pkg_chk -r ... ; pkg_chk -aks) for years anyway.
The resultant script is one line shorter and slightly smaller :)
What do people think?
--
David/absolute -- www.NetBSD.org: No hype required --
--0-1288579207-1116953396=:470
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=pkg_chk.sh
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.62.0505241749560.470@localhost.>
Content-Description:
Content-Disposition: attachment; filename=pkg_chk.sh
IyFAU0hAIC1lDQojDQojICRJZDogcGtnX2Noay5zaCx2IDEuMTQgMjAwNS8w
NC8yMCAxNTozMjoyNSBhYnMgRXhwICQNCiMNCiMgVE9ETzogSGFuZGxlIHVw
ZGF0ZXMgd2l0aCBkZXBlbmRlbmNpZXMgdmlhIGJpbmFyeSBwYWNrYWdlcw0K
DQpQQVRIPS91c3Ivc2JpbjovdXNyL2Jpbjoke1BBVEh9DQoNCmNoZWNrX3Bh
Y2thZ2VzX2luc3RhbGxlZCgpDQogICAgew0KICAgIE1JU1NJTkdfVE9ETz0N
CiAgICBNSVNNQVRDSF9UT0RPPQ0KDQogICAgZm9yIHBrZ2RpciBpbiAkKiA7
IGRvDQoNCglpZiBbIC1uICIkb3B0X0IiIF07dGhlbg0KCSAgICBleHRyYWN0
X3BrZ192YXJzICRwa2dkaXIg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