mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01: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
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=acme
|
PKG_NAME:=acme
|
||||||
PKG_VERSION:=2.8.5
|
PKG_VERSION:=2.8.5
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/Neilpang/acme.sh/tar.gz/$(PKG_VERSION)?
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
module("luci.controller.acme", package.seeall)
|
module("luci.controller.acme", package.seeall)
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
entry({"admin", "services", "acme"},
|
local page
|
||||||
|
|
||||||
|
page = entry({"admin", "services", "acme"},
|
||||||
cbi("acme"),
|
cbi("acme"),
|
||||||
_("ACME certs"), 50).dependent = false
|
_("ACME certs"), 50)
|
||||||
|
page.dependent = false
|
||||||
|
page.acl_depends = { "luci-app-acme" }
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user