Bug 220577 - net-mgmt/unifi5: Update to 5.4.18
Summary: net-mgmt/unifi5: Update to 5.4.18
Status: Closed DUPLICATE of bug 220461
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Felder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-09 12:06 UTC by David Harrigan
Modified: 2017-07-09 20:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (feld)


Attachments
Patch File (4.70 KB, patch)
2017-07-09 12:06 UTC, David Harrigan
dharrigan: maintainer-approval+
Details | Diff
Poudriere Test Run (23.50 KB, text/x-log)
2017-07-09 12:07 UTC, David Harrigan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Harrigan 2017-07-09 12:06:47 UTC
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=-
Comment 1 David Harrigan 2017-07-09 12:07:12 UTC
Created attachment 184198 [details]
Poudriere Test Run
Comment 2 Mark Felder freebsd_committer freebsd_triage 2017-07-09 20:41:13 UTC
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 ***