Created attachment 184197 [details] Patch File Hi There! Patch file to bring Unifi5 up to the latest 5.4.18. Poudriere test run also included. Note, I've removed the dependency within the Makefile to archivers/snappy-java which is very out-of-date. It's using the version of snappy-java that is bundled with the Unifi distribution (similar to the other jars in the distro, such as spring). I've booted unifi5 (5.4.18) within the jail and was able to log in and setup as normal. I hope this is okay. If I get some time later, I can look to upgrade archivers/snappy-java to the latest, but I don't think this port should depended upon the external java jar since it (snappy-java) doesn't seem to maintained (in the sense of ensuring the latest version is ported, not simply maintained to ensure it continues to work on FreeBSD changes). Please can this patch be tested and applied to ports. Thank you. -=david=-
Created attachment 184198 [details] Poudriere Test Run
Extract the snappy-java-1.1.2.6.jar that comes with Unifi and you will find it has no FreeBSD support: find org/xerial/snappy/native/ org/xerial/snappy/native/ org/xerial/snappy/native/AIX org/xerial/snappy/native/AIX/ppc64 org/xerial/snappy/native/AIX/ppc64/libsnappyjava.a org/xerial/snappy/native/AIX/ppc org/xerial/snappy/native/AIX/ppc/libsnappyjava.a org/xerial/snappy/native/Linux org/xerial/snappy/native/Linux/aarch64 org/xerial/snappy/native/Linux/aarch64/libsnappyjava.so org/xerial/snappy/native/Linux/x86_64 org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so org/xerial/snappy/native/Linux/ppc64le org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so org/xerial/snappy/native/Linux/x86 org/xerial/snappy/native/Linux/x86/libsnappyjava.so org/xerial/snappy/native/Linux/arm org/xerial/snappy/native/Linux/arm/libsnappyjava.so org/xerial/snappy/native/Linux/ppc64 org/xerial/snappy/native/Linux/ppc64/libsnappyjava.so org/xerial/snappy/native/Linux/armhf org/xerial/snappy/native/Linux/armhf/libsnappyjava.so org/xerial/snappy/native/Linux/s390x org/xerial/snappy/native/Linux/s390x/libsnappyjava.so org/xerial/snappy/native/Windows org/xerial/snappy/native/Windows/x86_64 org/xerial/snappy/native/Windows/x86_64/snappyjava.dll org/xerial/snappy/native/Windows/x86 org/xerial/snappy/native/Windows/x86/snappyjava.dll org/xerial/snappy/native/README org/xerial/snappy/native/Mac org/xerial/snappy/native/Mac/x86_64 org/xerial/snappy/native/Mac/x86_64/libsnappyjava.jnilib org/xerial/snappy/native/Mac/x86 org/xerial/snappy/native/Mac/x86/libsnappyjava.jnilib org/xerial/snappy/native/SunOS org/xerial/snappy/native/SunOS/x86_64 org/xerial/snappy/native/SunOS/x86_64/libsnappyjava.so org/xerial/snappy/native/SunOS/x86 org/xerial/snappy/native/SunOS/x86/libsnappyjava.so org/xerial/snappy/native/SunOS/sparc org/xerial/snappy/native/SunOS/sparc/libsnappyjava.so This means functionality such as adopting access points is broken. Hilariously, they're now shipping support for UniFi on IBM AIX and Solaris I guess? Weird. This is also a duplicate bug so I'm closing it. *** This bug has been marked as a duplicate of bug 220461 ***