pkgsrc-Bugs archive

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

pkg/48228: mit-krb5/ problems on solaris

>Number:         48228
>Category:       pkg
>Synopsis:       mit-krb5/ problems on solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 08:00:00 +0000 2013
>Originator:     Richard PALO
>Release:        pkgsrc trunk
SunOS x3200 5.11 illumos-gate i86pc i386 i86pc Solaris

I've noticed difficulties getting native mit-krb5 detected on the SunOS 
I'm running...

Already, by inspection there is one problem in getting the version
because of solaris putting the version indication between parens...

On this version of OI:
> richard@x3200:~/src/pkgsrc/mk$ krb5-config --version
> Solaris Kerberos (based on MIT Kerberos 5 release 1.6.3)

I believe this patch fixes that:
> richard@x3200:~/src/pkgsrc/security/mit-krb5$ git diff .
> diff --git a/security/mit-krb5/ b/security/mit-krb5/
> index c31837d..c3e754e 100644
> --- a/security/mit-krb5/
> +++ b/security/mit-krb5/
> @@ -39,7 +39,7 @@ MAKEVARS+=
>      !empty([yY][eE][sS])
>  .  if empty(SH_KRB5_CONFIG:M__nonexistent__)
>!=     ${SH_KRB5_CONFIG} --version | \
> -                               ${SED} -e 's/.*release //' -e 's/-.*//'
> +               ${SED} -e 's/.*release //' -e 's/-.*//' -e 's/).*//'
>  .  endif
>     1.4.0
>          mit-krb5-${}

But that isn't the problem...

Even though it should be on by default on SunOS, I also added 'mit-krb5' to 
PREFER_NATIVE= and even added KRB5_DEFAULT=mit-krb5


Is there a handy means to debug these scripts a bit more easily?

Is there anybody running trunk on solaris that successfully gets native 


Home | Main Index | Thread Index | Old Index