You are not logged in.

#1 2007-02-23 22:51:58

unixlust
Member
From: Sebes, Romania
Registered: 2007-01-12
Posts: 31

lighttpd-svn

Security, speed, compliance, and flexibility--all of these describe LightTPD which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) LightTPD is the perfect solution for every server that is suffering load problems. And best of all it's Open Source licensed under the revised BSD license.

light footprint + httpd = LightTPD (pronounced lighty)

http://lighttpd.net

Don't know how many people use this, but I really love lighttpd. If someone is kind enough to provide a PKGBUILD for the svn version, it would be greatly appreciated. Thank you ! Here's the trunk version:  http://trac.lighttpd.net/trac/browser/trunk

Offline

#2 2007-02-23 23:17:26

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: lighttpd-svn

lighttpd *is* in the main repositories, if you didn't know..
http://archlinux.org/packages/search/?q=lighttpd

If you are looking for a svn build, for some reason (who runs a beta version of a webserver for gods sake), then it should be very easy to simply modify the PKGBUILD in the ABS tree to pull from svn.

ps. I prefer nginx. wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2007-02-24 01:13:23

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: lighttpd-svn

<-- i do locally, for development reasons of apache libraries smile...
but that's another topic big_smile


Ability is nothing without opportunity.

Offline

#4 2007-02-24 06:34:36

unixlust
Member
From: Sebes, Romania
Registered: 2007-01-12
Posts: 31

Re: lighttpd-svn

cactus, I know it's in the main repositories, but I need the svn build locally.

the svn version is found here:

svn checkout svn://svn.lighttpd.net/lighttpd/trunk/

Is someone kind enough to provide a PKGBUILD for it, please ?

Offline

#5 2007-02-24 12:27:49

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: lighttpd-svn

Here you go:

# $Id: PKGBUILD,v 1.29 2006/09/26 07:10:41 tobias Exp $
# Maintainer: tobias <tobias@archlinux.org>
# Modifications: eliott <eliott@cactuswax.net>
# Originally by klapmuetz

pkgname=lighttpd-svn
pkgver=1692
pkgrel=1
pkgdesc="lighttpd is a secure, fast, compliant and very flexible web-server"
arch=(i686 x86_64)
url="http://www.lighttpd.net/"
depends=('pcre' 'openssl' 'zlib' 'bzip2' 'attr')
makedepends=('fcgi' 'libmysqlclient' 'lua' 'libmemcache' 'libxml2' 'pkgconfig' 'subversion')
backup=('etc/lighttpd/lighttpd.conf' 'etc/logrotate.d/lighttpd' \
        'etc/conf.d/lighttpd' 'etc/conf.d/spawn-php' \
        'home/lighttpd/html/index.html')
options=('NOLIBTOOL')
install=$pkgname.install
source=($pkgname.rc.d $pkgname.conf.d $pkgname.logrotate.d)

_svntrunk="svn://svn.lighttpd.net/lighttpd/trunk/"
_svnmod="lighttpd"

build() {
    cd $startdir/src
    mkdir -p ~/.subversion

    svn co $_svntrunk $_svnmod

    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    cp -R $_svnmod $_svnmod-build
    cd $_svnmod-build
    ./configure --prefix=/usr --libdir=/usr/lib/lighttpd \
    --without-ldap --without-gdbm --with-lua --with-memcache \
    --with-openssl=/usr/include/openssl \
    --with-mysql=/usr/bin/mysql_config \
    --with-webdav-props --with-attr \
    --without-fam --disable-ipv6

    make || return 1
    make DESTDIR=$startdir/pkg install || return 1

    # install configuration scripts and daemons
    install -Dm755 ../lighttpd.rc.d $startdir/pkg/etc/rc.d/lighttpd
    install -Dm644 ../lighttpd.conf.d $startdir/pkg/etc/conf.d/lighttpd
    install -Dm644 ../lighttpd.logrotate.d \
        $startdir/pkg/etc/logrotate.d/lighttpd

    install -Dm644 doc/lighttpd.conf $startdir/pkg/etc/lighttpd/lighttpd.conf

    rm -rf $startdir/src/$_svnmod-build
}

Note: I did not test this PKGBUILD, so use it at your own risk. You'll also need some files (like lighttpd.install, etc. see source array) that come with the lighttpd PKGBUILD.

Offline

Board footer

Powered by FluxBB