Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFix
luci-app-vpnbypass: luci tree Makefile + i18n support.
This commit is contained in:
commit
4b3b9be098
2 changed files with 51 additions and 33 deletions
|
@ -3,42 +3,15 @@
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-vpnbypass
|
|
||||||
PKG_VERSION:=1.0.0
|
PKG_VERSION:=1.0.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=5
|
||||||
PKG_LICENSE:=GPL-3.0+
|
PKG_LICENSE:=GPL-3.0+
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
LUCI_TITLE:=VPN Bypass Web UI
|
||||||
|
LUCI_DEPENDS:=+vpnbypass
|
||||||
|
LUCI_PKGARCH:=all
|
||||||
|
|
||||||
define Package/luci-app-vpnbypass
|
include ../../luci.mk
|
||||||
SECTION:=luci
|
|
||||||
CATEGORY:=LuCI
|
|
||||||
SUBMENU:=3. Applications
|
|
||||||
TITLE:=VPN Bypass Web UI
|
|
||||||
DEPENDS:=+luci-mod-admin-full +vpnbypass
|
|
||||||
PKGARCH:=all
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/luci-app-vpnbypass/description
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
This package will install VPN Bypass Web UI.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Prepare
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Configure
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/luci-app-vpnbypass/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
|
|
||||||
$(INSTALL_BIN) ./luasrc/controller/vpnbypass.lua $(1)/usr/lib/lua/luci/controller/vpnbypass.lua
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
|
|
||||||
$(INSTALL_BIN) ./luasrc/model/cbi/vpnbypass.lua $(1)/usr/lib/lua/luci/model/cbi/vpnbypass.lua
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,luci-app-vpnbypass))
|
|
45
applications/luci-app-vpnbypass/po/templates/vpnbypass.pot
Normal file
45
applications/luci-app-vpnbypass/po/templates/vpnbypass.pot
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||||
|
|
||||||
|
msgid "Configuration of VPN Bypass Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Domains to Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Domains which will be accessed directly (outside of the VPN tunnel)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Enable VPN Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Local IP Subnets to Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Local IP ranges with direct internet access (outside of the VPN tunnel)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Local Ports to Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Local ports to trigger VPN Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Remote IP Subnets to Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid ""
|
||||||
|
"Remote IP ranges which will be accessed directly (outside of the VPN tunnel)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Remote Ports to Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Remote ports to trigger VPN Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "VPN Bypass"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "VPN Bypass Settings"
|
||||||
|
msgstr ""
|
Loading…
Reference in a new issue