Project

General

Profile

Actions

Install prebuild binaries

You may want to have a look at the opensuse build service repositories, we have packages available for:
  • CentOS 5
  • Debian 7.0 (wheezy)
  • Fedora 13
  • Redhat RHEL 5
  • openSUSE 11.1, 11.2, 11.3 and Factory
  • SUSE Linux Enterprise 11
  • Ubuntu 9.10 (karmic), 10.04 (lucid)
They are hosted either in the server:http or home:stbuehler:lighttpd2 projects:

Install from source

Dependencies

  • c compiler :)
  • pkg-config - best way to find many libs
  • meson
  • libev
  • libidn
  • ragel
  • glib2.0 (>= 2.16)
  • lua 5.1 (optional) (highly recommended) (must be lua 5.1; not any other lua version)
  • zlib1g (optional: for mod_deflate deflate/gzip compression)
  • libbz2 (optional: for mod_deflate bzip2 compression)
  • libssl (optional: for ssl)

Get Source

You can either checkout our git sources, or take a distbuild tar from https://download.lighttpd.net/lighttpd/snapshots-2.0.x/

git checkout

  • First time: git clone https://git.lighttpd.net/lighttpd/lighttpd2.git && cd lighttpd2
    This creates a new directory "lighttpd2" in your current directory with the sources in it.
  • Update: git pull
    If you applied own patches, you might want to use git fetch; git rebase origin/master to keep your patches or git fetch; git reset --hard origin/master to use our current head.
If you don't have git installed you can download a git snapshot from https://git.lighttpd.net/lighttpd/lighttpd2.git/commit/

distbuild

Download it and extract it as always: tar -xf https://download.lighttpd.net/lighttpd/snapshots-2.0.x/lighttpd-2.0.0-snap-XXX.tar.gz

Configure + Build

meson setup --buildtype debugoptimized -Dbzip2=false --prefix /usr/local build
cd build
meson compile
meson test

Install

meson install

Updated by gstrauss about 1 year ago · 14 revisions