initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
config BR2_PACKAGE_DEHYDRATED
bool "dehydrated"
depends on BR2_USE_MMU # bash
select BR2_PACKAGE_BASH
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBCURL_CURL
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL
help
Dehydrated is a client for signing certificates with an
ACME-server (e.g. Let's Encrypt) implemented as a relatively
simple (zsh-compatible) bash-script. This client supports
both ACME v1 and the new ACME v2 including support for
wildcard certificates!
To use this script in Buildroot:
- Create /etc/dehydrated/domains.txt
- Make sure that "dehydrated -c" is called regularly, e.g.
from cron.
- Make sure /etc/dehydrated is writable.
- Configure the webserver to export the WELLKNOWN directory
(/var/www/dehydrated) as /.well-known/acme-challenge
- Configure the webserver to use the certificates under
/etc/dehydrated/certs/<domain>
- Register a HOOK to reload the webserver after the
certificates have been renewed.
You probably need to install a custom /etc/dehydrated/config
with the rootfs overlay.
https://github.com/lukas2511/dehydrated
+6
View File
@@ -0,0 +1,6 @@
# Locally computed after verifying
# https://github.com/lukas2511/dehydrated/releases/download/v0.6.5/dehydrated-0.6.5.tar.gz.asc
# with key 3C2F2605E078A1E18F4793909C4DBE6CF438F333 from https://keybase.io/lukas2511
sha256 10aabd0027450bc70a18e49acaca7a9697e0cfb92368d3e508b7a4d6d69bfa35 dehydrated-0.6.5.tar.gz
# License, locally computed
sha256 b4583b7dd07e3e2a08906de38e7e329d41f921ed9dcb6310b3886e013a6b8723 LICENSE
+18
View File
@@ -0,0 +1,18 @@
################################################################################
#
# dehydrated
#
################################################################################
DEHYDRATED_VERSION = 0.6.5
DEHYDRATED_SITE = https://github.com/lukas2511/dehydrated/releases/download/v$(DEHYDRATED_VERSION)
DEHYDRATED_LICENSE = MIT
DEHYDRATED_LICENSE_FILES = LICENSE
define DEHYDRATED_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/dehydrated $(TARGET_DIR)/usr/bin/dehydrated
$(INSTALL) -D -m 0644 $(@D)/docs/examples/config $(TARGET_DIR)/etc/dehydrated/config
endef
$(eval $(generic-package))