[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SEUL: Re: Installation script
X-Authentication-Warning: belegost.mit.edu: majordomo set sender to firstname.lastname@example.org using -f
Date: Tue, 7 Oct 1997 12:49:19 -0700 (PDT)
From: "Erik Walthinsen (Omega)" <email@example.com>
cc: seul-project@BELEGOST.MIT.EDU, Greg Bell <firstname.lastname@example.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 7 Oct 1997, Luka wrote:
> well, sort of. the way to build an rpm at least (i don't know about dpkg yet)
> is pretty conducive to including the right dependencies if you think about it
> when you're building the rpm. it is trivially possible to ignore it though.
It appears, from my work trying to create symlink-only packages (so you
can install it on a lightweight client, keeping the actual files on an
NFS/SMB server), that rpm actually goes around looking at binaries,
running ldd on them, and includes those deps. I'll have to try to verify
> we should give this some thought, so anyone with some clever insights....?
I was scanning through the rpm change logs and found mention of specific
semantics for dependencies. If it starts with a '/', it's assumed to be a
file. Otherwise it's assumed to be a library. But there are packages
that require other packages, so I don't know how they decide what's a
library dep and what's a package dep. Something to be researched.
Oh god! I wonder why you are trying to guess wth the Change logs whan
it is all very well explained in the RPM docs.
If it begins by / it is a file (I have only seen that used in
Predepencies that is things needed solely by the install scripts not
by the package itself). RPM will find automatically shared libraries
needed or provided when you build the package. A package
automatically provides its name. So "sendmail" automatically provides
the "sendmail" capability. You can add capabilities by hand so
sendmail will provide "mailer" this way every program needing an MTA
but not necessarily sendmail will be happy. You are responsible for
listing all required capabilities outside of shared libraries.
Jean Francois Martinez
==================== The Linux. Use the Linux, Luke! =======================