Subject: Re: [GLUG-tech] busybox port to NetBSD pkgsrc
To: None <ross.cameron@linuxpro.co.za>
From: Roland Illig <rillig@NetBSD.org>
List: pkgsrc-users
Date: 01/11/2007 04:20:10
Ross Cameron wrote:
> On 10/01/07, Roland Illig <rillig@netbsd.org> wrote:
> 
>>
>> There should be no entries for a usr/bin directory, since no pkgsrc
>> package does that. All "public" binaries go into either bin or sbin.
> 
> Thats contrary to the FHS though, the only files that are supposed to be in
> /bin and /sbin are supposed to be programs that are needed for system
> recovery in "single user mode" and all "userland" programs are supposed to
> be under /usr/bin and /usr/sbin.

No, it isn't. Usually, pkgsrc is installed into /usr/pkg or $HOME/pkg. 
Neither of those directories is covered by the FHS.

Since all PLIST entries are installed relative to this prefix, the "bin" 
directory tends to be /usr/pkg/bin. For pkgsrc, there is no need to 
distinguish between bin and usr/bin, since all pkgsrc packages are 
considered to be "userland" programs.

Roland