summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-01-28 18:50:36 +0200
committerGitHub <noreply@github.com>2017-01-28 18:50:36 +0200
commit4b3b9be0983e2e766995bcba95bb09859ab3f83d (patch)
treeb75e3544ba2827c312e565ff2d4adf7eb1fc9dee
parente6f158b2ee3cbc8b81734a21ab6aa1db7ff020ac (diff)
parentd2fcd543a43dcea1324a5456a171340271693cca (diff)
Merge pull request #983 from stangri/luci-app-vpnbypass_makefileFix
luci-app-vpnbypass: luci tree Makefile + i18n support.
-rw-r--r--applications/luci-app-vpnbypass/Makefile39
-rw-r--r--applications/luci-app-vpnbypass/po/templates/vpnbypass.pot45
2 files changed, 51 insertions, 33 deletions
diff --git a/applications/luci-app-vpnbypass/Makefile b/applications/luci-app-vpnbypass/Makefile
index 58b3d30d9..5f63dcee7 100644
--- a/applications/luci-app-vpnbypass/Makefile
+++ b/applications/luci-app-vpnbypass/Makefile
@@ -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)) \ No newline at end of file
+# call BuildPackage - OpenWrt buildroot signature \ No newline at end of file
diff --git a/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot b/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot
new file mode 100644
index 000000000..c0dd33dfb
--- /dev/null
+++ b/applications/luci-app-vpnbypass/po/templates/vpnbypass.pot
@@ -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 ""