Bug 249370 - www/sogo5 SOGo Version 5 is available
Summary: www/sogo5 SOGo Version 5 is available
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-09-16 11:53 UTC by Lars Liedtke
Modified: 2020-11-18 17:12 UTC (History)
3 users (show)

See Also:

Updated Makefile for sogo5 (2.66 KB, text/plain)
2020-09-16 12:10 UTC, Lars Liedtke
no flags Details
attempt at new sogo5 port / shar file (179.73 KB, text/plain)
2020-11-18 17:10 UTC, Martin Waschbüsch
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Liedtke 2020-09-16 11:53:23 UTC
Hey there,

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
-       -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.

Thank you,
Comment 1 Lars Liedtke 2020-09-16 12:10:44 UTC
Created attachment 218003 [details]
Updated Makefile for sogo5

This is how I upgraded the Makefile
Comment 2 ari 2020-10-28 02:32:10 UTC
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.
Comment 3 Martin Waschbüsch 2020-11-18 17:10:16 UTC
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?
Comment 4 Martin Waschbüsch 2020-11-18 17:12:29 UTC
I can also give provide the sope5 and sogo5-activesync files (though they are rather straightforward updates from version 4)