Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673076 - net-analyzer/wireshark - revisit USE=kerberos USE=ssl
Summary: net-analyzer/wireshark - revisit USE=kerberos USE=ssl
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-13 16:25 UTC by Jeroen Roovers (RETIRED)
Modified: 2023-01-13 13:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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