From owner-freebsd-ports@FreeBSD.ORG Tue Jul 22 14:00:25 2008 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 CAC8C1065690 for ; Tue, 22 Jul 2008 14:00:25 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 543318FC19 for ; Tue, 22 Jul 2008 14:00:24 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KLIPb-0005Tc-Sy for freebsd-ports@freebsd.org; Tue, 22 Jul 2008 14:00:19 +0000 Received: from utwig.xim.bz ([195.184.197.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jul 2008 14:00:19 +0000 Received: from c.kworr by utwig.xim.bz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jul 2008 14:00:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Volodymyr Kostyrko Date: Tue, 22 Jul 2008 17:00:09 +0300 Lines: 119 Message-ID: References: <200807220522.55840.david@vizion2000.net> <200807220636.08131.david@vizion2000.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: utwig.xim.bz User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.16) Gecko/20080718 SeaMonkey/1.1.11 In-Reply-To: <200807220636.08131.david@vizion2000.net> Sender: news Subject: Re: Managing bsdpan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 14:00:26 -0000 David Southwell wrote: > On Tuesday 22 July 2008 05:42:05 Volodymyr Kostyrko wrote: >> David Southwell wrote: >>> The following portsupgrade reports for bsdpan lead me to ask a few >>> trivial questions and suggestions (see below) >>> >>> 1. why are some packages listed in the format: >>> - isc/p5-Array-Compare (bsdpan-Array-Compare-1.15) >>> rather than: >>> - (bsdpan-libwww-perl-5.813) >> Ports tree contains the port for the given package and knows its correct >> name. >> >>> Is this indicative of an inconsistency in my system administration or >>> inconsistencies between package make files? >> Maybe. > to which option does your maybe apply?? I just don't know why in your example bsdpan-libwww-perl-5.813 wasn't mapped to www/p5-libwww and so on. >>> 2. There is another question on similar lines because some packages >>> helpfully show the hierarchy in the ports tree etc: >>> devel/*** >>> rather than simply >>> *** >> Why 'devel/'? There's no confidence that thees packages have their >> corresponding ports. > > I do not think you read carefully. > Some packages are reported for example as: > - devel/p5-Devel-Symdump (bsdpan-Devel-Symdump-2.08) > others as > - (bsdpan-DB_File-1.817) > > In other words some show the BSDPAN package location in the port hierarchy > others do not. The former method seems more useful. There's some misunderstanding here... Packages are not ports. In your example we have ' - [] ()' syntax, but this doesn't state that any installs . Just try it yourself - the package name when build from the ports would be 'p5-Devel-Symdump-2.0800'. This explicitly states that your installed package wasn't built from ports, but have a proper port to be installed/upgraded/replaced with. As for other lines ports system fail to identify corresponding ports. >> Please note that bsdpan-* is not a port name or part of it. It's the >> name of installed package. >> > I do not agree. BSDPAN is the name that is used by and referred to in freebsd > documentation as the system by which cpan ports are incorporated into the > frebsd ports tree. The package are the ports. bsdpan is not the name of a > port. *Curios*. Citacion needed. Quick search through the handbook gives me nothing on 'bsdpan' at all. There's nothing on official site either except: "BSDPAN, a collection of modules that provides tighter integration of Perl into the FreeBSD Ports Collection, has been added." in 5.0 relnotes. Again packages are not ports, they are really different beasts. >>> 3. In regard to bsdpan apropos generates: >>> # apropos bsdpan >>> bsdpan: nothing appropriate >>> # >> True. Perl packages installed directly from bsdpan or from tarballs >> automatically do create corresponding package entry in '/var/db/pkg'. >> How kind of them, really. >> >>> 4. A search on freebsd website under bsdpan brings reference to the >>> inclusion of bsdpan in the ports distribution but not to any >>> documentation on its use. > > I think I have not explained clearly. I did not mean how to use the individual > port but how to manage perl ports that are installed via BSDPAN. For example > the appropriateness of "holding" packages. Human cause. If someone uses this package personally. Any software which comes from ports do have complete dependency tree in ports also so none of that packages are actually needed. Or in case some packages from ports were installed after having these ones installed from CPAN you can safely delete them and use 'pkgdb -F' to correct any dependency errors found. Just in case. Some software do have a weird preference to interfere with package building. This means webmin changing rc.d scripts for installed packages. This means web hosting software trying to move in packages users requested. This means other web hosting software trying to support it's own pile of binaries. In this cases you should be aware of such things and count yourself as their personal user. >> I'm not a perl junkie. Try hitting CPAN instead. >> >>> 5. # locate bsdpan brings a list of bsdpan packages in /var/db/pkg but no >>> other files documentation etc. >> True. See 3. >> >>> 7 If something does exist could it be incorporated into the ports tree >>> e.g ports/BSDPAN_README for holding general guidelines about using the >>> BSDPAN and covering such issues as advice about holding packages etc. >> Not by me, really. Try to invetigate this and write it down then propose >> it for inclusion. >> >>> 9. Would not a current index of BSDPAN ports e.g ports/BSDPAN_INDEX >>> including a short description also be useful? >> Reply hazy. Ports ain't really the correct place for this staff. Try >> hitting CPAN. > > freebsd ports may not have an equivalent for all items listed in cpan. I am > thinking of simply an index which list the bsdpan path/portname showing the > equivalent cpan port names & versions, This file could be updated whenever a > bsdpan port is committed and maintained in the same way as ports/ UPDATING. I think this way we result in local equivalent of 'grep "^p5-" /usr/ports/INDEX-*' -- Sphinx of black quartz judge my vow.