Re: FreeBSD port of the Omada SDN Controller

Marcin Cieslak <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On Mon, 20 Oct 2025, Mark Felder wrote:

>
> On 8/31/25 6:06 AM, Marcin Cieslak wrote:
>> 
>> JARFILE=../Omada_SDN_Controller_v5.15.24.19_linux_x64/lib/omada-common-5.15.24.19.jar 
>> ISLINUXOS_CLASS="com/tplink/smb/omada/common/util/S.class"
>> 
>> patch() {
>>         new_class_dir=`mktemp -d`
>>         trap 'rm -rf -- "${new_class_dir}"' EXIT
>>         dest_dir=`dirname "${ISLINUXOS_CLASS}"`
>>         mkdir -p "${new_class_dir}/${dest_dir}"
>>         unzip -p "${JARFILE}" "${ISLINUXOS_CLASS}" | xxd -p -c 0 | {
>>                 sed -e s,0100056c696e7578,01000766726565627364,
>>         } | xxd -r -p > "${new_class_dir}/${ISLINUXOS_CLASS}"
>>         jar uf "${JARFILE}" -C "${new_class_dir}" "${ISLINUXOS_CLASS}"
>> }
>> 
>
> This is amazing, I was able to adapt it to the port and it really works! 
> Sorry about the delay, too many irons in the fire. It's being committed 
> momentarily... I'll reach out privately about settling that bounty :)

The bounty has been settled. It was a pleasure to work with you, thank you very much!

Marcin
smime.p7s (application/pkcs7-signature, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.