Re: samba and e2fsprogs packages -- 5.4

2013-12-08 Thread Stuart Henderson
On 2013-12-04, Brad Smith b...@comstyle.com wrote:
 On 04/12/13 4:44 PM, Vadim Zhukov wrote:
 2013/12/5 Peter Fraser p...@thinkage.ca:
 samba required the e2fsprogs package. The problem occurs when trying to use 
 samba's net command.
 The net command requires libuuid.
   It was not easy to find where libuuid was located.

 pkg_locate libuuid.so - no?

 Even if that tool was installed that would not locate anything
 if the package in question is not already installed, right?


pkglocate is just a simple shell script which uses locate(1) on a database
built with pkg_mklocatedb(1) as part of a ports build, which includes files
from every port, not just those which are installed, e.g.

$ pkglocate libuuid.so   
e2fsprogs-1.42.7p0:sysutils/e2fsprogs:/usr/local/lib/libuuid.so.14.0
fedora_base-10.0p1:emulators/fedora/base:/usr/local/emul/fedora/lib/libuuid.so.1
fedora_base-10.0p1:emulators/fedora/base:/usr/local/emul/fedora/lib/libuuid.so.1.2

$ ls -l /var/db/pkg/fedora*  
ls: /var/db/pkg/fedora*: No such file or directory



samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Peter Fraser
samba required the e2fsprogs package. The problem occurs when trying to use 
samba's net command.
The net command requires libuuid.
 It was not easy to find where libuuid was located.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Vadim Zhukov
2013/12/5 Peter Fraser p...@thinkage.ca:
 samba required the e2fsprogs package. The problem occurs when trying to use 
 samba's net command.
 The net command requires libuuid.
  It was not easy to find where libuuid was located.

pkg_locate libuuid.so - no?

--
  WBR,
  Vadim Zhukov



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 4:44 PM, Vadim Zhukov wrote:

2013/12/5 Peter Fraser p...@thinkage.ca:

samba required the e2fsprogs package. The problem occurs when trying to use 
samba's net command.
The net command requires libuuid.
  It was not easy to find where libuuid was located.


pkg_locate libuuid.so - no?


Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Christian Weisgerber
Brad Smith b...@comstyle.com wrote:

  pkg_locate libuuid.so - no?
 
 Even if that tool was installed that would not locate anything
 if the package in question is not already installed, right?

Wrong.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 5:23 PM, Christian Weisgerber wrote:

Brad Smith b...@comstyle.com wrote:


pkg_locate libuuid.so - no?


Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?


Wrong.


How does it find the file then?

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Philip Guenther
On Wed, Dec 4, 2013 at 2:29 PM, Brad Smith b...@comstyle.com wrote:
 On 04/12/13 5:23 PM, Christian Weisgerber wrote:

 Brad Smith b...@comstyle.com wrote:
...
 Even if that tool was installed that would not locate anything
 if the package in question is not already installed, right?

 Wrong.

 How does it find the file then?

As documented on the manpage, using tiny French elves cloned from espie@



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Jérémie Courrèges-Anglas
Peter Fraser p...@thinkage.ca writes:

 samba required the e2fsprogs package. The problem occurs when trying to use 
 samba's net command.
 The net command requires libuuid.
  It was not easy to find where libuuid was located.

This kind of report should go to ports@... (redirecting there on
purpose).

What's the exact error / problem?

-- 
jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



Re: samba and e2fsprogs packages -- 5.4

2013-12-04 Thread Brad Smith

On 04/12/13 5:37 PM, Philip Guenther wrote:

On Wed, Dec 4, 2013 at 2:29 PM, Brad Smith b...@comstyle.com wrote:

On 04/12/13 5:23 PM, Christian Weisgerber wrote:


Brad Smith b...@comstyle.com wrote:

...

Even if that tool was installed that would not locate anything
if the package in question is not already installed, right?


Wrong.


How does it find the file then?


As documented on the manpage, using tiny French elves cloned from espie@


That's about it.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.