Summary: | net-fs/samba-4.1.17 fails to build with gnutls-3.4.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | [OLD] Unspecified | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | conikost |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 546124 | ||
Attachments: | samba-4.1.18.diff |
Description
Patrick Lauer
2015-04-10 07:34:51 UTC
hit this too -> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/samba.html Fix some code when building with gnutls-3.4 and later: > sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tls->session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \ > -e '/cert_type_priority/d' \ > -i source4/lib/tls/tls.c && > sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tlss->tls_session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \ > -e '/t cert_type_priority/ s:^:/*:' \ > -e '/t cert_type_priority/{n;N;N;N;s:$:*/:}' \ > -i source4/lib/tls/tls_tstream.c Maybe this works? I haven't tested.. Created attachment 405422 [details, diff] samba-4.1.18.diff (In reply to Conrad Kostecki from comment #2) > -> http://www.linuxfromscratch.org/blfs/view/svn/basicnet/samba.html > > Fix some code when building with gnutls-3.4 and later: > > > sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tls->session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \ > > -e '/cert_type_priority/d' \ > > -i source4/lib/tls/tls.c && > > sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tlss->tls_session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \ > > -e '/t cert_type_priority/ s:^:/*:' \ > > -e '/t cert_type_priority/{n;N;N;N;s:$:*/:}' \ > > -i source4/lib/tls/tls_tstream.c > > Maybe this works? I haven't tested.. Works for me. Samba 4.1.18 is able to compile with gnutls 3.4.x Samba 4.1.19 is out! o Evangelos Foutras <evangelos@foutrelis.com> * BUG 8780: s4:lib/tls: Fix build with gnutls 3.4. Fixed with samba-4.1.19 |