Summary: | net-libs/c-client-2007f - add app-crypt/heimdal support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mario Fetka (geos_one) <mario.fetka> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jstein, mario.fetka, net-mail+disabled |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://git.disconnected-by-peer.at/dbp/linamh/tree/net-libs/c-client | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | c-client-2007e-heimdal.patch |
Description
Mario Fetka (geos_one)
2013-11-21 08:57:55 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} \ Created attachment 363738 [details, diff]
c-client-2007e-heimdal.patch
and the patch
Hi Jeroen, the package has no maintainer. Simply apply your patch. |