pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/heimdal Back out previous and do the same thi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9c5c913bd99
branches:  trunk
changeset: 515620:f9c5c913bd99
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 05 04:39:14 2006 +0000

description:
Back out previous and do the same thing more generally for all platforms.
Since the heimdal install process will install additional headers in
${PREFIX}/include/krb5 depending on what the configure process detects,
simply query the source Makefile at install-time for the extra headers
that it will install and dynamically add them to the PLIST.

diffstat:

 security/heimdal/Makefile         |  10 +++++++++-
 security/heimdal/PLIST            |   4 +---
 security/heimdal/PLIST.Linux      |   3 ---
 security/heimdal/PLIST.SunOS      |   5 -----
 security/heimdal/distinfo         |   3 ++-
 security/heimdal/patches/patch-al |  14 ++++++++++++++
 6 files changed, 26 insertions(+), 13 deletions(-)

diffs (93 lines):

diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/Makefile
--- a/security/heimdal/Makefile Wed Jul 05 04:32:10 2006 +0000
+++ b/security/heimdal/Makefile Wed Jul 05 04:39:14 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2006/07/02 13:53:28 markd Exp $
+# $NetBSD: Makefile,v 1.61 2006/07/05 04:39:14 jlam Exp $
 
 DISTNAME=      heimdal-0.7.2
 PKGREVISION=   2
@@ -97,6 +97,14 @@
 RCD_SCRIPTS=           kadmind kcm kdc kpasswdd
 INFO_FILES=            # PLIST
 
+# Dynamically determine the "replacement" headers for things missing
+# in the base system and add them to the PLIST.
+#
+GENERATE_PLIST+=       \
+       ( cd ${WRKSRC}/lib/roken && ${MAKE_PROGRAM} print-xheaders |    \
+         ${XARGS} -n 1 | ${SED} -e "s,^,include/krb5/," );             \
+       ${ECHO} "@dirrm include/krb5";
+
 # Fix some places in the Heimdal sources that don't point to the correct
 # Kerberized binaries when exec'ing programs.
 #
diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/PLIST
--- a/security/heimdal/PLIST    Wed Jul 05 04:32:10 2006 +0000
+++ b/security/heimdal/PLIST    Wed Jul 05 04:39:14 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2006/03/30 03:44:43 jlam Exp $
+@comment $NetBSD: PLIST,v 1.11 2006/07/05 04:39:14 jlam Exp $
 bin/${KRB5_PREFIX}login
 bin/${KRB5_PREFIX}rcp
 bin/${KRB5_PREFIX}rsh
@@ -28,7 +28,6 @@
 include/krb5/com_right.h
 include/krb5/der.h
 include/krb5/editline.h
-include/krb5/fnmatch.h
 include/krb5/getarg.h
 include/krb5/gssapi.h
 include/krb5/hdb-private.h
@@ -705,4 +704,3 @@
 ${LDAP}@dirrm share/examples/heimdal
 @dirrm include/krb5/ss
 @dirrm include/krb5/kadm5
-@dirrm include/krb5
diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/PLIST.Linux
--- a/security/heimdal/PLIST.Linux      Wed Jul 05 04:32:10 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.Linux,v 1.1 2006/05/15 09:17:14 minskim Exp $
-include/krb5/glob.h
-include/krb5/vis.h
diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/PLIST.SunOS
--- a/security/heimdal/PLIST.SunOS      Wed Jul 05 04:32:10 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST.SunOS,v 1.1 2006/07/02 13:53:28 markd Exp $
-include/krb5/err.h
-include/krb5/glob.h
-include/krb5/ifaddrs.h
-include/krb5/vis.h
diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/distinfo
--- a/security/heimdal/distinfo Wed Jul 05 04:32:10 2006 +0000
+++ b/security/heimdal/distinfo Wed Jul 05 04:39:14 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.19 2006/02/07 12:20:52 lha Exp $
+$NetBSD: distinfo,v 1.20 2006/07/05 04:39:14 jlam Exp $
 
 SHA1 (heimdal-0.7.2.tar.gz) = a902e6ad7c31d940b588dc0235b348936f0d719d
 RMD160 (heimdal-0.7.2.tar.gz) = 0f028a9d5a6a66e8efc0397e4d8c8adc2183b409
 Size (heimdal-0.7.2.tar.gz) = 4525734 bytes
 SHA1 (patch-ac) = 313c0a1f91e4f9546ae906f981adae0d499dd9cf
 SHA1 (patch-ad) = a7cfc038e76f8c3da38f8eb0ee48a7f8c7a9c7df
+SHA1 (patch-al) = 6035ef920b1a005902ae021b307fc4c3efc77449
diff -r 7ac76710b84d -r f9c5c913bd99 security/heimdal/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/heimdal/patches/patch-al Wed Jul 05 04:39:14 2006 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1 2006/07/05 04:39:15 jlam Exp $
+
+--- lib/roken/Makefile.in.orig 2006-02-06 08:32:11.000000000 -0500
++++ lib/roken/Makefile.in
+@@ -1654,6 +1654,9 @@ roken.h: make-roken$(EXEEXT)
+ 
+ make-roken.c: roken.h.in roken.awk
+       $(AWK) -f $(srcdir)/roken.awk $(srcdir)/roken.h.in > make-roken.c
++
++print-xheaders:
++      @echo $(XHEADERS)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:



Home | Main Index | Thread Index | Old Index