pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/heimdal



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Dec 31 02:53:57 UTC 2024

Modified Files:
        pkgsrc/security/heimdal: builtin.mk
Added Files:
        pkgsrc/security/heimdal/files: heimdal-gssapi.pc.in
            heimdal-kadm-client.pc.in heimdal-kadm-server.pc.in
            heimdal-krb5.pc.in

Log Message:
heimdal: NetBSD heimdal doesn't install pkgconfig files so fake some
in builtin.mk for packages that expect them.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/heimdal/builtin.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/security/heimdal/files/heimdal-gssapi.pc.in \
    pkgsrc/security/heimdal/files/heimdal-kadm-client.pc.in \
    pkgsrc/security/heimdal/files/heimdal-kadm-server.pc.in \
    pkgsrc/security/heimdal/files/heimdal-krb5.pc.in

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

Modified files:

Index: pkgsrc/security/heimdal/builtin.mk
diff -u pkgsrc/security/heimdal/builtin.mk:1.21 pkgsrc/security/heimdal/builtin.mk:1.22
--- pkgsrc/security/heimdal/builtin.mk:1.21     Thu Aug  8 08:27:53 2024
+++ pkgsrc/security/heimdal/builtin.mk  Tue Dec 31 02:53:56 2024
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.21 2024/08/08 08:27:53 wiz Exp $
+# $NetBSD: builtin.mk,v 1.22 2024/12/31 02:53:56 markd Exp $
 
 BUILTIN_PKG:=  heimdal
 
@@ -97,6 +97,33 @@ MAKE_ENV+=   KRB5_CONFIG=${KRB5_CONFIG:Q}
 .  endif
 
 .  if ${USE_BUILTIN.heimdal:tl} == yes
+BUILDLINK_TARGETS+=    fake-heimdal-gssapi-pc
+
+.PHONY:        fake-heimdal-gssapi-pc
+fake-heimdal-gssapi-pc:
+       ${RUN}  \
+        for ff in heimdal-gssapi heimdal-krb5 heimdal-kadm-client heimdal-kadm-server; do\
+       sedsrc=../../security/heimdal/files/$${ff}.pc.in;               \
+       src=${BUILDLINK_PREFIX.heimdal:Q}/lib${LIBABISUFFIX}/pkgconfig/$${ff}.pc;\
+       dst=${BUILDLINK_DIR}/lib/pkgconfig/$${ff}.pc;                   \
+       ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig;\
+       if [ ! -f $${dst} ]; then       \
+               if [ -f $${src} ]; then \
+                       ${ECHO_BUILDLINK_MSG} "Symlinking $${src}";     \
+                       ${LN} -sf $${src} $${dst};                      \
+               else    \
+                       ${ECHO_BUILDLINK_MSG} "Creating $${dst}";       \
+                       ${SED}  -e s,@prefix@,${BUILDLINK_PREFIX.heimdal:Q},\
+                                       -e s,@exec_prefix@,${BUILDLINK_PREFIX.heimdal:Q},\
+                                       -e s,@libdir@,${BUILDLINK_PREFIX.heimdal:Q}/lib${LIBABISUFFIX},\
+                                       -e s,@VERSION@,${BUILTIN_VERSION.heimdal},\
+                                       -e s,@includedir@,${BUILDLINK_PREFIX.heimdal:Q}/include,\
+                                       -e s,@sharedlibdir@,${BUILDLINK_PREFIX.heimdal:Q}/lib,\
+                               $${sedsrc} > $${dst};                   \
+               fi      \
+       fi;     \
+       done
+
 .    if !empty(SH_KRB5_CONFIG:M__nonexistent__)
 BUILDLINK_TARGETS+=    fake-krb5-config
 

Added files:

Index: pkgsrc/security/heimdal/files/heimdal-gssapi.pc.in
diff -u /dev/null pkgsrc/security/heimdal/files/heimdal-gssapi.pc.in:1.1
--- /dev/null   Tue Dec 31 02:53:57 2024
+++ pkgsrc/security/heimdal/files/heimdal-gssapi.pc.in  Tue Dec 31 02:53:56 2024
@@ -0,0 +1,14 @@
+# Id
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=@libdir@
+includedir=@includedir@
+
+Name: heimdal-gssapi
+Description: Heimdal is an implementation of Kerberos 5, freely available under a three clause BSD style license.
+Version: @VERSION@
+URL: http://www.pdc.kth.se/heimdal/
+Requires.private: heimdal-krb5
+Libs: -L${libdir} -lgssapi
+Libs.private: -lheimntlm -lcrypt
+Cflags: -I${includedir}
Index: pkgsrc/security/heimdal/files/heimdal-kadm-client.pc.in
diff -u /dev/null pkgsrc/security/heimdal/files/heimdal-kadm-client.pc.in:1.1
--- /dev/null   Tue Dec 31 02:53:57 2024
+++ pkgsrc/security/heimdal/files/heimdal-kadm-client.pc.in     Tue Dec 31 02:53:56 2024
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: heimdal-kadm-client
+Description: Kadmin client library.
+Version: @VERSION@
+Requires.private: heimdal-gssapi
+Libs: -L${libdir} -lkadm5clnt
+Cflags: -I${includedir}
Index: pkgsrc/security/heimdal/files/heimdal-kadm-server.pc.in
diff -u /dev/null pkgsrc/security/heimdal/files/heimdal-kadm-server.pc.in:1.1
--- /dev/null   Tue Dec 31 02:53:57 2024
+++ pkgsrc/security/heimdal/files/heimdal-kadm-server.pc.in     Tue Dec 31 02:53:56 2024
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: heimdal-kadm-server
+Description: Kadmin server library.
+Version: @VERSION@
+Requires.private: heimdal-gssapi
+Libs: -L${libdir} -lkadm5srv
+Libs.private: 
+Cflags: -I${includedir}
Index: pkgsrc/security/heimdal/files/heimdal-krb5.pc.in
diff -u /dev/null pkgsrc/security/heimdal/files/heimdal-krb5.pc.in:1.1
--- /dev/null   Tue Dec 31 02:53:57 2024
+++ pkgsrc/security/heimdal/files/heimdal-krb5.pc.in    Tue Dec 31 02:53:56 2024
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+vendor=Heimdal
+
+Name: heimdal-krb5
+Description: Heimdal implementation of the Kerberos network authentication.
+Version: @VERSION@
+Libs: -L${libdir} -lkrb5
+Libs.private: -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt
+Cflags: -I${includedir}



Home | Main Index | Thread Index | Old Index