Loading recipes-core/images/core-image-elphel393.bb +2 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,8 @@ IMAGE_INSTALL_append += " \ lighttpd-module-fastcgi \ lighttpd-module-cgi \ lighttpd-module-setenv \ lighttpd-module-wstunnel \ lighttpd-module-proxy \ apache2 \ perl \ php-cgi \ Loading recipes-devtools/php/php_5.6.%.bbappend +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ SRC_URI_append += " file://php.ini" EXTRA_OECONF += "--enable-elphel \ --enable-exif \ --enable-shmop \ --enable-sockets \ --with-curl=${STAGING_LIBDIR}/.. \ --with-readline=${STAGING_LIBDIR}/.. \ --with-config-file-path=${sysconfdir}/php \ Loading recipes-extended/lighttpd/files/lighttpd.conf +26 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ server.modules = ( # "mod_secdownload", # "mod_rrdtool", # "mod_webdav", "mod_wstunnel", "mod_accesslog" ) ## a static document-root, for virtual-hosting take look at the Loading Loading @@ -234,6 +235,30 @@ server.port = 80 # ) # ) ) #### wstunnel module #server.bind = "127.0.0.1" #server.port = 8081 #server.port = 80 #mimetype.assign = (".txt" => "text/plain", ".html" => "text/html" ) #server.modules += ("mod_wstunnel") wstunnel.server = ( "/ws/" => ( ( "socket" => "/tmp/wstunnel.socket", "bin-path" => "/www/pages/echo.pl", "max-procs" => 1 ) ), "/ws-nobin/" => ( ( "socket" => "/tmp/wstunnel-nobin.socket", # "bin-path" => "/www/pages/echo.pl", "max-procs" => 1 ) ) ) #### CGI module cgi.assign = ( ".py" => "/usr/bin/python", Loading recipes-extended/lighttpd/lighttpd_1.%.bbappend +5 −0 Original line number Diff line number Diff line Loading @@ -4,14 +4,19 @@ SRC_URI_append = "file://lighttpd.conf \ file://test.py \ file://phpinfo.php \ file://eth0-down-up-test.sh \ file://echo.pl \ file://wstunnel_count.html \ " CONFFILES_${PN} = "${D}/lighttpd.conf" do_install_append() { cp ${WORKDIR}/test.py ${D}/www/pages/test.py cp ${WORKDIR}/echo.pl ${D}/www/pages/echo.pl cp ${WORKDIR}/wstunnel_count.html ${D}/www/pages/wstunnel_count.html #cp ${WORKDIR}/phpinfo.php ${D}/www/pages/phpinfo.php cp ${WORKDIR}/eth0-down-up-test.sh ${D}/www/pages/eth0-down-up-test.sh rm -f ${D}/www/pages/index.html install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} } RDEPENDS_${PN} += " perl" Loading
recipes-core/images/core-image-elphel393.bb +2 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,8 @@ IMAGE_INSTALL_append += " \ lighttpd-module-fastcgi \ lighttpd-module-cgi \ lighttpd-module-setenv \ lighttpd-module-wstunnel \ lighttpd-module-proxy \ apache2 \ perl \ php-cgi \ Loading
recipes-devtools/php/php_5.6.%.bbappend +2 −0 Original line number Diff line number Diff line Loading @@ -4,6 +4,8 @@ SRC_URI_append += " file://php.ini" EXTRA_OECONF += "--enable-elphel \ --enable-exif \ --enable-shmop \ --enable-sockets \ --with-curl=${STAGING_LIBDIR}/.. \ --with-readline=${STAGING_LIBDIR}/.. \ --with-config-file-path=${sysconfdir}/php \ Loading
recipes-extended/lighttpd/files/lighttpd.conf +26 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ server.modules = ( # "mod_secdownload", # "mod_rrdtool", # "mod_webdav", "mod_wstunnel", "mod_accesslog" ) ## a static document-root, for virtual-hosting take look at the Loading Loading @@ -234,6 +235,30 @@ server.port = 80 # ) # ) ) #### wstunnel module #server.bind = "127.0.0.1" #server.port = 8081 #server.port = 80 #mimetype.assign = (".txt" => "text/plain", ".html" => "text/html" ) #server.modules += ("mod_wstunnel") wstunnel.server = ( "/ws/" => ( ( "socket" => "/tmp/wstunnel.socket", "bin-path" => "/www/pages/echo.pl", "max-procs" => 1 ) ), "/ws-nobin/" => ( ( "socket" => "/tmp/wstunnel-nobin.socket", # "bin-path" => "/www/pages/echo.pl", "max-procs" => 1 ) ) ) #### CGI module cgi.assign = ( ".py" => "/usr/bin/python", Loading
recipes-extended/lighttpd/lighttpd_1.%.bbappend +5 −0 Original line number Diff line number Diff line Loading @@ -4,14 +4,19 @@ SRC_URI_append = "file://lighttpd.conf \ file://test.py \ file://phpinfo.php \ file://eth0-down-up-test.sh \ file://echo.pl \ file://wstunnel_count.html \ " CONFFILES_${PN} = "${D}/lighttpd.conf" do_install_append() { cp ${WORKDIR}/test.py ${D}/www/pages/test.py cp ${WORKDIR}/echo.pl ${D}/www/pages/echo.pl cp ${WORKDIR}/wstunnel_count.html ${D}/www/pages/wstunnel_count.html #cp ${WORKDIR}/phpinfo.php ${D}/www/pages/phpinfo.php cp ${WORKDIR}/eth0-down-up-test.sh ${D}/www/pages/eth0-down-up-test.sh rm -f ${D}/www/pages/index.html install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} } RDEPENDS_${PN} += " perl"