On Mon, Nov 24, 2003 at 10:38:24PM -0500, Nathan Hawkins wrote: > > Yes. I started splitting it into separate files, with a view towards > untangling the mess. Unfortunately, I didn't finish. > > [...] > > Actually, using /proc on FreeBSD isn't a very good idea, since procfs is > deprecated, and rumour has it will eventually go away. FreeBSD folks > evidently believe /proc is a security hazard. That's why it isn't > mounted by default, and isn't used by anything in the standard FreeBSD > userland. > > Problem is, the alternatives, sysctl or libkvm, both make use of binary > interfaces, and that introduces some major headaches. The best approach > I've been able to think of is to move the pid_is_* functionality into a > library, at least for freebsd-i386. That way kernel upgrades won't > require recompiling dpkg every so often... We'd have to fix the library, > but that's not quite so obnoxious.
Thanks for noting that, and feel free to take this task. I haven't had time to play with it at all lately. > > In the meantime, please apply my other patch for triplet handling: > > > > #211566: dpkg: triplet fixes for "freebsd-i386" > > Does this patch handle wildcards? i386-freebsd5.0-gnu and the like are > going to be a problem. I'd look at your patch, but bts looks down. It does. Look at configure.in. -- Robert Millan "[..] but the delight and pride of Aule is in the deed of making, and in the thing made, and neither in possession nor in his own mastery; wherefore he gives and hoards not, and is free from care, passing ever on to some new work." -- J.R.R.T, Ainulindale (Silmarillion)

