General Advise/Guidance on Porting to BSD
Posted: Wed Mar 29, 2017 3:25 pm
Advise shared with me from others I talked to or who have responded to my questions about porting.
Please use the forums for general discussions and help on porting issues. Zimbra has disabled the 'issues' section (and other bits) on GitHub, the only 'communication' that takes place on GitHub is a commentary on pull requests (code reviews, etc.). You could also use the Zeta Alliance mailing lists as well - http://www.zetalliance.org/contact .
General Issues with porting for non-official platforms that aren't supported commercially by Zimbra.
1. Posting issues would not be something the Zimbra team would be very active in at this time. They have limited their official platform support based on their QA/Testing resources.
2. Third-party packages :: This is probably the most difficult part since Zimbra currently relies on special builds of certain packages. While they are moving away from Zimbra specific builds, it is an involved process and not likely to be completed soon. To port the current work, one would need to update the "packages" repository (https://github.com/Zimbra/packages) to build for the desired platform.
In the past, it has been said, that this is the only content that needs to be ported to any particular new platform. However, this might not be the case. For example, there are some additional dependencies, like junixsocket (https://github.com/kohlschutter/junixsocket), which would need platform support as well.
3. Zimbra native :: The Zimbra native package would require changes to support the appropriate platform. This package has not been updated in a long time.
Someone had shared, "I have a personal copy of this which I have building on Mac OSX (mostly untested). The changes I had to make were around includes (location of malloc has changed) and a couple of other minor things."
4. Packaging scripts :: Right now, the packaging scripts for the installer make certain assumptions about artifacts produced (for example .so extensions on shared libraries). They would need to be updated.
See older BSD porting thread for others that were interested in doing a BSD port and past discussions on it before all the recent changes announced at the NYC COMMIT conference: http://lists.zetalliance.org/pipermail/ ... d.html#170
-Ajcody
P.S. There's also some older attempts at BSD porting and references that might or might not be helpful at this time.
http://www.jupiterbroadcasting.com/show/bsdnow/
https://wiki.zimbra.com/wiki/Zimbra_on_FreeBSD
[done by -Solko]
[downloads{patches} are no longer available unfortunately]
[Has old zimbra forum links as well on BSD ports]
https://forums.freebsd.org/threads/2342/
[looks like -Solko {as solko-fbsd} was on this thread as well]
https://project.altservice.com/issues/804
https://project.altservice.com/issues/377
https://wiki.freebsd.org/WantedPorts
[Possible threads to review for contacts to help with new port]
https://www.freebsdnews.com/2008/03/24/ ... -petition/
http://freebsd.1045724.x6.nabble.com/Zi ... 82068.html
https://forums.pcbsd.org/thread-4630.html
https://forums.pcbsd.org/thread-12646.h ... ght=zimbra
https://forums.pcbsd.org/thread-11520.h ... ght=zimbra
Please use the forums for general discussions and help on porting issues. Zimbra has disabled the 'issues' section (and other bits) on GitHub, the only 'communication' that takes place on GitHub is a commentary on pull requests (code reviews, etc.). You could also use the Zeta Alliance mailing lists as well - http://www.zetalliance.org/contact .
General Issues with porting for non-official platforms that aren't supported commercially by Zimbra.
1. Posting issues would not be something the Zimbra team would be very active in at this time. They have limited their official platform support based on their QA/Testing resources.
2. Third-party packages :: This is probably the most difficult part since Zimbra currently relies on special builds of certain packages. While they are moving away from Zimbra specific builds, it is an involved process and not likely to be completed soon. To port the current work, one would need to update the "packages" repository (https://github.com/Zimbra/packages) to build for the desired platform.
In the past, it has been said, that this is the only content that needs to be ported to any particular new platform. However, this might not be the case. For example, there are some additional dependencies, like junixsocket (https://github.com/kohlschutter/junixsocket), which would need platform support as well.
3. Zimbra native :: The Zimbra native package would require changes to support the appropriate platform. This package has not been updated in a long time.
Someone had shared, "I have a personal copy of this which I have building on Mac OSX (mostly untested). The changes I had to make were around includes (location of malloc has changed) and a couple of other minor things."
4. Packaging scripts :: Right now, the packaging scripts for the installer make certain assumptions about artifacts produced (for example .so extensions on shared libraries). They would need to be updated.
See older BSD porting thread for others that were interested in doing a BSD port and past discussions on it before all the recent changes announced at the NYC COMMIT conference: http://lists.zetalliance.org/pipermail/ ... d.html#170
-Ajcody
P.S. There's also some older attempts at BSD porting and references that might or might not be helpful at this time.
http://www.jupiterbroadcasting.com/show/bsdnow/
https://wiki.zimbra.com/wiki/Zimbra_on_FreeBSD
[done by -Solko]
[downloads{patches} are no longer available unfortunately]
[Has old zimbra forum links as well on BSD ports]
https://forums.freebsd.org/threads/2342/
[looks like -Solko {as solko-fbsd} was on this thread as well]
https://project.altservice.com/issues/804
https://project.altservice.com/issues/377
https://wiki.freebsd.org/WantedPorts
[Possible threads to review for contacts to help with new port]
https://www.freebsdnews.com/2008/03/24/ ... -petition/
http://freebsd.1045724.x6.nabble.com/Zi ... 82068.html
https://forums.pcbsd.org/thread-4630.html
https://forums.pcbsd.org/thread-12646.h ... ght=zimbra
https://forums.pcbsd.org/thread-11520.h ... ght=zimbra