Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
ba354660
Commit
ba354660
authored
Jul 23, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added sockets, shared memory to php, wstunnel and proxy to lighttpd
parent
c359a47c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
1 deletion
+35
-1
core-image-elphel393.bb
recipes-core/images/core-image-elphel393.bb
+2
-0
php_5.6.%.bbappend
recipes-devtools/php/php_5.6.%.bbappend
+2
-0
lighttpd.conf
recipes-extended/lighttpd/files/lighttpd.conf
+26
-1
lighttpd_1.%.bbappend
recipes-extended/lighttpd/lighttpd_1.%.bbappend
+5
-0
No files found.
recipes-core/images/core-image-elphel393.bb
View file @
ba354660
...
...
@@ -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 \
...
...
recipes-devtools/php/php_5.6.%.bbappend
View file @
ba354660
...
...
@@ -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 \
...
...
recipes-extended/lighttpd/files/lighttpd.conf
View file @
ba354660
...
...
@@ -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
...
...
@@ -234,7 +235,31 @@ 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"
,
".cgi"
=>
""
)
...
...
recipes-extended/lighttpd/lighttpd_1.%.bbappend
View file @
ba354660
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment