Wed Dec 11 10:29:46 2013 UTC ()
The p5-GSSAPI configure script assumes that the output of the SunOS krb5-config
will produce an error message.  Since we installed a wrapper script to handle
the builtin better, there is no longer an error, so avoid that check.


(jperkin)
diff -r1.3 -r1.4 pkgsrc/security/p5-GSSAPI/distinfo
diff -r0 -r1.1 pkgsrc/security/p5-GSSAPI/patches/patch-Makefile.PL

cvs diff -r1.3 -r1.4 pkgsrc/security/p5-GSSAPI/distinfo (expand / switch to unified diff)

--- pkgsrc/security/p5-GSSAPI/distinfo 2010/07/31 11:52:29 1.3
+++ pkgsrc/security/p5-GSSAPI/distinfo 2013/12/11 10:29:45 1.4
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.3 2010/07/31 11:52:29 sno Exp $ 1$NetBSD: distinfo,v 1.4 2013/12/11 10:29:45 jperkin Exp $
2 2
3SHA1 (GSSAPI-0.28.tar.gz) = c857485532e92e266a75b56ed247284f94b2d3d4 3SHA1 (GSSAPI-0.28.tar.gz) = c857485532e92e266a75b56ed247284f94b2d3d4
4RMD160 (GSSAPI-0.28.tar.gz) = 849d01d39851ec2726559d4f2b92832758a333ad 4RMD160 (GSSAPI-0.28.tar.gz) = 849d01d39851ec2726559d4f2b92832758a333ad
5Size (GSSAPI-0.28.tar.gz) = 67915 bytes 5Size (GSSAPI-0.28.tar.gz) = 67915 bytes
 6SHA1 (patch-Makefile.PL) = 5cf70d9fd3f95f11a41db15869c9d63c1ca944d6

File Added: pkgsrc/security/p5-GSSAPI/patches/patch-Makefile.PL
$NetBSD: patch-Makefile.PL,v 1.1 2013/12/11 10:29:45 jperkin Exp $

Handle the pkgsrc krb5-config wrapper for SunOS.

--- Makefile.PL.orig	2010-04-24 12:37:38.000000000 +0000
+++ Makefile.PL
@@ -115,7 +115,7 @@ if (exists $options{gssapi_libs} || exis
     unless ($libconf) {
        die "$krb5cmd does not respond libconf!";
     } else {
-      if ($libconf =~ /Unknown/ && $implementation =~ /Solaris Kerberos/) {
+      if ($implementation =~ /Solaris Kerberos/) {
             $libconf = "-L/usr/lib -R/usr/lib -lgss";
       }
 
@@ -153,7 +153,7 @@ if (exists $options{gssapi_libs} || exis
        #
        $incconf = '-I/usr/include';
     }
-    if ($incconf =~ /Unknown/ && $implementation =~ /Solaris Kerberos/) {
+    if ($implementation =~ /Solaris Kerberos/) {
           $incconf = "-I/usr/include/kerberosv5";
           push @EXTRADEFINES,  '-DSEAM';
     }