mirror of
https://github.com/openwrt/packages.git
synced 2026-12-05 19:45:54 +04:00
acme: Add acl_depends annotations to luci-app-acme
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
1 parent
3c34b151f6
commit
2fadd0279f
2 files changed
+7
-3
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=acme
|
||||
PKG_VERSION:=2.8.5
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
module("luci.controller.acme", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "services", "acme"},
|
||||
local page
|
||||
|
||||
page = entry({"admin", "services", "acme"},
|
||||
cbi("acme"),
|
||||
_("ACME certs"), 50).dependent = false
|
||||
_("ACME certs"), 50)
|
||||
page.dependent = false
|
||||
page.acl_depends = { "luci-app-acme" }
|
||||
end
|
||||
Reference in new issue
Block a user