security/p5-GSSAPI on FreeBSD 4.x
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Apr 1 19:24:27 UTC 2006
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 Makefile.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=yes in /etc/make.conf and do a {build,install}world
cycle.
I suggest something like this in the port Makefile:
happy-idiot-talk:...ports/security/p5-GSSAPI:% diff -u Makefile.orig Makefile
--- Makefile.orig Tue Mar 28 10:57:33 2006
+++ Makefile Sat Apr 1 20:21:54 2006
@@ -24,6 +24,10 @@
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+LIB_DEPENDS+= gssapi:${PORTSDIR}/security/krb5
+.endif
+
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20060401/98dece77/signature.pgp
More information about the freebsd-perl
mailing list