FS#13880 - [php] Add extra/thttpd support

Attached to Project: Arch Linux
Opened by Tomas Mudrunka (harvie) - Thursday, 19 March 2009, 21:31 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 03 October 2009, 10:12 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Please add

--with-thttpd=<thttpd_sources_directory>

to extra/php PKGBUILD
this should enable PHP support for extra/thttpd

then there can be added some pre-configuration to extra/thttpd to have PHP working out of box...
thttpd is very small (like Arch likes it), fast and nice server with throttling support, so why disable PHP for it?
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 03 October 2009, 10:12 GMT
Reason for closing:  Won't implement
Additional comments about closing:  or: provide a working patch
Comment by Tomas Mudrunka (harvie) - Thursday, 11 June 2009, 03:42 GMT
any progress? i hope there will be no problems with getting this to build.
Comment by Pierre Schmitz (Pierre) - Saturday, 13 June 2009, 11:11 GMT
Id like to package such moudles seperately with pacman 3.3. Anyway: Patches are more than welcome (you mentioned some pre-configuration)
Comment by Tomas Mudrunka (harvie) - Sunday, 14 June 2009, 20:58 GMT
Pierre: i don't understand. pacman 3.3 will support some "sub packages" which will be able to select from features/modules of installed package? i heard about gentoo's build flags so this is some simillar binary alternative? or you mean that php should be divided into more packages?
Comment by Roman Kyrylych (Romashka) - Sunday, 14 June 2009, 22:04 GMT
pacman 3.3 will support building multiple packages from one PKGBUILD, so it will be possible to make modularized packages from one source easier.
I guess Pierre plans some php-* packages for different PHP modules - this will allow to reduce the list of dependencies if you don't need all of modules installed.
Comment by Tomas Mudrunka (harvie) - Monday, 15 June 2009, 03:17 GMT
cool. i think that this can make arch more tiny and customizable. but you can still make multiple packages by multiple PKGBUILDs at now. it's important to get this new system used by contributors and maintainers.
Comment by Pierre Schmitz (Pierre) - Thursday, 18 June 2009, 21:09 GMT
Could you please provide an patch against the current PKGBUILD? I am not really interested in trial and error here. For example see the mod_php setion for Apache in the PKGBUILD. Do I really need the source of thttpd on compile time of php? Our package does not include any headers.
Comment by Pierre Schmitz (Pierre) - Thursday, 18 June 2009, 21:11 GMT
OH, and btw: as long as apüache conflicts with thttpd I cannot do anything.
Comment by Tomas Mudrunka (harvie) - Thursday, 18 June 2009, 21:53 GMT
i'll take a look at this. but i am not profi-archer like you ;)
Comment by Tomas Mudrunka (harvie) - Thursday, 18 June 2009, 22:14 GMT
hmm f*ck. maybe it will be easier to hack thttpd to support fastcgi php than repairing those conflicts... ;(
i'll try to build just php for thttpd alone in separate package.
Comment by Tomas Mudrunka (harvie) - Friday, 26 June 2009, 18:44 GMT
OK first thing we have to do is add thttpd sources to $pkgdir/usr/src/thttpd of thttpd package and remove conflicts. i hope i don't need to add new task to do this. do i?

Then it should be easy to build PHP with tHTTPd support.

Loading...