Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Apr 2006 20:24:07 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-perl@freebsd.org
Subject:   security/p5-GSSAPI on FreeBSD 4.x
Message-ID:  <442ED357.1060508@infracaninophile.co.uk>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig48E106C7F41D92636019DEBF
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable


Dear port maintainers,

There is a little problem with the recently committed security/p5-GSSAPI =
port
on machines running FreeBSD 4.x.  By default those machines won't have
Kerberos 5 installed, so the p5-GSSAPI compile fails at the 'perl Makefil=
e.PL'
stage.

I've found two solutions that will enable p5-GSSAPI to install, and that
work at least well enough to let me get p5-Mail-SpamAssassin working.
The first is simply to install the security/krb5 port.  The second is to
define MAKE_KERBEROS5=3Dyes in /etc/make.conf and do a {build,install}wor=
ld
cycle.

I suggest something like this in the port Makefile:

happy-idiot-talk:...ports/security/p5-GSSAPI:% diff -u Makefile.orig Make=
file
--- Makefile.orig       Tue Mar 28 10:57:33 2006
+++ Makefile    Sat Apr  1 20:21:54 2006
@@ -24,6 +24,10 @@
=20
 .include <bsd.port.pre.mk>
=20
+.if ${OSVERSION} < 500000
+LIB_DEPENDS+=3D  gssapi:${PORTSDIR}/security/krb5
+.endif
+
 .if ${PERL_LEVEL} < 500600
 IGNORE=3D                requires perl 5.6.0 or later. Install lang/perl=
5.8 and try again
 .endif

which should deal fairly neatly with either of the ways you can install
Kerberos5 stuff on 4.x

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enig48E106C7F41D92636019DEBF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFELtNf8Mjk52CukIwRA5SkAJ0UcAQDpPbftLF3xup7SJCBfovUzwCfXS3Q
3XREg0+KWqFgSvBxw71UUxU=
=8bmm
-----END PGP SIGNATURE-----

--------------enig48E106C7F41D92636019DEBF--



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