[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] Re: [Chicken-users] .meta needs on a per platform basi
[Chicken-hackers] Re: [Chicken-users] .meta needs on a per platform basis
Tue, 9 Jan 2007 08:53:40 -0800
-----BEGIN PGP SIGNED MESSAGE-----
On Jan 8, 2007, at 10:47 PM, felix winkelmann wrote:
Hm... I'd prefer not to generate stubs.
I wasn't serious.
Actually, I'd like to extend "needs" even more: every non-symbolic
requirement (extension-id) may alternatively be an expressions
that should return a list of extension-ids. That way we can use
`cond-expand' or even perform platform-specific tests whether
certain software is installed.
This opens up the possibilty for eggs containing 3rd-party libraries
(i.e. bb.meta contains a needs clause that checks fot an installed
fltk, if it isn't require an egg containing the fltk tarball and build
Would be nice.
The downside is that this may be a security problem: the code in
the needs clause will be executed by chicken-setup, even if the
user doesn't request an actual installation (which would run
script, which of course can do all sorts of things and may even be run
Root will require user connivance. But a malicious egg could do some
damage to user areas. Posting is password protected but the password
has been distributed on an open channel in the past so ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
|[Prev in Thread]
||[Next in Thread]|
- [Chicken-hackers] Re: [Chicken-users] .meta needs on a per platform basis,
Kon Lovett <=