Re: a little confuse with case-sensitive name ports and multiple ports with some name

2009-04-17 Thread Oleg Ginzburg
And i forget to say for one else problem with {archivers,mis}/deco:
both of them produced one binary file in /usr/local/bin/deco.

cd /usr/ports/archivers/deco
make install
...
(i have deco archivers)
pkg_add -r deco

(deco/NC-clone replace /usr/local/bin/deco)

 pkg_which /usr/local/bin/deco
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 718 packages found 
(-1 +1) (...). done]
deco-3.9_4 deco-1.6

pkg_delete -f deco-3.9\*

..






On Thursday 16 April 2009 20:16:25 Oleg Ginzburg wrote:
 On Thursday 16 April 2009 19:52:38 Chris Rees wrote:
  2009/4/16 Oleg Ginzburg oleg.ginzb...@nevosoft.ru:
   Hello maillist!
  
   I have two examples of ports with which arises some complexities by
   operation with pkg_add and argument -r.
  
   One of ports is security/keepassx. His name is registered in
   lowercase, however at installation in/var/db/pkg is registered as
   KeepAssX. If to try to install port with pkg_add -r keepassx it will be
   fail and  it will be correct with pkg_add -r KeepAssX. Probably it is
   an error in naming of port?
  
   One more problem with port - deco. It is present at two locations:
  
   % cat /usr/ports/{archivers,misc}/deco/pkg-descr
   Deco is a Un*x script able to extract various archive file formats.
   Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
   flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
  
   WWW: http://hartlich.com/deco/
   A clone of Norton Commander for Unix.  Text-based,
   full featured file manager intuitive interface.
  
   WWW: http://deco.sourceforge.net/
  
   Whether there is a way to specify to what category to me it is required
   to download package of deco?
  
   whereis -sq deco
   /usr/ports/archivers/deco - its archivers
  
   By command pkg_add -r deco - I've receive in the system fine NC-clone,
   but not the archivers.
  
   When number of port with equal name will be increase - expected results
   may can not coincide with result pkg_add, and case-sensitive naming
   port make works a bit difficult .
  
  
   ___
   freebsd-ports@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-ports
   To unsubscribe, send any mail to
   freebsd-ports-unsubscr...@freebsd.org
 
  Try appending the version number?

 Do you mean pkg_add -r deco-N.M (in my example?)

 % pkg_add -r deco-3.9_4
 Error: FTP Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-
 current/Latest/deco-3.9_4.tbz: File unavailable (e.g., file not found, no
 access)
 pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-
 current/Latest/deco-3.9_4.tbz' by URL

 [r...@oleg lftp]# lftp
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/Latest/
 cd ok, cwd=/pub/FreeBSD/ports/i386/packages-8-current/Latest
 lftp ftp.freebsd.org:/pub/FreeBSD/ports/i386/packages-8-current/Latest ls
 | grep deco-3.9
 lrwxr-xr-x  1 1006  1006  21 Feb 22 01:30 deco.tbz - ../All/deco-3.9_4.tbz

 - on ftp servers packages without version as i see.

 Anyway, its not protect in situation with equal name and equal version of
 diffrent ports.

  Or use portinstall -PP archivers/deco

 Ok, this may be solution. BTW, portinstall still not in FreeBSD base system
 ;)

  Chris

 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: a little confuse with case-sensitive name ports and multiple ports with some name

2009-04-17 Thread Chris Rees
2009/4/17 Oleg Ginzburg oleg.ginzb...@nevosoft.ru:
 And i forget to say for one else problem with {archivers,mis}/deco:
 both of them produced one binary file in /usr/local/bin/deco.

 cd /usr/ports/archivers/deco
 make install
 ...
 (i have deco archivers)
 pkg_add -r deco

 (deco/NC-clone replace /usr/local/bin/deco)

  pkg_which /usr/local/bin/deco
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 718 packages found
 (-1 +1) (...). done]
 deco-3.9_4 deco-1.6

 pkg_delete -f deco-3.9\*

 ..


OK, that's seriously annoying. That can't possibly be by design

By the way, please don't top-post
http://www.freebsd.org/doc/en/articles/mailing-list-faq/etiquette.html

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: a little confuse with case-sensitive name ports and multiple ports with some name

2009-04-17 Thread Wesley Shields
On Fri, Apr 17, 2009 at 10:45:46AM +0100, Chris Rees wrote:
 2009/4/17 Oleg Ginzburg oleg.ginzb...@nevosoft.ru:
  And i forget to say for one else problem with {archivers,mis}/deco:
  both of them produced one binary file in /usr/local/bin/deco.
 
  cd /usr/ports/archivers/deco
  make install
  ...
  (i have deco archivers)
  pkg_add -r deco
 
  (deco/NC-clone replace /usr/local/bin/deco)
 
  ?pkg_which /usr/local/bin/deco
  [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 718 packages 
  found
  (-1 +1) (...). done]
  deco-3.9_4 deco-1.6
 
  pkg_delete -f deco-3.9\*
 
  ..
 
 
 OK, that's seriously annoying. That can't possibly be by design

It is because misc/deco is not marked as having a conflict with
archivers/deco, but archivers/deco does have a conflict with misc/deco
recorded.  If you were to install misc/deco before archivers/deco the
situation would become obvious.

One of the two should probably change their pkgname so that pkg_add -r
can properly find it.  Right now pkg_add appears to get misc/deco, even
if you want archivers/deco.

Opening a PR for both these is likely the next best step.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


a little confuse with case-sensitive name ports and multiple ports with some name

2009-04-16 Thread Oleg Ginzburg
Hello maillist!

I have two examples of ports with which arises some complexities by operation 
with pkg_add and argument -r. 

One of ports is security/keepassx. His name is registered in lowercase, 
however at installation in/var/db/pkg is registered as KeepAssX. If to try to 
install port with pkg_add -r keepassx it will be fail and  it will be correct 
with pkg_add -r KeepAssX. Probably it is an error in naming of port? 

One more problem with port - deco. It is present at two locations:

% cat /usr/ports/{archivers,misc}/deco/pkg-descr
Deco is a Un*x script able to extract various archive file formats.
Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.

WWW: http://hartlich.com/deco/
A clone of Norton Commander for Unix.  Text-based,
full featured file manager intuitive interface.

WWW: http://deco.sourceforge.net/

Whether there is a way to specify to what category to me it is required to 
download package of deco?

whereis -sq deco
/usr/ports/archivers/deco - its archivers 

By command pkg_add -r deco - I've receive in the system fine NC-clone, but not 
the archivers. 

When number of port with equal name will be increase - expected results may 
can not coincide with result pkg_add, and case-sensitive naming port make 
works a bit difficult .


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: a little confuse with case-sensitive name ports and multiple ports with some name

2009-04-16 Thread Oleg Ginzburg
On Thursday 16 April 2009 19:52:38 Chris Rees wrote:
 2009/4/16 Oleg Ginzburg oleg.ginzb...@nevosoft.ru:
  Hello maillist!
 
  I have two examples of ports with which arises some complexities by
  operation with pkg_add and argument -r.
 
  One of ports is security/keepassx. His name is registered in lowercase,
  however at installation in/var/db/pkg is registered as KeepAssX. If to
  try to install port with pkg_add -r keepassx it will be fail and  it will
  be correct with pkg_add -r KeepAssX. Probably it is an error in naming of
  port?
 
  One more problem with port - deco. It is present at two locations:
 
  % cat /usr/ports/{archivers,misc}/deco/pkg-descr
  Deco is a Un*x script able to extract various archive file formats.
  Supported archive formats: 7z, ace, ar, arc, arj, bz2, cab, cpio, deb,
  flac, gz, jar, lha, lzma, lzo, rar, rpm, tar, zip, zoo.
 
  WWW: http://hartlich.com/deco/
  A clone of Norton Commander for Unix.  Text-based,
  full featured file manager intuitive interface.
 
  WWW: http://deco.sourceforge.net/
 
  Whether there is a way to specify to what category to me it is required
  to download package of deco?
 
  whereis -sq deco
  /usr/ports/archivers/deco - its archivers
 
  By command pkg_add -r deco - I've receive in the system fine NC-clone,
  but not the archivers.
 
  When number of port with equal name will be increase - expected results
  may can not coincide with result pkg_add, and case-sensitive naming port
  make works a bit difficult .
 
 
  ___
  freebsd-ports@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-ports
  To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

 Try appending the version number?


Do you mean pkg_add -r deco-N.M (in my example?)

% pkg_add -r deco-3.9_4
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-
current/Latest/deco-3.9_4.tbz: File unavailable (e.g., file not found, no 
access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-
current/Latest/deco-3.9_4.tbz' by URL

[r...@oleg lftp]# lftp 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/Latest/
cd ok, cwd=/pub/FreeBSD/ports/i386/packages-8-current/Latest
lftp ftp.freebsd.org:/pub/FreeBSD/ports/i386/packages-8-current/Latest ls |
grep deco-3.9
lrwxr-xr-x  1 1006  1006  21 Feb 22 01:30 deco.tbz - ../All/deco-3.9_4.tbz

- on ftp servers packages without version as i see.

Anyway, its not protect in situation with equal name and equal version of  
diffrent ports.


 Or use portinstall -PP archivers/deco

Ok, this may be solution. BTW, portinstall still not in FreeBSD base system ;)



 Chris

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org