Created attachment 243925 [details] Update to 4.7.1 Changes for 4.6: * Don't fetch platform ID everytime * fix the setsockopt call to (un)cork the socket Changes for 4.7.1: * Misc. build fixes * Remove usage of removed Mono.Security APIs and redirect xsp2 -> xsp4 The project doesn't provide any up-to-date changelog I found some issues running the sample webserver code as described in the INSTALL file[1] running the command : fetch "http://127.0.0.1:9000/" The same error occurs with the current version in port (4.5) to me *this looks like a mono issue* ---- % (cd /usr/local/lib/xsp/test && xsp4) xsp4 Listening on address: 0.0.0.0 Root directory: /usr/local/lib/xsp/test Listening on port: 9000 (non-secure) Hit Return to stop the server. System.IO.IOException: kevent() error at initial event registration, error code = '9' at System.IO.KqueueMonitor.Start () [0x0009f] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher fsw) [0x00033] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.FileSystemWatcher.Start () [0x00000] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at System.IO.FileSystemWatcher.set_IncludeSubdirectories (System.Boolean value) [0x00022] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_IncludeSubdirectories(bool) at System.Web.HttpApplicationFactory.WatchLocationForRestart (System.String virtualPath, System.String filter, System.Boolean watchSubdirs) [0x00056] in <d6b4a86d64cf4f0ba7001bead8cf207f>:0 at System.Web.HttpApplicationFactory+<>c.<InitType>b__38_0 (System.Object <p0>) [0x00000] in <d6b4a86d64cf4f0ba7001bead8cf207f>:0 ---- [1] https://github.com/mono/xsp/blob/main/INSTALL
I see that you have a ports commit bit, so no approval is needed. Are you looking for code review?
(In reply to Robert Clausecker from comment #1) Yes a review would be beneficial, not about the changes I made on the port but to figure out if the code still working on FreeBSD. As I said in my first message, I try to run some sample code provided for test with the xsp package, and neither the current version nor the updated one work as expected. Due to my little knowledge on Mono, I don't know if the code doesn't work at all or if I'm doing something wrong. I would appreciate some feedback from the FreeBSD mono team, if we still having people working on that field. Best regards -- rodrigo
(In reply to Robert Clausecker from comment #1) I sent a message to freebsd-mono ML about this PR asking for feedbacks.
The port is updated to 4.7.1 (https://cgit.freebsd.org/ports/commit/www/xsp?id=b893bc6c024a77e8f391187c81a7808f60e4e63f). Do you want this PR open or can close it?