[oi-dev] [HEADS UP] GnuTLS 3 is default gnutls version used by oi-userland
alp at rsu.ru
Thu Dec 15 09:10:59 UTC 2016
All packages, which require GnuTLS, were switched to GnuTLS 3
(library/gnutls-3). Please, check, when you submit PRs, that your
package doesn't use gnutls 2 (library/gnutls).
For configure.mk - based components you usually have to add something like
# Force use of gnutls-3 pkgconfig during 2.x->3.x transition
GNUTLS_PKG_CONFIG_PATH_32 = /usr/lib/pkgconfig/gnutls-3
GNUTLS_PKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig/gnutls-3
LD_OPTIONS.32 += -L/usr/lib/gnutls-3 -R/usr/lib/gnutls-3
LD_OPTIONS.64 += -L/usr/lib/$(MACH64)/gnutls-3 -R/usr/lib/$(MACH64)/gnutls-3
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
to component's Makefile.
Also you will usually need
CONFIGURE_ENV += LD_OPTIONS += "$(LD_OPTIONS)"
COMPONENT_TEST_ENV += LD_OPTIONS="$(LD_OPTIONS)"
First one, possibly, should be added to configure.mk...
We'll continue shipping library/gnutls at least until next snapshot.
system administrator of Southern Federal University IT department
More information about the oi-dev