From owner-freebsd-perl@FreeBSD.ORG Fri Apr 7 10:24:51 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 2737F16A400 for ; Fri, 7 Apr 2006 10:24:51 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7072643D46 for ; Fri, 7 Apr 2006 10:24:49 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [172.16.3.238] (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.13.6/8.13.6) with ESMTP id k37AOcTK036915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Apr 2006 11:24:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <44363DE0.2010507@infracaninophile.co.uk> Date: Fri, 07 Apr 2006 11:24:32 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5 (X11/20060401) MIME-Version: 1.0 To: Anton Berezin References: <442ED357.1060508@infracaninophile.co.uk> <20060407081947.GB54099@heechee.tobez.org> In-Reply-To: <20060407081947.GB54099@heechee.tobez.org> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigD50C4BA4E464052FD7A26DFB" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [81.187.76.162]); Fri, 07 Apr 2006 11:24:39 +0100 (BST) X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on happy-idiot-talk.infracaninophile.co.uk 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 10:24:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD50C4BA4E464052FD7A26DFB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Anton Berezin wrote: > On Sat, Apr 01, 2006 at 08:24:07PM +0100, Matthew Seaman wrote: >=20 >> There is a little problem with the recently committed security/p5-GSSA= PI 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 Make= file.PL' >> stage. >> >> I've found two solutions that will enable p5-GSSAPI to install, and th= at >> 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}= world >> cycle. >> >> I suggest something like this in the port Makefile: >> >> happy-idiot-talk:...ports/security/p5-GSSAPI:% diff -u Makefile.orig M= akefile >> --- Makefile.orig Tue Mar 28 10:57:33 2006 >> +++ Makefile Sat Apr 1 20:21:54 2006 >> @@ -24,6 +24,10 @@ >> =20 >> .include >> =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/p= erl5.8 and try again >> .endif >> >> which should deal fairly neatly with either of the ways you can instal= l >> Kerberos5 stuff on 4.x >=20 > Hmm. Could you explain how the suggested LIB_DEPENDS will help without= > MAKE_KERBEROS5=3Dyes? The security/krb5 port does not seem to install > libgssapi library, installing libgssapi_krb5 instead. >=20 > \Anton. Hmmm... you're right. However I did establish by experiment that install= ing security/krb5 is enough to let p5-GSSAPI compile and install. Perhaps th= e LIB_DEPENDS line should read: LIB_DEPENDS+=3D krb5:${PORTSDIR}/security/krb5 instead. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enigD50C4BA4E464052FD7A26DFB 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.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFENj3m8Mjk52CukIwRAxjnAKCH9E9TPgx5lOPKx4thfiQSO/YKoACghQzl YjHA1/1nfjUEsRIxhcDS3EA= =tCjz -----END PGP SIGNATURE----- --------------enigD50C4BA4E464052FD7A26DFB--