Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908996

Summary: app-eselect/eselect-php: add openlitespeed
Product: Gentoo Linux Reporter: trakrailysurely
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: CONFIRMED ---    
Severity: normal CC: mjo, trakrailysurely
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openlitespeed ebuild and dependencies
openlitespeed ebuild and dependencies
openlitespeed ebuild and dependencies

Description trakrailysurely 2023-06-22 12:51:55 UTC
I asked for php litespeed support in bug #908876 because I want to incorporate an openlitespeed server into guru, but it was pointed out that I need this support first.

If possible, please add support for this.

openlitespeed uses the lsphp command to run php, not the normal php command.

Reproducible: Always
Comment 1 Michael Orlitzky gentoo-dev 2023-06-23 21:42:31 UTC
Maybe a good first step would be to get OpenLiteSpeed into GURU *without* php or eselect-php support at first. When someone sits down to work on php or eselect-php it will be a big help if they can emerge openlitespeed from GURU and use it to test.
Comment 2 trakrailysurely 2023-06-23 23:12:32 UTC
Thank you very much.

I am currently trying to get openlitespeed into guru.
Fortunately, openlitespeed contains php5 inside, 
so I should be able to use it for "debugging purposes".
(php5 is no longer supported and cannot be used for production purposes).

I am currently trying it out, and it should probably work until I get it into GURU and make it work.
However, since openlitespeed depends on lsquic and lsquic depends on boringssl, 
it may be difficult to officially get openlitespeed from guru to gentoo.
(There was a previous attempt to incorporate boringssl into gentoo, but it was rejected.)
Comment 3 trakrailysurely 2024-05-05 21:38:07 UTC
Created attachment 892321 [details]
openlitespeed ebuild and dependencies

https://github.com/gentoo/guru/commit/7c9c9aa0513ac610b7725cc472cdef5e6dcc5d73

This was pointed out in the above commit, so I will upload it here.

Please let me know if there is a proper way to process this ebuild.
Comment 4 trakrailysurely 2024-05-06 01:43:32 UTC
Created attachment 892324 [details]
openlitespeed ebuild and dependencies
Comment 5 trakrailysurely 2024-05-06 02:09:22 UTC
Created attachment 892325 [details]
openlitespeed ebuild and dependencies
Comment 6 trakrailysurely 2024-05-07 13:54:45 UTC
If you use the latest attached ebuild, you can get openlitespeed to start the server manually.
(There is a lack of automatic startup using systemd or openrc.)
How should I handle this case?
Since the included php is based on 5, it is most likely not appropriate to add it to guru as is.