From owner-freebsd-ports@FreeBSD.ORG Fri Apr 17 06:48:08 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BAAD1065670 for ; Fri, 17 Apr 2009 06:48:08 +0000 (UTC) (envelope-from oleg.ginzburg@nevosoft.ru) Received: from nmail.nevosoft.ru (nmail.nevosoft.ru [78.108.89.51]) by mx1.freebsd.org (Postfix) with ESMTP id 20C938FC15 for ; Fri, 17 Apr 2009 06:48:07 +0000 (UTC) (envelope-from oleg.ginzburg@nevosoft.ru) Received: from oleg.net.nevosoft.ru (unknown [195.182.128.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nmail.nevosoft.ru (Postfix) with ESMTPSA id 2731363EC0D for ; Fri, 17 Apr 2009 10:48:06 +0400 (MSD) From: Oleg Ginzburg Organization: NevoSoft To: freebsd-ports@freebsd.org Date: Fri, 17 Apr 2009 10:47:56 +0400 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <200904161900.42681.oleg.ginzburg@nevosoft.ru> <200904162016.25524.oleg.ginzburg@nevosoft.ru> In-Reply-To: <200904162016.25524.oleg.ginzburg@nevosoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200904171047.56671.oleg.ginzburg@nevosoft.ru> Subject: Re: a little confuse with case-sensitive name ports and multiple ports with some name X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: oleg.ginzburg@nevosoft.ru List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 06:48:08 -0000 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 =2E.. (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 in /var/db/pkg ... - 718 packages fo= und=20 (-1 +1) (...). done] deco-3.9_4 deco-1.6 pkg_delete -f deco-3.9\* =2E. 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 : > > > 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 =A0it 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. =A0Text-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 requir= ed > > > 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 resul= ts > > > 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-unsubscribe@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 > > [root@oleg lftp]# lftp > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/Latest/ > cd ok, cwd=3D/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.t= bz > > - 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 syst= em > ;) > > > Chris > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"