Created attachment 177670 [details] openfire-4.0.4.patch - Update to 4.0.4 - Add LICENSE_FILE - Remove resources/nativeAuth/* nativeAuth/linux-i386/libshaj.so requires linux emulation + pam[1], not present on the ports tree. - Set architecture neutral Changelog: http://download.igniterealtime.org/openfire/docs/latest/changelog.html ===================================================================== [Q/A] testport: poudriere: i386, 9.3 (OK) poudriere: amd64, 9.3 (OK) poudriere: i386, 10.3 (OK) poudriere: amd64, 10.3 (OK) poudriere: i386, 11 (OK) poudriere: amd64, 11 (OK) poudriere: i386, 12 (OK) poudriere: amd64, 12 (OK) Same warnings on portlint: WARN: Makefile: possible use of absolute pathname "/var/log/openfire". WARN: Makefile: possible use of absolute pathname "/var/db/openfire". 0 fatal errors and 2 warnings found. Same warnings on stage-qa: ====> Running Q/A tests (stage-qa) Warning: Bad symlink '/usr/local/share/java/openfire/resources/security' pointing to an absolute pathname '/usr/local/etc/openfire' Warning: Bad symlink '/usr/local/share/java/openfire/logs' pointing to an absolute pathname '/var/log/openfire' Warning: Bad symlink '/usr/local/share/java/openfire/conf' pointing to an absolute pathname '/usr/local/etc/openfire' Warning: Bad symlink '/usr/local/share/java/openfire/embedded-db' pointing to an absolute pathname '/var/db/openfire' ===================================================================== This nativeAuth feature requires some tweaks[2] to work properly. I think it's not used on FreeBSD, thats why I am suggesting this patch. I've found libdl.so.2 and libc.so.6 through linux_base but couldn't find libpam.so.0. [1] - readelf -d work/stage/usr/local/share/java/openfire/resources/nativeAuth/linux-i386/libshaj.so | grep NEEDED 0x00000001 NEEDED Shared library: [libpam.so.0] 0x00000001 NEEDED Shared library: [libdl.so.2] 0x00000001 NEEDED Shared library: [libc.so.6] [2] - https://community.igniterealtime.org/docs/DOC-1723
A commit references this bug: Author: gahr Date: Wed Dec 7 12:48:08 UTC 2016 New revision: 428056 URL: https://svnweb.freebsd.org/changeset/ports/428056 Log: net-im/openfire: update to 4.0.4, kill Linux-based nativeAuth plugin Changelog: http://download.igniterealtime.org/openfire/docs/latest/changelog.html PR: 215056 Submitted by: Danilo G. Baio <dbaio@bsd.com.br> Changes: head/net-im/openfire/Makefile head/net-im/openfire/distinfo head/net-im/openfire/pkg-plist