You are not logged in.
I have packaged those three. Couldn't find the fcgi ones in the official nor the TUR's repo.
If you don't want to be bothered with the PKGBUILD's grab the pkg.tar.gz's right away: http://arch.klapmuetz.org/new
The php-cgi is slightly modified for my personal use. Only MySQL support for example and it's only a modified ABS version, too.
UPDATE: Check out the wiki about this subject too! http://wiki2.archlinux.org/index.php/fa … 20lighttpd
fcgi:
# Contributed by: Benjamin Andresen, klapmuetz [at] gmail [dot] com
pkgname=fcgi
pkgver=2.4.0
pkgrel=1
pkgdesc="a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs."
url="http://www.fastcgi.com"
source=("http://www.fastcgi.com/dist/$pkgname-$pkgver.tar.gz")
md5sums=('d15060a813b91383a9f3c66faf84867e')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure
make || return 1
make prefix=$startdir/pkg/usr/local/lib install
}
ruby-fcgi
# Contributed by: Benjamin Andresen, klapmuetz [at] gmail [dot] com
pkgname=ruby-fcgi
pkgver=0.8.5
pkgrel=1
pkgdesc="ruby bindings for fastcgi"
url="http://www.moonwolf.com"
depends=('fcgi' 'ruby')
makedepends=('ruby')
source=("http://www.moonwolf.com/ruby/archive/ruby-fcgi-0.8.5.tar.gz")
md5sums=('896007e727153c6d05c380dd2d7fb109')
build() {
cd $startdir/src/$pkgname-$pkgver
ruby install.rb config
ruby install.rb setup
ruby install.rb install --prefix=$startdir/pkg/usr
}
php-cgi
# $Id: PKGBUILD,v 1.57 2005/03/08 20:07:12 judd Exp $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributed by: Benjamin Andresen, klapmuetz [at] gmail [dot] com
pkgname=php
pkgver=5.0.3
pkgrel=6
pkgdesc="A high-level scripting language"
url="http://www.php.net"
backup=(etc/php.ini)
depends=('openssl' 'libjpeg' 'freetype2' 'pam'
'gdbm' 'libxml2' 'openldap' 'ncurses' 'curl' 'libxslt')
makedepends=('apache' 'mysql' 'bzip2'
'gd' 'sed')
source=(http://www.php.net/distributions/$pkgname-$pkgver.tar.gz php.ini)
md5sums=('bf89557056ce34d502e20e24071616c7' 'd5b9b37fbb746f0967d795763106735a')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-fastcgi --enable-cgi
--sysconfdir=/etc --with-layout=PHP
--with-ttf --enable-mailparse --with-config-file-scan-dir=/etc
--enable-bcmath=shared --enable-calendar=shared --enable-ftp=shared
--enable-gd-native-ttf --enable-magic-quotes --enable-posix=shared
--enable-session --enable-shared --enable-shmop=shared
--with-ncurses --with-readline
--enable-sysvsem=shared --enable-sysvshm=shared --enable-track-vars
--enable-trans-sid --enable-safe-mode --enable-sockets=shared
--enable-xml --with-bz2=shared --with-curl --with-mime-magic
--with-mysqli=shared
--enable-dba --without-db2 --without-db3 --with-inifile --with-flatfile
--with-gdbm --with-freetype-dir=/usr --with-gd=shared --enable-exif
--with-jpeg-dir=/usr --with-mysql=shared,/usr --with-ldap=shared
--with-mysql-sock=/tmp/mysql.sock --with-openssl --with-gettext
--with-pear=/usr/share/pear --with-dom --with-dom-xslt --with-xsl
--with-regex=php --with-zlib --enable-mbstring=all --enable-mbregex
# fixes a build error in sqlite support
ln -s main/php_config.h ./config.h
make || return 1
mkdir -p $startdir/pkg/usr/lib/apache
# cp config_vars.mk config_vars.old
# sed "s|^INSTALL_IT.*$|INSTALL_IT = apxs -i -a -S LIBEXECDIR=$startdir/pkg/usr/lib/apache -n php4 libs/libphp4.so|" config_vars.old >config_vars.mk
sed -i "s|-i -a -n php5|-i -n php5|g" Makefile
make INSTALL_ROOT=$startdir/pkg EXTENSION_DIR=/usr/lib/php install
cp ../php.ini $startdir/pkg/etc
}
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
omg! you rock!
now, if I can figure out how to use it...
*wink*
I was using mod_ruby for a while (here), now I am just using regular old ruby cgi..I will have to give this a shot sometime..
"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
Thanks.
If you need help just contact me. I finished the freakin installation myself just today. (I had every problem possible.) :-)
BR,
klapmuetz
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
If you have time, a wiki on the subject (and steps you took) would be great!
"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
http://wiki2.archlinux.org/index.php/fa … 20lighttpd
Please post comments and suggestions.
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
Looks good. I dont use lighttpd, so I cannot comment on it further. I will look into integration with apache, if I get some free time.
"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
you might want to add the following to the .configure line in you pkgbuild..
--libdir=/usr/lib/lighttpd --with-openssl=/usr/include/openssl
This puts the libs in /usr/lib/lighttpd, much like apache does in its own dir, instead of just dumping then in the /usr/lib dir with everything else. A bit cleaner.
Also, not sure if bzip and gzip need to be in depends line to get output compression. I will report back when I find out.
EDIT: Made a few more modifications to lighttpd PKGBUILD and associated files. HERE
"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
klapmuetz - your website is 99% 403 forbidden for me... was that intentional?
Offline
Chek out when I made the post.
That was before we got the AUR... After the AUR has been created I abandoned my personal repo.
So yes. It is intentional.
And 99% of the time? It should have been 100%
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
I got one directory listing off of it. Other than that, it was forbidden.
Offline