ports/149370: www/mod_auth_kerb2 does not build against security/krb5 and does not register port dependencies

Benjamin Lee ben at b1c1l1.com
Sat Aug 7 01:50:03 UTC 2010


The following reply was made to PR ports/149370; it has been noted by GNATS.

From: Benjamin Lee <ben at b1c1l1.com>
To: bug-followup at FreeBSD.org, ben at b1c1l1.com
Cc:  
Subject: Re: ports/149370: www/mod_auth_kerb2 does not build against security/krb5
 and does not register port dependencies
Date: Fri, 06 Aug 2010 18:42:04 -0700

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigAA238DF873B9485C35B386CD
 Content-Type: multipart/mixed;
  boundary="------------030707000005070006080009"
 
 This is a multi-part message in MIME format.
 --------------030707000005070006080009
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Please use this attached patch instead.  It properly accounts for
 KRB5_HOME and HEIMDAL_HOME being set to non-standard values.
 
 
 --=20
 Benjamin Lee
 http://www.b1c1l1.com/
 
 --------------030707000005070006080009
 Content-Type: text/plain;
  name="patch.txt"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
  filename="patch.txt"
 
 --- /usr/ports/www/mod_auth_kerb2/Makefile	2010-05-25 13:17:27.000000000 =
 -0700
 +++ Makefile	2010-08-06 18:40:59.000000000 -0700
 @@ -10,6 +10,7 @@
 =20
  PORTNAME=3D	mod_auth_kerb
  PORTVERSION=3D	5.4
 +PORTREVISION=3D	1
  CATEGORIES=3D	www
  MASTER_SITES=3D	SF/modauthkerb/${PORTNAME}/${PORTNAME}-${PORTVERSION}
  PKGNAMEPREFIX=3D	${APACHE_PKGNAMEPREFIX}
 @@ -27,14 +28,18 @@
 =20
  PORTSCOUT=3D	limit:^5.3
 =20
 -.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
 +.if defined(KRB5_HOME)
 +BUILD_DEPENDS+=3D	${KRB5_HOME}/lib/libgssapi_krb5.so:${PORTSDIR}/securit=
 y/krb5
 +RUN_DEPENDS+=3D	${KRB5_HOME}/lib/libgssapi_krb5.so:${PORTSDIR}/security/=
 krb5
  CONFIGURE_ARGS+=3D	--with-krb5=3D${KRB5_HOME} --without-krb4
 -.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
 +.elif defined(HEIMDAL_HOME)
 +BUILD_DEPENDS+=3D	${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/=
 heimdal
 +RUN_DEPENDS+=3D	${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/he=
 imdal
  CONFIGURE_ARGS+=3D	--with-krb5=3D${HEIMDAL_HOME} --without-krb4
  .elif exists(${DESTDIR}/usr/lib/libkrb5.a) && exists(${DESTDIR}/usr/bin/=
 krb5-config)
  CONFIGURE_ARGS+=3D	--with-krb5=3D${DESTDIR}/usr --without-krb4
  .else
 -LIB_DEPENDS+=3D	krb5:${PORTSDIR}/security/krb5
 +LIB_DEPENDS+=3D	gssapi_krb5:${PORTSDIR}/security/krb5
  CONFIGURE_ARGS+=3D	--with-krb5=3D${LOCALBASE} --without-krb4
  .endif
 =20
 
 --------------030707000005070006080009--
 
 --------------enigAA238DF873B9485C35B386CD
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.16 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iQIcBAEBAgAGBQJMXLnxAAoJEHBW16CPoSMC0hEQAMQjQMFXDuVE/Z9IfSSoccYn
 wjJAMBtppf7U5uDW2+BeWHRgTGcv7vw0Vo8SUGfCCKP2q0cvMfg0i8bmiIGQt4Jc
 UzzEZGwpp6VpFgIIfggE/W7m1lKX4PvR8Q6CBoeXLiOQqmbcc2qqBHHPHsfKDapu
 AWU0sY13ZcyIMuOYINbM3dRU5eDwQeH4U+9epFLDrgqfDHW57L2tjO87DAsRefFr
 NqhBtFhU+V4VjMfBUsdO83q6UZ+rgleNioM6e8rFsdSEum9Uec3PrTFtFf132eUh
 0fvMvqe7s3mtEKOl858oksEVKYcxplzm/q/Wp70q3Ahy25RBNuN0Gc6oLP0qQX08
 QqFqKPjn4tjMywgNy3NnPioAUYqgR8ig5OnoC7B4duQQXS7zlqWaRlU5R57Fg7ib
 8ZDRLUJnVs32gwj67J3gK/vYqTgjxS+w2y77Tt26sEL+Wm+8Pka0R81wBSaZ7UHx
 RLc6D90TlIajiInC3TQInypvG1bDVEBcDmK0rgbNBLyq29R3A4S/hG8kgewXQ3qO
 omJQr0RtpfDSLxxOXMUnbw0HAnlUw8xRdiqi+UjRIBGRzDqLATQogLQCIQ1Al4SN
 /43kIIs7l7LRBfzwYxh3Gqo3sW5RsYyYWuIAzKcgvCn3RR9DmcHUsvLk7oeEesGa
 vaDz90sUjZzir/Hrp4l6
 =Kz75
 -----END PGP SIGNATURE-----
 
 --------------enigAA238DF873B9485C35B386CD--


More information about the freebsd-apache mailing list