24 # |
24 # |
25 BUILD_BITS= 64_and_32 |
25 BUILD_BITS= 64_and_32 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= gnutls |
28 COMPONENT_NAME= gnutls |
29 COMPONENT_VERSION= 3.4.15 |
29 COMPONENT_VERSION= 3.5.10 |
30 COMPONENT_PROJECT_URL= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4 |
30 COMPONENT_PROJECT_URL= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5 |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
32 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:eb2a013905f5f2a0cbf7bcc1d20c85a50065063ee87bd33b496c4e19815e3498 |
33 sha256:af443e86ba538d4d3e37c4732c00101a492fe4b56a55f4112ff0ab39dbe6579d |
34 COMPONENT_ARCHIVE_URL= ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/$(COMPONENT_ARCHIVE) |
34 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE) |
35 COMPONENT_BUGDB= library/gnutls |
35 COMPONENT_BUGDB= library/gnutls |
36 COMPONENT_ANITYA_ID= 1221 |
36 COMPONENT_ANITYA_ID= 1221 |
37 |
37 |
38 TPNO= 32471 |
38 TPNO= 34108 |
39 |
39 |
40 COMPONENT_BUILD_TARGETS = all info |
40 COMPONENT_BUILD_TARGETS = all info |
41 |
41 |
42 # The GnuTLS API and ABI have incompatible changes between versions 2.8.6 |
42 # The GnuTLS API and ABI have incompatible changes between versions 2.8.6 |
43 # and 3.4.1; but the basic symlink name 'libgnutls.so' and pkg-config file |
43 # and 3.4.1; but the basic symlink name 'libgnutls.so' and pkg-config file |
70 CFLAGS += -I$(USRINCDIR)/idn |
70 CFLAGS += -I$(USRINCDIR)/idn |
71 |
71 |
72 # Force libtool to pass this flag through using -Wc. |
72 # Force libtool to pass this flag through using -Wc. |
73 # https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html |
73 # https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html |
74 CXXFLAGS.studio += -Wc,$(studio_NORUNPATH) |
74 CXXFLAGS.studio += -Wc,$(studio_NORUNPATH) |
|
75 # C++ library needs to link to libCrun.so |
|
76 CXXFLAGS += -library=Crun |
75 |
77 |
76 MCS = mcs |
78 MCS = mcs |
77 STRIP = strip |
79 STRIP = strip |
78 |
80 |
79 # Set the wanboot CFLAGS as needed for the wanboot compilation |
81 # Set the wanboot CFLAGS as needed for the wanboot compilation |
194 CONFIGURE_OPTIONS.wanboot += ac_cv_func_daemon=no |
196 CONFIGURE_OPTIONS.wanboot += ac_cv_func_daemon=no |
195 CONFIGURE_OPTIONS.wanboot += ac_cv_func_dup2=no |
197 CONFIGURE_OPTIONS.wanboot += ac_cv_func_dup2=no |
196 CONFIGURE_OPTIONS.wanboot += ac_cv_func_epoll_create=no |
198 CONFIGURE_OPTIONS.wanboot += ac_cv_func_epoll_create=no |
197 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fchmod=no |
199 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fchmod=no |
198 CONFIGURE_OPTIONS.wanboot += ac_cv_func_flockfile=no |
200 CONFIGURE_OPTIONS.wanboot += ac_cv_func_flockfile=no |
|
201 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fmemopen=no |
199 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fork=no |
202 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fork=no |
200 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fstat=no |
203 CONFIGURE_OPTIONS.wanboot += ac_cv_func_fstat=no |
201 CONFIGURE_OPTIONS.wanboot += ac_cv_func_ftello=no |
204 CONFIGURE_OPTIONS.wanboot += ac_cv_func_ftello=no |
202 CONFIGURE_OPTIONS.wanboot += ac_cv_func_funlockfile=no |
205 CONFIGURE_OPTIONS.wanboot += ac_cv_func_funlockfile=no |
203 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getdelim=no |
206 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getdelim=no |
|
207 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getegid=no |
|
208 CONFIGURE_OPTIONS.wanboot += ac_cv_func_geteuid=no |
|
209 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getgid=no |
204 CONFIGURE_OPTIONS.wanboot += ac_cv_func_gethostbyname=no |
210 CONFIGURE_OPTIONS.wanboot += ac_cv_func_gethostbyname=no |
205 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getline=no |
211 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getline=no |
206 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpagesize=no |
212 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpagesize=no |
207 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpass=no |
213 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpass=no |
208 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpid=no |
214 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpid=no |
209 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpwuid_r=no |
215 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getpwuid_r=no |
210 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getrusage=no |
216 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getrusage=no |
211 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getservbyname=no |
217 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getservbyname=no |
|
218 CONFIGURE_OPTIONS.wanboot += ac_cv_func_getuid=no |
212 CONFIGURE_OPTIONS.wanboot += ac_cv_func_iconv=no |
219 CONFIGURE_OPTIONS.wanboot += ac_cv_func_iconv=no |
213 CONFIGURE_OPTIONS.wanboot += am_cv_func_iconv=no |
220 CONFIGURE_OPTIONS.wanboot += am_cv_func_iconv=no |
214 CONFIGURE_OPTIONS.wanboot += ac_cv_func_inet_ntop=no |
221 CONFIGURE_OPTIONS.wanboot += ac_cv_func_inet_ntop=no |
215 CONFIGURE_OPTIONS.wanboot += ac_cv_func_inet_pton=no |
222 CONFIGURE_OPTIONS.wanboot += ac_cv_func_inet_pton=no |
216 CONFIGURE_OPTIONS.wanboot += ac_cv_func_issetugid=no |
223 CONFIGURE_OPTIONS.wanboot += ac_cv_func_issetugid=no |
234 CONFIGURE_OPTIONS.wanboot += ac_cv_func_select=no |
241 CONFIGURE_OPTIONS.wanboot += ac_cv_func_select=no |
235 CONFIGURE_OPTIONS.wanboot += ac_cv_func_setdtablesize=no |
242 CONFIGURE_OPTIONS.wanboot += ac_cv_func_setdtablesize=no |
236 CONFIGURE_OPTIONS.wanboot += ac_cv_func_setenv=no |
243 CONFIGURE_OPTIONS.wanboot += ac_cv_func_setenv=no |
237 CONFIGURE_OPTIONS.wanboot += ac_cv_func_shutdown=no |
244 CONFIGURE_OPTIONS.wanboot += ac_cv_func_shutdown=no |
238 CONFIGURE_OPTIONS.wanboot += ac_cv_func_socket=no |
245 CONFIGURE_OPTIONS.wanboot += ac_cv_func_socket=no |
|
246 CONFIGURE_OPTIONS.wanboot += ac_cv_func_stat=no |
239 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strerror_r=no |
247 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strerror_r=no |
240 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strpbrk=no |
248 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strpbrk=no |
241 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strsignal=no |
249 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strsignal=no |
242 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strtok_r=no |
250 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strtok_r=no |
243 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strverscmp=no |
251 CONFIGURE_OPTIONS.wanboot += ac_cv_func_strverscmp=no |
266 CONFIGURE_OPTIONS.64 += --libexecdir=$(USRLIBDIR64)/pkgconfig/$(COMPONENT_NAME)-3/ |
274 CONFIGURE_OPTIONS.64 += --libexecdir=$(USRLIBDIR64)/pkgconfig/$(COMPONENT_NAME)-3/ |
267 CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)/$(COMPONENT_NAME)-3/ |
275 CONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)/$(COMPONENT_NAME)-3/ |
268 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
276 CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
269 CONFIGURE_OPTIONS += --disable-guile |
277 CONFIGURE_OPTIONS += --disable-guile |
270 CONFIGURE_OPTIONS += --with-included-libtasn1 |
278 CONFIGURE_OPTIONS += --with-included-libtasn1 |
|
279 CONFIGURE_OPTIONS += --with-included-unistring |
271 CONFIGURE_OPTIONS += --without-p11-kit |
280 CONFIGURE_OPTIONS += --without-p11-kit |
272 CONFIGURE_OPTIONS += --disable-ecdhe |
281 CONFIGURE_OPTIONS += --disable-ecdhe |
273 CONFIGURE_OPTIONS += --disable-openssl-compatibility |
282 CONFIGURE_OPTIONS += --disable-openssl-compatibility |
274 CONFIGURE_OPTIONS += --disable-tests |
283 CONFIGURE_OPTIONS += --disable-tests |
275 |
284 |