From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 19 Oct 2022 07:41:43 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ol1pp-000GVk-24 for lore@lore.pengutronix.de; Wed, 19 Oct 2022 07:41:43 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ol1pl-0003Oq-4P; Wed, 19 Oct 2022 07:41:41 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ol1pI-0001TV-Kt; Wed, 19 Oct 2022 07:41:12 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ol1pH-0002w2-V5; Wed, 19 Oct 2022 07:41:11 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ol1pG-001gc7-W1; Wed, 19 Oct 2022 07:41:10 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 19 Oct 2022 07:41:10 +0200 Message-Id: <20221019054110.402092-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221004144533.2269637-2-bst@pengutronix.de> References: <20221004144533.2269637-2-bst@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] libnghttp2: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bastian Krause Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as cde9587536a2520edb12dff6ae5b125cd906ba21. Michael [sent from post-receive hook] On Wed, 19 Oct 2022 07:41:10 +0200, Bastian Krause wrote: > Signed-off-by: Bastian Krause > Message-Id: <20221004144533.2269637-2-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/libnghttp2.in b/rules/libnghttp2.in > new file mode 100644 > index 000000000000..ef5f879f21fd > --- /dev/null > +++ b/rules/libnghttp2.in > @@ -0,0 +1,8 @@ > +## SECTION=networking > + > +config LIBNGHTTP2 > + tristate > + select HOST_CMAKE > + prompt "libnghttp2" > + help > + HTTP/2 C Library and tools > diff --git a/rules/libnghttp2.make b/rules/libnghttp2.make > new file mode 100644 > index 000000000000..cde2dc5deadd > --- /dev/null > +++ b/rules/libnghttp2.make > @@ -0,0 +1,77 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2022 by Bastian Krause > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LIBNGHTTP2) += libnghttp2 > + > +# > +# Paths and names > +# > +LIBNGHTTP2_VERSION := 1.50.0 > +LIBNGHTTP2_MD5 := 4168ccacaa009665b6a7fe455842f95b > +LIBNGHTTP2 := nghttp2-$(LIBNGHTTP2_VERSION) > +LIBNGHTTP2_SUFFIX := tar.xz > +LIBNGHTTP2_URL := https://github.com/nghttp2/nghttp2/releases/download/v$(LIBNGHTTP2_VERSION)/$(LIBNGHTTP2).$(LIBNGHTTP2_SUFFIX) > +LIBNGHTTP2_SOURCE := $(SRCDIR)/$(LIBNGHTTP2).$(LIBNGHTTP2_SUFFIX) > +LIBNGHTTP2_DIR := $(BUILDDIR)/$(LIBNGHTTP2) > +LIBNGHTTP2_LICENSE := MIT > +LIBNGHTTP2_LICENSE_FILES := file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# cmake > +# > +LIBNGHTTP2_CONF_TOOL := cmake > +LIBNGHTTP2_CONF_OPT := \ > + $(CROSS_CMAKE_USR) \ > + -DENABLE_APP=OFF \ > + -DENABLE_ASIO_LIB=OFF \ > + -DENABLE_DEBUG=OFF \ > + -DENABLE_DOC=OFF \ > + -DENABLE_EXAMPLES=OFF \ > + -DENABLE_FAILMALLOC=OFF \ > + -DENABLE_HPACK_TOOLS=OFF \ > + -DENABLE_HTTP3=OFF \ > + -DENABLE_LIB_ONLY=ON \ > + -DENABLE_PYTHON_BINDINGS=OFF \ > + -DENABLE_SHARED_LIB=ON \ > + -DENABLE_STATIC_CRT=OFF \ > + -DENABLE_STATIC_LIB=OFF \ > + -DENABLE_THREADS=ON \ > + -DENABLE_WERROR=OFF \ > + -DWITH_JEMALLOC=OFF \ > + -DWITH_LIBBPF=OFF \ > + -DWITH_LIBXML2=OFF \ > + -DWITH_MRUBY=OFF \ > + -DWITH_NEVERBLEED=OFF > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libnghttp2.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libnghttp2) > + @$(call install_fixup, libnghttp2,PRIORITY,optional) > + @$(call install_fixup, libnghttp2,SECTION,base) > + @$(call install_fixup, libnghttp2,AUTHOR,"Bastian Krause ") > + @$(call install_fixup, libnghttp2,DESCRIPTION,missing) > + > + @$(call install_lib, libnghttp2, 0, 0, 0644, libnghttp2) > + > + @$(call install_finish, libnghttp2) > + > + @$(call touch) > + > +# vim: syntax=make