Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 17:30:37 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Danny <nocmonkey@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: How to check if one can install Net::LDAP via the ports
Message-ID:  <20041104173037.GA7719@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <addc34c6041104091148e5ea2@mail.gmail.com>
References:  <addc34c6041104091148e5ea2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<mumble>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041104173037.GA7719>