Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 73ec79432fc557a8be4f1500982b1c0f5fdf12a9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com>
|
||||
Date: Thu, 7 Nov 2019 09:58:52 +0000
|
||||
Subject: [PATCH] fetch-ocsp-response: use python3
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
Signed-off-by: André Draszik <git@andred.net>
|
||||
---
|
||||
script/fetch-ocsp-response | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/script/fetch-ocsp-response b/script/fetch-ocsp-response
|
||||
index 0ff7461..185116b 100755
|
||||
--- a/script/fetch-ocsp-response
|
||||
+++ b/script/fetch-ocsp-response
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# nghttp2 - HTTP/2 C Library
|
||||
--
|
||||
2.23.0.rc1
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "HTTP/2 C Library and tools"
|
||||
HOMEPAGE = "https://nghttp2.org/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec"
|
||||
|
||||
SRC_URI = "\
|
||||
${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz \
|
||||
file://0001-fetch-ocsp-response-use-python3.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "19490b7c8c2ded1cf7c3e3a54ef4304e3a7876ae2d950d60a81d0dc6053be419"
|
||||
|
||||
inherit cmake manpages python3native github-releases
|
||||
PACKAGECONFIG[manpages] = ""
|
||||
|
||||
# examples are never installed, and don't need to be built in the
|
||||
# first place
|
||||
EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF"
|
||||
|
||||
PACKAGES =+ "lib${BPN} ${PN}-proxy "
|
||||
|
||||
RDEPENDS:${PN} = "${PN}-proxy (>= ${PV})"
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
RDEPENDS:${PN}-proxy = "openssl python3-core python3-io python3-shell"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
FILES:${PN} = ""
|
||||
FILES:lib${BPN} = "${libdir}/*${SOLIBS}"
|
||||
FILES:${PN}-proxy = "${bindir}/nghttpx ${datadir}/${BPN}/fetch-ocsp-response"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user