mmokhi commented on issue #1073: Support FreeBSD URL: https://github.com/apache/incubator-pagespeed-mod/issues/1073#issuecomment-386199161 On FreeBSD there is a Nginx port in the port-tree which is very straightforward to build (`make [config]; make install;`) and even easy to extend. The thing that slowed me to add nginx pagespeed to it, was this part from the official nginx-pagespeed *build* guide 👇 ``` psol_url=https://dl.google.com/dl/page-speed/psol/${NPS_RELEASE_NUMBER}.tar.gz [ -e scripts/format_binary_url.sh ] && psol_url=$(scripts/format_binary_url.sh PSOL_BINARY_URL) wget ${psol_url} ``` There are two problems with this (that I'm trying to solve 😃 😅 ) 1. We can't assume a Linux shared-object to work just straightforward in FreeBSD 2. It's not nice to copy/use binaries in port-tree IMO, during build **I guess** the PSOL being copied is the shared-object being produced while building apache-pagespeed... If so we just can make the nginx depending on the apache's mod_pagepseed in FreeBSD and then copy the file and make the nginx-pagespeed built... It just depends on if my **guess** is right 😅
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services