Bug 234728 - [NEW PORT] www/openlitespeed: Open Source edition of LiteSpeed Web Server Enterprise
Summary: [NEW PORT] www/openlitespeed: Open Source edition of LiteSpeed Web Server Ent...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://openlitespeed.org/
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2019-01-08 03:09 UTC by Leo Vandewoestijne
Modified: 2022-04-05 11:46 UTC (History)
8 users (show)

See Also:
koobs: maintainer-feedback? (freebsd)


Attachments
openlitespeed (43.40 KB, application/x-shellscript)
2022-04-05 11:46 UTC, Leo Vandewoestijne
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Vandewoestijne 2019-01-08 03:09:31 UTC
I've spent almost five days compiling over and over again, and this is the best I could come up with.
It does what it should in the host environtment, but it fails in poudriere.
Further many options have no effect yet.
For example trying to link the systems OpenSSL has no effect; it still installs an embedded version (making maintainance more timeconsuming).
Also ./configure --help tells that php7 is used by default; in reality it installs php5 which is since 1/1 EoL / unmaintained.
However, openlitespeed looks like a great product, with much potential.

AFAIK the attached shar file is not good enough yet, I guess I miss a dependency, or some flags.
I will continue to improve it to a satisfieng level.
Comment 1 Leo Vandewoestijne 2019-01-08 03:11:15 UTC
Looks like the shar is 1.4 MB, while the limit is 1 MB
Comment 2 Leo Vandewoestijne 2019-01-08 03:23:07 UTC
The shar can be found at https://dns.company/downloads/openlitespeed/lsws.shar.txt
Comment 3 Leo Vandewoestijne 2019-01-08 03:44:36 UTC
A "cross-post" can be found here:
https://forum.openlitespeed.org/threads/freebsd-port-for-1-5-0.3586/
Comment 4 Leo Vandewoestijne 2019-01-09 13:56:07 UTC
I have the port working now, but I wish to upload the shar, to have it committed.
Could the upload limit here be increased from 1 to 2 MB?
(the pkg-plist is having MANY lines).
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2019-01-11 20:28:14 UTC
Leo, the max-upload can not be expanded. Put the shar file somewhere, I'll have
a look at it.
Comment 6 avkarenow 2019-05-04 12:58:43 UTC
Hi,

any news about this port?
Comment 7 Leo Vandewoestijne 2019-05-06 13:38:43 UTC
The port was working, but (less essential) parts were not.
It wasn't easy to solve that quick, and I didn't spend much time on it anymore.

My main interrest was QUIC support - which was only available for the enterprise edition, but the free edition was told to have impressibe benchmarks to.

After my posts, this response appeared:
https://forum.openlitespeed.org/threads/freebsd-port-for-1-5-0.3586/#post-6049

I think altogether maybe it's time to try to finish this port, yes.
Comment 8 Alexey Dokuchaev freebsd_committer freebsd_triage 2021-07-13 08:46:09 UTC
(In reply to Kurt Jaeger from comment #5)
> Put the shar file somewhere, I'll have a look at it.
He did that in comment #2.  Meanwhile, their latest version is 1.7.12 now.
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-13 09:09:37 UTC
Is a compressed diff over a 1mb Leo? An alternative is to create a diff in reviews. and link it here (URL) if you already have an account
Comment 10 Alexey Dokuchaev freebsd_committer freebsd_triage 2021-07-13 09:31:18 UTC
(In reply to Kubilay Kocak from comment #9)
> Is a compressed diff over a 1mb Leo?
No, compressed diff is around 80~100KB, depending on the compressor.

> An alternative is to create a diff in reviews.
Alternative is to stop asking submitter spend time on this stupid things when the shar was uploaded back in January 2019 and had been accessible all these months.
Comment 11 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-13 09:34:09 UTC
(In reply to Alexey Dokuchaev from comment #10)

Please watch the tone Alexey, this is not the place to air your frustrations. If you have comments to make about how to make things better, I suggest a more productive approach and appropriate forum.

The lack of an attached patch is likely a major contributed to this issue not seeing progress.
Comment 12 Alexey Dokuchaev freebsd_committer freebsd_triage 2021-07-13 09:43:27 UTC
(In reply to Kubilay Kocak from comment #11)
> The lack of an attached patch is likely a major contributed to this issue
> not seeing progress.
I doubt it, and the discussion above does not support this assumption of yours.  How hard is to do something like:

> cd /usr/ports/www
> curl https://dns.company/downloads/openlitespeed/lsws.shar.txt | sh
Comment 13 Kurt Jaeger freebsd_committer freebsd_triage 2021-07-13 09:44:52 UTC
(In reply to Kubilay Kocak from comment #11)
No, it was not the lack of a patch, but lack of time to look at it.
Comment 14 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-13 09:53:29 UTC
(In reply to Kurt Jaeger from comment #13)

The current status is needs a patch update per comment 8, with the original reporters feedback requested.

Please either of you, either self-assign and resolve, or, update the metadata to help the issue to progress, but otherwise lets keep the arm-chair noise down hey.
Comment 15 Lapo Luchini 2021-08-31 12:41:36 UTC
I see the shar is huge because the pkg-plist contains a lots of files… from a quick inspection it seems to contain all sources (and tests) of PHP 5.6.37 under the folder "%%ETCDIR%%/lsws/phpbuild/php-5.6.37", which is probably because of this line in Makefile:

    CONFIGURE_ARGS+= --prefix=${ETCDIR}/lsws
Comment 16 Daniel Engberg freebsd_committer freebsd_triage 2021-12-08 22:19:01 UTC
Leo, do you want to give this a try using a current version (1.7.14) otherwise I think we can close this until there's a patch ready for review.
Comment 17 Daniel Engberg freebsd_committer freebsd_triage 2022-02-12 08:33:54 UTC
Friendly ping
Comment 18 Leo Vandewoestijne 2022-04-05 11:45:22 UTC
They are not making my job easy. And it's very focused on Linux.
Also insists much on embedding from source, like still installing BoringSSL while I'm asking and defining OpenSSL.

In the past I was able to install, now I come to the point where I can't avoid Pagespeed: fails on missing third-party/psol-1.11.33.4/lib/Debug/linux/ia32/pagespeed_automatic.a

Based on Lapo Luchini's comment I tried USE_PHP
That at least made the shar much smaller.

So I will drop the latest shar here.
But I doubt it's worth the effort trying to make this port work.

Initially I was interested because of Speedy and QUIC,
but meanwhile everybody already started supporting HTTP 3.0
Comment 19 Leo Vandewoestijne 2022-04-05 11:46:12 UTC
Created attachment 232959 [details]
openlitespeed