pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-krb5



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Oct 14 01:05:49 UTC 2023

Modified Files:
        pkgsrc/security/py-krb5: Makefile PLIST

Log Message:
py-krb5: fix PLIST when mit-krb5 used.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/py-krb5/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/py-krb5/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-krb5/Makefile
diff -u pkgsrc/security/py-krb5/Makefile:1.2 pkgsrc/security/py-krb5/Makefile:1.3
--- pkgsrc/security/py-krb5/Makefile:1.2        Tue Aug 29 06:17:45 2023
+++ pkgsrc/security/py-krb5/Makefile    Sat Oct 14 01:05:48 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/08/29 06:17:45 adam Exp $
+# $NetBSD: Makefile,v 1.3 2023/10/14 01:05:48 markd Exp $
 
 DISTNAME=      krb5-0.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,13 +14,21 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-cython>=0.
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+PLIST_VARS+=   mitkrb heimdal
+
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Darwin"
 # On Darwin, use Heimdal.framework
 MAKE_ENV+=     KRB5_KRB5CONFIG=/usr/bin/krb5-config
+PLIST.heimdal= yes
 .else
 MAKE_ENV+=     KRB5_KRB5CONFIG=${KRB5BASE}/bin/krb5-config
 .  include "../../mk/krb5.buildlink3.mk"
+.  if ${KRB5_TYPE} == "mit-krb5" 
+PLIST.mitkrb=  yes 
+.  else
+PLIST.heimdal= yes
+.  endif
 .endif
 
 .include "../../lang/python/egg.mk"

Index: pkgsrc/security/py-krb5/PLIST
diff -u pkgsrc/security/py-krb5/PLIST:1.1 pkgsrc/security/py-krb5/PLIST:1.2
--- pkgsrc/security/py-krb5/PLIST:1.1   Thu Aug  3 08:13:30 2023
+++ pkgsrc/security/py-krb5/PLIST       Sat Oct 14 01:05:48 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/08/03 08:13:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/10/14 01:05:48 markd Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,6 +11,7 @@ ${PYSITELIB}/krb5/_ccache.so
 ${PYSITELIB}/krb5/_ccache_match.pyi
 ${PYSITELIB}/krb5/_ccache_match.so
 ${PYSITELIB}/krb5/_ccache_mit.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_ccache_mit.so
 ${PYSITELIB}/krb5/_ccache_support_switch.pyi
 ${PYSITELIB}/krb5/_ccache_support_switch.so
 ${PYSITELIB}/krb5/_cccol.pyi
@@ -18,14 +19,17 @@ ${PYSITELIB}/krb5/_cccol.so
 ${PYSITELIB}/krb5/_context.pyi
 ${PYSITELIB}/krb5/_context.so
 ${PYSITELIB}/krb5/_context_mit.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_context_mit.so
 ${PYSITELIB}/krb5/_creds.pyi
 ${PYSITELIB}/krb5/_creds.so
 ${PYSITELIB}/krb5/_creds_opt.pyi
 ${PYSITELIB}/krb5/_creds_opt.so
 ${PYSITELIB}/krb5/_creds_opt_heimdal.pyi
-${PYSITELIB}/krb5/_creds_opt_heimdal.so
+${PLIST.heimdal}${PYSITELIB}/krb5/_creds_opt_heimdal.so
 ${PYSITELIB}/krb5/_creds_opt_mit.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_creds_opt_mit.so
 ${PYSITELIB}/krb5/_creds_opt_set_in_ccache.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_creds_opt_set_in_ccache.so
 ${PYSITELIB}/krb5/_creds_opt_set_pac_request.pyi
 ${PYSITELIB}/krb5/_creds_opt_set_pac_request.so
 ${PYSITELIB}/krb5/_exceptions.pyi
@@ -37,14 +41,16 @@ ${PYSITELIB}/krb5/_kt.so
 ${PYSITELIB}/krb5/_kt_have_content.pyi
 ${PYSITELIB}/krb5/_kt_have_content.so
 ${PYSITELIB}/krb5/_kt_heimdal.pyi
-${PYSITELIB}/krb5/_kt_heimdal.so
+${PLIST.heimdal}${PYSITELIB}/krb5/_kt_heimdal.so
 ${PYSITELIB}/krb5/_kt_mit.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_kt_mit.so
 ${PYSITELIB}/krb5/_principal.pyi
 ${PYSITELIB}/krb5/_principal.so
 ${PYSITELIB}/krb5/_principal_heimdal.pyi
-${PYSITELIB}/krb5/_principal_heimdal.so
+${PLIST.heimdal}${PYSITELIB}/krb5/_principal_heimdal.so
 ${PYSITELIB}/krb5/_string.pyi
 ${PYSITELIB}/krb5/_string.so
 ${PYSITELIB}/krb5/_string_mit.pyi
+${PLIST.mitkrb}${PYSITELIB}/krb5/_string_mit.so
 ${PYSITELIB}/krb5/py.typed
 ${PYSITELIB}/krb5/python_krb5.h



Home | Main Index | Thread Index | Old Index