From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 17:30:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BACAF16A4CE for ; Thu, 4 Nov 2004 17:30:45 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5190D43D45 for ; Thu, 4 Nov 2004 17:30:44 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])iA4HUbFO008120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Nov 2004 17:30:37 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)iA4HUbf2008119; Thu, 4 Nov 2004 17:30:37 GMT (envelope-from matthew) Date: Thu, 4 Nov 2004 17:30:37 +0000 From: Matthew Seaman To: Danny Message-ID: <20041104173037.GA7719@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Danny , questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 04 Nov 2004 17:30:37 +0000 (GMT) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: How to check if one can install Net::LDAP via the ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 17:30:45 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 04, 2004 at 12:11:56PM -0500, Danny wrote: > I ran the following command from /usr/ports >=20 > mx1# make search key=3D"net::ldap" > Port: p5-ResourcePool-Resource-Net-LDAP-1.0002 > Path: /usr/ports/net/p5-ResourcePool-Resource-Net-LDAP > Info: A ResourcePool wrapper for Net::LDAP > Maint: erwin@FreeBSD.org > B-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 > R-deps: p5-Authen-SASL-2.07 p5-Convert-ASN1-0.18 p5-Digest-1.06 > p5-Digest-MD5-2.33 p5-IO-Socket-SSL-0.95 p5-MIME-Base64-3.01 > p5-Net-SSLeay-1.23 p5-ResourcePool-1.0103 p5-Storable-2.09 p5-URI-1.30 > p5-XML-SAX-Base-1.04 p5-perl-ldap-0.30 >=20 > But, I do not think this is what I am looking for - referencing: > http://www-personal.umich.edu/~malth/gaptuning/postfix/ >=20 > Anyway, what's the best way to search for a Perl module in the ports, > such as Net::LDAP, and if I can't find it, what would Plan B, be? The convention is that a perl module Foo::Bar when turned into a port, is called p5-Foo-Bar. This applies to the vast majority of perl module ports: however there are some, largely historical exceptions (and those usually don't obey the standard module naming conventions on CPAN either). Examples of exceptions are: www/p5-libwww, biology/p5-bioperl, p5-Nysql-modules and various other p5-lib ports. On the specific question of Net::LDAP, the port you want is one of the exceptions: net/p5-perl-ldap. I found that but doing: % make search name=3Dldap which turned up a couple of likely suspects. A quick check of the pkg-plist confirmed that it was the right module: % less /usr/ports/net/p5-perl-ldap/pkg-plist Looking at the pkg-plist and pkg-descr file is usually enough to tell you what you need to know when looking for the appropriate port. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBimc9iD657aJF7eIRAj+OAKC3nfM66eu1vnqoyeMYPN70hpS4FACZAb0q HnWQOsVoj+HS9+hksT2JM68= =H8YY -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--