uhttpd: use configured distribution name for SSL certificate CN
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
72568ea3bd
commit
b570c0c88e
2 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,7 @@ PKG_BUILD_DEPENDS = ustream-ssl
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/cmake.mk
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
include $(INCLUDE_DIR)/version.mk
|
||||||
|
|
||||||
define Package/uhttpd/default
|
define Package/uhttpd/default
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
|
@ -124,6 +125,7 @@ define Package/uhttpd/install
|
||||||
$(INSTALL_BIN) ./files/uhttpd.init $(1)/etc/init.d/uhttpd
|
$(INSTALL_BIN) ./files/uhttpd.init $(1)/etc/init.d/uhttpd
|
||||||
$(INSTALL_DIR) $(1)/etc/config
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(INSTALL_CONF) ./files/uhttpd.config $(1)/etc/config/uhttpd
|
$(INSTALL_CONF) ./files/uhttpd.config $(1)/etc/config/uhttpd
|
||||||
|
$(VERSION_SED_SCRIPT) $(1)/etc/config/uhttpd
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd $(1)/usr/sbin/uhttpd
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uhttpd $(1)/usr/sbin/uhttpd
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -119,4 +119,4 @@ config cert px5g
|
||||||
option location Unknown
|
option location Unknown
|
||||||
|
|
||||||
# Common name
|
# Common name
|
||||||
option commonname Lede
|
option commonname '%D'
|
||||||
|
|
Loading…
Reference in a new issue