Re: Rambling apt-get ideas
On Thu, 28 Dec 2000, Matt Zimmerman wrote:
> On Thu, Dec 28, 2000 at 08:22:52AM -0600, Vince Mulhollon wrote:
> > Yes, that was kind of my point.
> > An analogy would be that we don't need dpkg because most of its
> > functionality could be done by a mixture of tar, gzip, and perl (and maybe
> > make to handle dependancies).
> Not quite. dpkg-deb actually does call out to tar and gzip, and lets those
> programs do what they do best. It doesn't try to be tar and gzip and dpkg all
> at once. The UNIX approach is to build tools that do one or a few jobs very
> well, and build larger tools out of that code base. That way, once a problem
> is solved, it is solved for all programs that share the problem-solving code.
Well, see, dpkg 1.8 in incoming no longer calls an external gzip binary(note:
this is a configure option). It is linked to zlib statically. This gives a
In dpkg cvs(what will be 1.9), dpkg no longer calls an external md5sum(it also
doesn't fork for it, which it still does for the gzip above). This isn't as
bad, because it already had it's own internal md5sum binary, I just moved the
code into the internal library it uses.
----BEGIN GEEK CODE BLOCK----
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <email@example.com> Finger Print | KeyID
67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----