kumquat-buildroot/package/dehydrated/dehydrated.mk
Arnout Vandecappelle (Essensium/Mind) 2257c18c25 package/dehydrated: new package
dehydrated is an ACME client written in bash. It should be able to run
under zsh as well, but this hasn't been tested so it isn't enabled for
now.

Normally, we would want an init script to start dehydrated, and an
example configuration file. However, it is very difficult to do this
in a generic way in Buildroot:
- we normally don't have cron running;
- we have no standard location for webroot;
- we have no standard location for certificates;
- we have no standard way to restart/reload the webserver.
So instead, provide brief documentation of how to use dehydrated in the
help text.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-06-26 23:36:54 +02:00

19 lines
599 B
Makefile

################################################################################
#
# dehydrated
#
################################################################################
DEHYDRATED_VERSION = 0.6.2
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))