FreeBSD port for 1.5.0

#1
Past 5 days I tried to make a FreeBSD port.
Seems it still has some obstacles before it's perfect (both the source as the port), but... I was getting somewhere.
If you wish to have a look:

Code:
portsnap fetch extract
fetch https://dns.company/downloads/openlitespeed/lsws.shar.txt
sh lsws.shar.txt
mv openlitespeed /usr/ports/www/
cd /usr/ports/www/openlitespeed
make install clean
*should do the job*

You might need to install devel/rcs and dns/udns manually - as said the port isn't perfect yet.

If I install the port as described above it works for me.
But if I test in poudriere it fails - will post on this later.

If you have any pointers or comments please leave them here, or at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234728
 
#3
I've updated the port - the URL / instructions remain equal.
So... it's now working! - as long you keep at least the "required options".
Still it ignores a number of configure options, like for example it insists in embedding it's own openssl, even if you ask for boringssl, or like installing php5 (EoL, unmaintained) while asking for php7.

Has this knowledge base covered the OpenLitespeed installation on FreeBSD already?
https://openlitespeed.org/kb/installation-from-source-code/
It's one way. But I'm trying to have this commited to the freebsd ports repository; then installing OpenLitespeed (including all depencies) on a default FreeBSD system would as easy as a truly "single-line install" command:
Code:
pkg install openlitespeed
What I would wish for would be a (not OS specific) list of requirements and optional dependencies stating what functionality they serve.
For example I see Bash and gettext being used. I'm curious what I'm missing out because of not having certain dependencies.
Further my install still complains about not having wget and even about not having apt-get.

Anyway, it's a start, and I hope other users would be happy with it, and hopefully contribute.
Next thing I'd like to spend some time on is adding LSMCD, which seems to have atomic issues.
 

Pong

Administrator
#4
'm trying to have this commited to the freebsd ports repository; then installing OpenLitespeed (including all depencies) on a default FreeBSD system would as easy as a truly "single-line install" command:
Code:
pkg install openlitespeed
Great effort. Thanks for that.

apt-get, wget etc are more system level thing, you may need there if you compile OpenLiteSpeed from source, but you won't need them to run.
Let us know if you have any questions during the effort.
 
Top