Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491846 - net-libs/c-client-2007f - add app-crypt/heimdal support
Summary: net-libs/c-client-2007f - add app-crypt/heimdal support
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://git.disconnected-by-peer.at/db...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-11-21 08:57 UTC by Mario Fetka (geos_one)
Modified: 2020-11-03 21:45 UTC (History)
3 users (show)

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


Attachments
c-client-2007e-heimdal.patch (c-client-2007e-heimdal.patch,1.06 KB, patch)
2013-11-21 17:43 UTC, Mario Fetka (geos_one)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Fetka (geos_one) 2013-11-21 08:57:55 UTC
c-client specially force the mit-krb5 but it also works with heimdal by applying a patch

at the lin k above you will see the neede changes

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-21 16:56:01 UTC
--- c-client-2007f-r4.ebuild    2013-01-02 12:00:22.451747673 +0100
+++ -   2013-11-21 17:55:40.737346497 +0100
@@ -23,7 +23,7 @@
 
 RDEPEND="ssl? ( dev-libs/openssl )
        !net-mail/uw-imap
-       kerberos? ( app-crypt/mit-krb5 )"
+       kerberos? ( virtual/krb5 )"
 DEPEND="${RDEPEND}
        kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )"
 
@@ -59,6 +59,11 @@
        # This was previously conditional, but is more widely useful.
        epatch "${FILESDIR}"/${PN}-2006k_GENTOO_amd64-so-fix.patch
 
+       # heimdal
+       if has_version app-crypt/heimdal ; then
+               epatch "${FILESDIR}"/${PN}-2007e-heimdal.patch
+       fi
+
        # Remove the pesky checks about SSL stuff
        sed -e '/read.*exit/d' -i Makefile || die
 
@@ -85,9 +90,14 @@
        elif use kernel_FreeBSD ; then
                target=bsf passwdtype=pam
        fi
-       use kerberos \
-               && mymake="EXTRAAUTHENTICATORS=gss" \
-               && EXTRALIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" \
+       if use kerberos ; then
+               mymake="EXTRAAUTHENTICATORS=gss"
+               if has_version app-crypt/heimdal ; then
+                       EXTRALIBS="-lgssapi -lkrb5 -lhcrypto -lcom_err"
+               else
+                       EXTRALIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
+               fi
+       fi
        # no parallel builds supported!
        emake -j1 SSLTYPE=${ssltype} $target \
                PASSWDTYPE=${passwdtype} ${ipver} ${mymake} \
Comment 2 Mario Fetka (geos_one) 2013-11-21 17:43:05 UTC
Created attachment 363738 [details, diff]
c-client-2007e-heimdal.patch

and the patch
Comment 3 Jonas Stein gentoo-dev 2020-04-26 14:22:49 UTC
Hi Jeroen,
the package has no maintainer. Simply apply your patch.