a few Days ago sogo5 has been released https://sogo.nu/download.html. Due to some bugs that are supposed to be fixed in this Version, it would be nice to have that available for testing. However I have not been able to reuse the sogo4(-activesync) Port in order to make a sogo5(-activesync) Port from it. It fails in patching the unit test makefile:
===> Patching for sogo5-5.0.0
===> Applying FreeBSD patches for sogo5-5.0.0 from /usr/ports/www/sogo5/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to ActiveSync/GNUmakefile.rej
===> FAILED Applying FreeBSD patch-ActiveSync_GNUmakefile
===> FAILED to apply cleanly FreeBSD patch(es) patch-ActiveSync_GNUmakefile
I tried reading the rejection, but I am not firm enough to understand, what's wrong here:
@@ -43,7 +43,10 @@
-Wall -D_GNU_SOURCE -I../../SOPE/ -I../../SoObjects/ -I../../UI/ -I../../OpenChange
ADDITIONAL_LIB_DIRS += \
- -L../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -L../../SOPE/NGCards/obj -L../../SOPE/GDLContentStore/obj -lSOGo -lNGMime -lNGCards -lGDLContentStore -lNGExtensions -lSBJson -lobjc \
+ -L../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -L../../SOPE/NGCards/obj -L../../SOPE/GDLContentStore/obj \
+ -lSOGo -lNGMime -lNGCards -lGDLContentStore -lNGExtensions \
+ -lSBJson -lGDLAccess -lNGObjWeb -lNGStreams -lEOControl -lDOM \
+ -lNGLdap -lobjc \
-L/usr/local/lib -lSaxObjC \
-Wl,-rpath,../../SoObjects/SOGo/SOGo.framework/Versions/Current/sogo -Wl,-rpath,../../SOPE/NGCards/obj -Wl,-rpath,../../SOPE/GDLContentStore/obj
ADDITIONAL_LDFLAGS += -Wl,--no-as-needed
So some help would be appreciated to build SOGo 5.
Created attachment 218003 [details]
Updated Makefile for sogo5
This is how I upgraded the Makefile
You probably want to ask acm@FreeBSD.org for help with this one. And start with removing patch-ActiveSync_GNUmakefile entirely to see if it is still needed.
Created attachment 219796 [details]
attempt at new sogo5 port / shar file
Attached is an attempt at a new sogo5 port. I had to adjust the pkg-plist as well as adjusting the patch and Makefile. Maybe it could be a starting point?
I can also give provide the sope5 and sogo5-activesync files (though they are rather straightforward updates from version 4)