so there are the notes in zimbra community builds wiki on sourceforge, (zimbra communiti builds project),
some version of zimbra patches somewhere on sourceforge,
and a very old version of Third party zimbra patches on
Build notes for Zimbra v5 on Solaris - ACS - Confluence
I'm going to build with these, and with sources of 5.0.12 from sourceforge (I still was not able to get sources by p4).
If somebody have the third party patches saved from sourceforge zimbra community build, please share, I think it will do the task much easier.