[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LIBCARES PATCH 2/3] Add c-ares port Makefile.uk


  • To: "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Tue, 10 Dec 2019 23:19:57 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TlZhVVX840LU7cxQIwHgdnNOVdqvFWTu2BVnT5r60yc=; b=g4C/9U8227pfL6TsK93VL3VntEmpNevoZ41II+I9RWxQhlWkqJ/WC5C/GWdE8ZN5KCrsxZe9Zhwz74mQUDTh+q2MmePqs40riPj7FxzphbUkfkAW+6gGRkxY41DBII54GCNA4uSMGEU9JRM01mi7Ld+7oN80KjebVXpp1Wcyin2igHffenHFLKqguU21BiiMssWBRvEyZ1zQWEscVCPFHgiVmeIozI1pmSd+9ETG56oJepLCFEr1VXa3l4YXsJJPpUgeIHDjVDlIal/cIXQQj4PH5DiTWkNXwtobUVbPUGM0dFNP0uPDOLKDLxxMcX2UyKKV+thgsHeBVdAV3ygffA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7hAXw71UQE3sl51gkyphn1ESxOZ2PXo4rXB5DwYyIO8S8/m15CE01AnJL88iWMJ7DXe2Y2+4BFnJilhAPHmKUnnmBd+K+QQ/1BaG7MfD7AHA6kIoNJEkm6kyYUmZ4iYRunPustzoYqOPhhzNQn3iZksipaj0aSQgCPfr4bzSrlCmx3dwiKKN5NcmfTeyb2asc5rmOPYAeXCYzfRnb1bP6+uP/yPeQtr2MhKAGyaKe/hQsV7gtMeHMhJPM0wMign3A0s1iWZfYaOUE0JOvgDAtTdvbr++Vr2JQ+cQUvQY7S8EctgCkx4rZLfZHEsFlKnr7vti1a4OGE8jtSMPUoIug==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Delivery-date: Tue, 10 Dec 2019 23:20:01 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVrn6QdXGjP89SI0qfkHteqr5x0ae0A60A
  • Thread-topic: [Minios-devel] [UNIKRAFT/LIBCARES PATCH 2/3] Add c-ares port Makefile.uk

Thanks Felipe!

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

On 09.12.2019 12:50, Felipe Huici wrote:
> Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
> ---
>   Makefile.uk | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 125 insertions(+)
>   create mode 100644 Makefile.uk
>
> diff --git a/Makefile.uk b/Makefile.uk
> new file mode 100644
> index 0000000..8ee2375
> --- /dev/null
> +++ b/Makefile.uk
> @@ -0,0 +1,125 @@
> +#  libcares Makefile.uk
> +#
> +#  Authors: Felipe Huici <felipe.huici@xxxxxxxxx>
> +#
> +#
> +#  Copyright (c) 2019, NEC Europe Ltd., NEC Corporation. All rights reserved.
> +#
> +#  Redistribution and use in source and binary forms, with or without
> +#  modification, are permitted provided that the following conditions
> +#  are met:
> +#
> +#  1. Redistributions of source code must retain the above copyright
> +#     notice, this list of conditions and the following disclaimer.
> +#  2. Redistributions in binary form must reproduce the above copyright
> +#     notice, this list of conditions and the following disclaimer in the
> +#     documentation and/or other materials provided with the distribution.
> +#  3. Neither the name of the copyright holder nor the names of its
> +#     contributors may be used to endorse or promote products derived from
> +#     this software without specific prior written permission.
> +#
> +#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 
> IS"
> +#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
> +#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> +#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> +#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> +#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> +#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> +#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> +#  POSSIBILITY OF SUCH DAMAGE.
> +#
> +#  THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> +#
> +
> +################################################################################
> +# Library registration
> +################################################################################
> +$(eval $(call addlib_s,libcares,$(CONFIG_LIBCARES)))
> +
> +#ifeq ($(CONFIG_LIBCARES),y)
> +#ifneq ($(LWIP_IPV6),y)
> +#$(error cares requires lwip's ipv6 option to be enabled)
> +#endif
> +#endif
> +
> +################################################################################
> +# Sources
> +################################################################################
> +LIBCARES_VERSION=1.14.0
> +LIBCARES_URL=https://c-ares.haxx.se/download/c-ares-$(LIBCARES_VERSION).tar.gz
> +LIBCARES_DIR=c-ares-$(LIBCARES_VERSION)
> +
> +LIBCARES_PATCHDIR=$(LIBCARES_BASE)/patches
> +$(eval $(call fetch,libcares,$(LIBCARES_URL),$(LIBCARES_VERSION).tar.gz))
> +$(eval $(call patch,libcares,$(LIBCARES_PATCHDIR),$(LIBCARES_DIR)))
> +
> +################################################################################
> +# Helpers
> +################################################################################
> +LIBCARES=$(LIBCARES_ORIGIN)/$(LIBCARES_DIR)
> +
> +################################################################################
> +# Library includes
> +################################################################################
> +CINCLUDES-$(CONFIG_LIBCARES) += -I$(LIBCARES_BASE)/include \
> +                             -I$(LIBCARES)
> +
> +################################################################################
> +# Global flags
> +################################################################################
> +LIBCARES_CFLAGS-y += -DHAVE_CONFIG_H -DHAVE_NETINET_IN_H
> +
> +################################################################################
> +# Sources
> +################################################################################
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_mkquery.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_nowarn.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_android.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_timeout.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_ns_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_getnameinfo.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_fds.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_mx_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_free_string.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_ptr_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_llist.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares__close_sockets.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_expand_string.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_strdup.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_search.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_send.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares__timeval.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_getenv.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_writev.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_version.c
> +LIBCARES_SRCS-y += $(LIBCARES)/bitncmp.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_getopt.c
> +LIBCARES_SRCS-y += $(LIBCARES)/inet_ntop.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares__read_line.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_srv_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_strerror.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_data.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_create_query.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_getsock.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_gethostbyaddr.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_naptr_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_process.c
> +LIBCARES_SRCS-y += $(LIBCARES)/inet_net_pton.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_strcasecmp.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_free_hostent.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_cancel.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_query.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares__get_hostent.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_options.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_soa_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_a_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_destroy.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_init.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_txt_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_expand_name.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_parse_aaaa_reply.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_platform.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_gethostbyname.c
> +LIBCARES_SRCS-y += $(LIBCARES)/ares_library_init.c
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.