[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH/RFC] dpkg-shlibdeps: ignore shell scripts



On Thu, 22 Apr 2010, Jonathan Nieder wrote:
> Raphael Hertzog wrote:
> 
> > we could implement this easily. Change dpkg-shlibdeps to accept
> > directories and not only binaries and assume that when a directory is
> > passed you want dpkg-shlibdeps to scan all files for binaries according
> > to its own logic (which would be is_elf() right now but it could be
> > expanded later to support Mac OS X if needed).
> 
> Is the idea to use this to fix debhelper’s troubles in coping with
> object files in /usr/lib without a .so extension [1]?  My only worry
> would be how to cope with false positives (both non-ELF files that
> happen to start with the ELF magic bytes and ELF files that should not
> be factored into ${shlibs:Depends}).

The idea is what it is. If Joey wants to use it he can, but it's probably
not usable alone since he has to deal with excludes of files and stuff
like that.

I was rather trying to provide you a simple way to do "dpkg-shliddeps
debian/foo/usr/bin/".

Cheers,
-- 
Raphaël Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/


Reply to: