From: Steven Barth Date: Sun, 15 Jun 2008 18:02:09 +0000 (+0000) Subject: * Finished support for SGI CGI X-Git-Tag: 0.8.0~807 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eac91268f18e56249335a6d503a1f999d2455656;p=project%2Fluci.git * Finished support for SGI CGI --- diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 04229dac5f..50156656d9 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -153,7 +153,7 @@ endef define Package/luci-ff-halle $(call Package/luci/fftemplate) DEPENDS+= \ - +luci-sgi-haserl +luci-app-splash +luci-app-olsr \ + +luci-sgi-cgi +luci-app-splash +luci-app-olsr \ +luci-app-ffwizard-leipzig \ +luci-theme-fledermaus \ +luci-i18n-german \ @@ -170,7 +170,7 @@ endef define Package/luci-ff-leipzig $(call Package/luci/fftemplate) DEPENDS+= \ - +luci-sgi-haserl +luci-app-splash +luci-app-olsr \ + +luci-sgi-cgi +luci-app-splash +luci-app-olsr \ +luci-app-ffwizard-leipzig \ +luci-theme-fledermaus \ +luci-i18n-german \ @@ -187,7 +187,7 @@ endef define Package/luci-ff-hannover $(call Package/luci/fftemplate) DEPENDS+= \ - +luci-sgi-haserl +luci-app-splash +luci-app-olsr \ + +luci-sgi-cgi +luci-app-splash +luci-app-olsr \ +luci-theme-fledermaus \ +luci-i18n-german \ +olsrd +olsrd-mod-dyn-gw +olsrd-mod-txtinfo +olsrd-mod-nameservice @@ -312,6 +312,16 @@ endef ### Server Gateway Interfaces ### +define Package/luci-sgi-cgi + $(call Package/luci/libtemplate) + DEPENDS+=+luci-web + TITLE:=SGI for CGI +endef + +define Package/luci-sgi-cgi/install + $(call Package/luci/install/template,$(1),libs/sgi-cgi) +endef + define Package/luci-sgi-haserl $(call Package/luci/libtemplate) DEPENDS+=+luci-web +haserl-lua @@ -428,6 +438,9 @@ ifneq ($(CONFIG_PACKAGE_luci-app-statistics),) PKG_SELECTED_MODULES+=applications/luci-statistics endif +ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) + PKG_SELECTED_MODULES+=libs/sgi-cgi +endif ifneq ($(CONFIG_PACKAGE_luci-sgi-haserl),) PKG_SELECTED_MODULES+=libs/sgi-haserl endif @@ -473,6 +486,7 @@ $(eval $(call BuildPackage,luci-app-qos)) $(eval $(call BuildPackage,luci-app-splash)) $(eval $(call BuildPackage,luci-app-statistics)) +$(eval $(call BuildPackage,luci-sgi-cgi)) $(eval $(call BuildPackage,luci-sgi-haserl)) $(eval $(call BuildPackage,luci-sgi-webuci)) diff --git a/libs/sgi-cgi/htdocs/cgi-bin/index.cgi b/libs/sgi-cgi/htdocs/cgi-bin/index.cgi new file mode 100755 index 0000000000..fc1148de62 --- /dev/null +++ b/libs/sgi-cgi/htdocs/cgi-bin/index.cgi @@ -0,0 +1,3 @@ +#!/usr/bin/lua +print("Status: 302 Found") +print("Location: luci\n") diff --git a/libs/sgi-cgi/htdocs/index.html b/libs/sgi-cgi/htdocs/index.html new file mode 100644 index 0000000000..39ba558dfb --- /dev/null +++ b/libs/sgi-cgi/htdocs/index.html @@ -0,0 +1,10 @@ + + + + + + + +LuCI - Lua Configuration Interface + + \ No newline at end of file