luci-app-vpnbypass: switch to luci-tree Makefile, i18n support

Signed-off-by: Stan Grishin <stangri@melmac.net>

luci-app-vpnbypass: fixed makefile, fixed pot-file

Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
Stan Grishin 2017-01-28 07:38:05 -08:00
parent c9c76a136a
commit d2fcd543a4
2 changed files with 51 additions and 33 deletions

View file

@ -3,42 +3,15 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-vpnbypass
PKG_VERSION:=1.0.0
PKG_RELEASE:=3
PKG_RELEASE:=5
PKG_LICENSE:=GPL-3.0+
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
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=VPN Bypass Web UI
DEPENDS:=+luci-mod-admin-full +vpnbypass
PKGARCH:=all
endef
include ../../luci.mk
define Package/luci-app-vpnbypass/description
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))
# call BuildPackage - OpenWrt buildroot signature

View 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 ""