diff --git a/repos/ealanos/recipes/raw/lighttpd/content.mk b/repos/ealanos/recipes/raw/lighttpd/content.mk new file mode 100644 index 0000000000..b79ef1bdbf --- /dev/null +++ b/repos/ealanos/recipes/raw/lighttpd/content.mk @@ -0,0 +1,4 @@ +content: lighttpd.conf + +lighttpd.conf: + cp $(REP_DIR)/recipes/raw/lighttpd/lighttpd.conf $@ diff --git a/repos/ealanos/recipes/raw/lighttpd/hash b/repos/ealanos/recipes/raw/lighttpd/hash new file mode 100644 index 0000000000..b15627c1e5 --- /dev/null +++ b/repos/ealanos/recipes/raw/lighttpd/hash @@ -0,0 +1 @@ +5ee9d58c681cae5c3f518942cf9f2319e2f0b35c-x e2e70765cc03404aa3d86d296454639221ee36c6 diff --git a/repos/ealanos/recipes/raw/lighttpd/lighttpd.conf b/repos/ealanos/recipes/raw/lighttpd/lighttpd.conf new file mode 100644 index 0000000000..f5f3d844d9 --- /dev/null +++ b/repos/ealanos/recipes/raw/lighttpd/lighttpd.conf @@ -0,0 +1,17 @@ +# lighttpd configuration +server.port = 80 +server.document-root = "/webroot" +server.event-handler = "select" +server.network-backend = "write" +server.upload-dirs = ( "/tmp" ) +server.modules += ( "mod_webdav" ) +mimetype.assign = ( + ".html" => "text/html", + ".htm" => "text/html", + "config" => "text/plain", + "log" => "text/plain", + "" => "application/octet-stream", +) + dir-listing.activate = "enable" + webdav.activate = "enable" + webdav.is-readonly = "disable" \ No newline at end of file diff --git a/repos/ealanos/recipes/raw/lighttpd/used_api b/repos/ealanos/recipes/raw/lighttpd/used_api new file mode 100644 index 0000000000..e69de29bb2 diff --git a/repos/ealanos/run/ealanos.run b/repos/ealanos/run/ealanos.run new file mode 100644 index 0000000000..37872bd736 --- /dev/null +++ b/repos/ealanos/run/ealanos.run @@ -0,0 +1,249 @@ +create_boot_directory +import_from_depot [depot_user]/pkg/[drivers_nic_pkg] \ + [depot_user]/src/lighttpd \ + [depot_user]/src/openssl \ + [depot_user]/src/zlib \ + [depot_user]/src/vfs_jitterentropy \ + [depot_user]/pkg/system_clock-pc \ + [depot_user]/raw/lighttpd \ + [depot_user]/src/vfs_import + +append config { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ### start ### + + + echo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} + +append qemu_args " -nographic " +append_qemu_nic_args "host=10.0.2.1,dhcpstart=10.0.2.55,hostfwd=tcp::12345-:12345,hostfwd=tcp::10080-:80,hostfwd=tcp::18080-:8080,hostfwd=udp::10007-:7,hostfwd=udp::17070-:7070" + +build { core init hoitaja timer lib/ld lib/vfs lib/libm lib/libc lib/stdcxx lib/posix server/nic_router server/vfs server/cached_fs_rom app/kuori lib/vfs_lwip } + +install_config $config +build_boot_image [build_artifacts] +run_genode_until forever \ No newline at end of file