Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luci collections add luci-lighttpd #6596

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Sep 23, 2023

  1. luci-base: index.html use HTML5

    This simplifies HTML but also make it smaller.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    ed33b99 View commit details
    Browse the repository at this point in the history
  2. luci-base: separate luci-www for redirection

    The default /www/index.html is used to redirect to /cgi-bin/luci.
    Router manufactures often have their own admin panel.
    So they have to override the default index.html.
    Instead make a separate package.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    9fb51cc View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. luci-ssl-nginx: use luci-nginx dependency

    Simplify dependencies
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    b2f26cf View commit details
    Browse the repository at this point in the history
  2. luci: make the package to not depend on uhttpd

    The luci depends on luci-light.
    The luci-light adds a dependency to uhttpd.
    But also it declares some set of apps.
    The luci package also adds one luci-app-opkg.
    
    This all is very confusing.
    So here a simplification:
    * the luci package now only declare a set of standard apps including the luci-app-opkg
    * the luci-light will only depend on the luci and add uhttpd.
    
    After the change the luci-light will also install luci-app-opkg.
    
    This also simplifies luci-nginx.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    d5608cb View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. collections: add luci-lighttpd

    Some firmwares like Turris and Gl.Inet use Lighttpd for Luci.
    
    The mod_alias is often used so we need to set luci alias paths.
    
    The lighttpd use own user but for Luci we need root user.
    That's why the server.username is overridden to empty.
    When removing the package it will be rolled back to use the default lighttpd user.
    But the log file was created with root.
    We should remove it manually to allow the lighttpd user to recreate it.
    
    We also need to enable CGI for the cgi-bin folder.
    
    Signed-off-by: Sergey Ponomarev <[email protected]>
    stokito committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e437924 View commit details
    Browse the repository at this point in the history