X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fluci%2FMakefile;h=87f38c7893480911b88aff23c06e80034eecfa6f;hb=08fc73b8a6bb87c4094188fb60ebaed88c82d4c7;hp=df2cb4fed8355283d187b562c9b55fcc09c76b0a;hpb=b33943a6e8596c1ddfc1b771a995d3cf21e81cd6;p=project%2Fluci.git diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index df2cb4fed..87f38c789 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -238,12 +238,12 @@ endef define Package/luci-httpd $(call Package/luci/httpdtemplate) - DEPENDS:=+luci-http + DEPENDS:=+luci-http +libuci TITLE:=Server Core endef define Package/luci-httpd/install - $(call Package/luci/install/template,$(1),libs/httpd) + $(call Package/luci/install/template,$(1),libs/lucittpd) endef @@ -297,7 +297,7 @@ endef define Package/luci-admin-full $(call Package/luci/webtemplate) - DEPENDS+=+luci-admin-core +luci-ipkg + DEPENDS+=+luci-admin-core +luci-ipkg +luci-app-firewall TITLE:=LuCI Administration - full-featured for full control endef @@ -537,8 +537,8 @@ endef define Package/luci-app-livestats $(call Package/luci/webtemplate) - DEPENDS+=+luci-admin-full +luci-admin-rpc - TITLE:=LuCI Realtime Statistics (Experimental) + DEPENDS+=+luci-admin-core +luci-admin-rpc + TITLE:=LuCI Realtime Statistics endef define Package/luci-app-livestats/install @@ -564,6 +564,16 @@ define Package/luci-app-polipo/install $(call Package/luci/install/template,$(1),applications/luci-polipo) endef +define Package/luci-app-openvpn + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for OpenVPN + DEPENDS+=@BROKEN +luci-admin-core +openvpn +endef + +define Package/luci-app-openvpn/install + $(call Package/luci/install/template,$(1),applications/luci-openvpn) +endef + ### Server Gateway Interfaces ### @@ -743,7 +753,7 @@ ifneq ($(CONFIG_PACKAGE_luci-uvl),) endif ifneq ($(CONFIG_PACKAGE_luci-httpd),) - PKG_SELECTED_MODULES+=libs/httpd + PKG_SELECTED_MODULES+=libs/lucittpd endif ifneq ($(CONFIG_PACKAGE_luci-admin-core),) @@ -829,6 +839,9 @@ endif ifneq ($(CONFIG_PACKAGE_luci-app-polipo),) PKG_SELECTED_MODULES+=applications/luci-polipo endif +ifneq ($(CONFIG_PACKAGE_luci-app-openvpn),) + PKG_SELECTED_MODULES+=applications/luci-openvpn +endif ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) @@ -880,7 +893,7 @@ endif MAKE_FLAGS += \ MODULES="$(PKG_SELECTED_MODULES)" \ LUA_TARGET="$(LUA_TARGET)" \ - LUA_SHLIBS="-llua -lm" \ + LUA_SHLIBS="-llua -lm -ldl -lcrypt" \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \ OS="Linux" @@ -928,6 +941,7 @@ $(eval $(call BuildPackage,luci-app-initmgr)) $(eval $(call BuildPackage,luci-app-livestats)) $(eval $(call BuildPackage,luci-app-asterisk)) $(eval $(call BuildPackage,luci-app-polipo)) +$(eval $(call BuildPackage,luci-app-openvpn)) $(eval $(call BuildPackage,luci-sgi-cgi)) $(eval $(call BuildPackage,luci-sgi-luci))