uhttpd: use configured distribution name for SSL certificate CN

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-05-21 12:42:44 +02:00
parent 72568ea3bd
commit b570c0c88e
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ PKG_BUILD_DEPENDS = ustream-ssl
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
include $(INCLUDE_DIR)/version.mk
define Package/uhttpd/default
SECTION:=net
@ -124,6 +125,7 @@ define Package/uhttpd/install
$(INSTALL_BIN) ./files/uhttpd.init $(1)/etc/init.d/uhttpd
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/uhttpd.config $(1)/etc/config/uhttpd
$(VERSION_SED_SCRIPT) $(1)/etc/config/uhttpd
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd $(1)/usr/sbin/uhttpd
endef

View File

@ -119,4 +119,4 @@ config cert px5g
option location Unknown
# Common name
option commonname Lede
option commonname '%D'