From owner-freebsd-perl@FreeBSD.ORG Fri Apr 7 08:19:49 2006 Return-Path: X-Original-To: freebsd-perl@freebsd.org Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E208416A400 for ; Fri, 7 Apr 2006 08:19:49 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E37F43D45 for ; Fri, 7 Apr 2006 08:19:48 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 03B16125427; Fri, 7 Apr 2006 10:19:48 +0200 (CEST) Date: Fri, 7 Apr 2006 10:19:47 +0200 From: Anton Berezin To: Matthew Seaman Message-ID: <20060407081947.GB54099@heechee.tobez.org> References: <442ED357.1060508@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <442ED357.1060508@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.1i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: freebsd-perl@freebsd.org Subject: Re: security/p5-GSSAPI on FreeBSD 4.x X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 08:19:50 -0000 On Sat, Apr 01, 2006 at 08:24:07PM +0100, Matthew Seaman wrote: > 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 > > +.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 Hmm. Could you explain how the suggested LIB_DEPENDS will help without MAKE_KERBEROS5=yes? The security/krb5 port does not seem to install libgssapi library, installing libgssapi_krb5 instead. \Anton. -- An undefined problem has an infinite number of solutions. -- Robert A. Humphrey