pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Packages that use Kerberos are automatically catego...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e477830e03d
branches:  trunk
changeset: 466625:7e477830e03d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 21 13:09:31 2004 +0000

description:
Packages that use Kerberos are automatically categorized as restricted
packages.

diffstat:

 mk/krb5.buildlink3.mk |  17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r b48bbb30716b -r 7e477830e03d mk/krb5.buildlink3.mk
--- a/mk/krb5.buildlink3.mk     Wed Jan 21 12:40:17 2004 +0000
+++ b/mk/krb5.buildlink3.mk     Wed Jan 21 13:09:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: krb5.buildlink3.mk,v 1.2 2004/01/10 19:50:57 jlam Exp $
+# $NetBSD: krb5.buildlink3.mk,v 1.3 2004/01/21 13:09:31 jlam Exp $
 #
 # This Makefile fragment is meant to be included by packages that
 # require a Kerberos 5 implementation.  krb5.buildlink3.mk will:
@@ -81,12 +81,19 @@
 
 .  if ${KRB5_TYPE} == "none"
 PKG_FAIL_REASON=       "No acceptable Kerberos 5 implementation found."
-.  elif ${KRB5_TYPE} == "heimdal"
+.  else
+#
+# Packages that use Kerberos are automatically categorized as restricted
+# packages.
+#
+RESTRICTED?=   uses Kerberos encryption code
+.    if ${KRB5_TYPE} == "heimdal"
 KRB5BASE=      ${BUILDLINK_PREFIX.heimdal}
-.    include "../../security/heimdal/buildlink3.mk"
-.  elif ${KRB5_TYPE} == "mit-krb5"
+.      include "../../security/heimdal/buildlink3.mk"
+.    elif ${KRB5_TYPE} == "mit-krb5"
 KRB5BASE=      ${BUILDLINK_PREFIX.mit-krb5}
-.    include "../../security/mit-krb5/buildlink3.mk"
+.      include "../../security/mit-krb5/buildlink3.mk"
+.    endif
 .  endif
 BUILD_DEFS+=   KRB5BASE
 



Home | Main Index | Thread Index | Old Index