> 1) I'm currently packing snoopy, it's an execve logger, it overrides > the default execve behaviour in libc, with an LD_PRELOAD, and logs all > executed commands. Anyhow, the upstream version installs into /lib, > since it's for libc.. however, does it go there in a deb or into > /usr/lib? It's not explicitly required for a bootup, so is that how > the decision is made?
I think it should go in /usr/lib. What snoopy does is similar to what electric-fence does, in the sense that both override libc functions. libefence is packaged in /usr/lib. > 2) If I make a bug-fix, and submit it upstream, do I have to wait for > the upstream version to apply my fix, or can I just apply it myself. > (In one of my packages, there were some GTK warnings, so I fixed > those, and sent a patch to the upstream guy, but can I just apply them > now, as part of my .diff?) You can make any changes you like as part of your diff, as long as the license permits it. Eric