Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 673076

Summary: net-analyzer/wireshark - revisit USE=kerberos USE=ssl
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Sam James <sam>
Status: CONFIRMED ---    
Severity: normal CC: bman, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=213705
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeroen Roovers (RETIRED) gentoo-dev 2018-12-13 16:25:37 UTC
src_configure() {
    local mycmakeargs

    # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass
    # --with-ssl to ./configure. (Mimics code from acinclude.m4).
    if use kerberos; then
        case $(krb5-config --libs) in
            *-lcrypto*)
                ewarn "Kerberos was built with ssl support: linkage with openssl is enabled."
                ewarn "Note there are annoying license incompatibilities between the OpenSSL"
                ewarn "license and the GPL, so do your check before distributing such package."
                mycmakeargs+=( -DENABLE_GNUTLS=$(usex ssl) )
                ;;
        esac
    fi