pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/44597 (add native Kerberos support on Solaris)



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

From: Tim Zingelman <tez%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/44597 (add native Kerberos support on Solaris)
Date: Mon, 29 Aug 2011 18:05:44 -0500

 Sorry for the delay in getting to look at this... I had hoped someone
 else might comment on my questioning of the direction to proceed...
 
 I think the following difference (against HEAD) may do what you would
 like.  Note that your patch to the RE in builtin.mk is needed and not
 yet committed.
 
 Index: buildlink3.mk
 ===================================================================
 RCS file: /usr/cvs/pkgsrc/security/mit-krb5/buildlink3.mk,v
 retrieving revision 1.12
 diff -u -r1.12 buildlink3.mk
 --- buildlink3.mk       8 Jul 2011 09:59:28 -0000       1.12
 +++ buildlink3.mk       29 Aug 2011 23:03:34 -0000
 @@ -5,9 +5,16 @@
  .if !defined(MIT_KRB5_BUILDLINK3_MK)
  MIT_KRB5_BUILDLINK3_MK:=
 
 +.include "builtin.mk"
 +
 +.if !empty(PREFER.mit-krb5:Mnative)
 +BUILDLINK_API_DEPENDS.mit-krb5+=       mit-krb5>=1.4
 +BUILDLINK_ABI_DEPENDS.mit-krb5+=       mit-krb5>=1.4
 +.else
  BUILDLINK_API_DEPENDS.mit-krb5+=       mit-krb5>=1.8
  BUILDLINK_ABI_DEPENDS.mit-krb5+=       mit-krb5>=1.8
  BUILDLINK_PKGSRCDIR.mit-krb5?=         ../../security/mit-krb5
 +.endif # PREFER.mit-krb5=native
  .endif # MIT_KRB5_BUILDLINK3_MK
 
  BUILDLINK_TREE+=       -mit-krb5
 Index: builtin.mk
 ===================================================================
 RCS file: /usr/cvs/pkgsrc/security/mit-krb5/builtin.mk,v
 retrieving revision 1.7
 diff -u -r1.7 builtin.mk
 --- builtin.mk  8 Apr 2011 17:30:35 -0000       1.7
 +++ builtin.mk  29 Aug 2011 22:57:58 -0000
 @@ -39,7 +39,7 @@
      !empty(IS_BUILTIN.mit-krb5:M[yY][eE][sS])
  .  if empty(SH_KRB5_CONFIG:M__nonexistent__)
  BUILTIN_VERSION.mit-krb5!=     ${SH_KRB5_CONFIG} --version | \
 -                               ${SED} -e 's/.*release //' -e 's/-.*//'
 +                               ${SED} -e 's/.*release \([0-9\.]*\).*/\1/'
  .  endif
  BUILTIN_VERSION.mit-krb5?=     1.4.0
  BUILTIN_PKG.mit-krb5=          mit-krb5-${BUILTIN_VERSION.mit-krb5}
 
 Also if this works, we'll need to add:
 BUILDLINK_API_DEPENDS.mit-krb5+=mit-krb5>=1.8 to
 security/mit-krb5-appl/Makefile
 


Home | Main Index | Thread Index | Old Index