Hi,
long story:
Jean-Gérard Pailloncy reported to me that www/sogo package is broken on 5.4, or
with the current snapshots.
On startup, there are unresolved symbols seen. I checked and found that the
security fix done after ports lock
did not caused it, the version before without the patch also has same problem.
But that was in the ports tree for
a long time, when updating to the 2.0.5 version I'm sure the problem was not
there, and also giovanni did not
saw it, otherwise he would have told me. Something else in between must have
caused it, and the problem went
unnoticed. I recognized it when I sent the upgrade to 2.0.6 including a fix for
it, but I thought its a problem only on
the new version. That update was sent too late before the ports lock to get in
:(
short story:
www/sope is unusable on 5.4. The fix below that should go in 5.4 branch.
Works for me, initial reporter, and also works and OK giovanni@
Is it OK to apply it 5.4 branch?
For -current, I have an update to 2.0.7 in the queue which is ready soon.
cheers,
Sebastian
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/sogo/Makefile,v
retrieving revision 1.31
diff -u -p -u -r1.31 Makefile
--- Makefile 20 Jul 2013 17:39:17 -0000 1.31
+++ Makefile 10 Aug 2013 13:15:16 -0000
@@ -3,7 +3,7 @@
COMMENT = web based groupware server
VERSION = 2.0.5
-REVISION = 0
+REVISION = 1
DISTNAME = SOGo-${VERSION}a
PKGNAME = sogo-${VERSION}.0
Index: patches/patch-UI_MailPartViewers_GNUmakefile
===================================================================
RCS file: patches/patch-UI_MailPartViewers_GNUmakefile
diff -N patches/patch-UI_MailPartViewers_GNUmakefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-UI_MailPartViewers_GNUmakefile 10 Aug 2013 13:15:16
-0000
@@ -0,0 +1,28 @@
+$OpenBSD$
+--- UI/MailPartViewers/GNUmakefile.orig Thu Jun 27 17:50:25 2013
++++ UI/MailPartViewers/GNUmakefile Sat Jun 29 16:39:10 2013
+@@ -26,6 +26,24 @@ MailPartViewers_OBJC_FILES += \
+ UIxMailPartICalViewer.m \
+ \
+ UIxMailPartICalActions.m \
++ ../../SoObjects/Mailer/SOGoMailBodyPart.m \
++ ../../SoObjects/Mailer/SOGoHTMLMailBodyPart.m \
++ ../../SoObjects/Mailer/SOGoCalendarMailBodyPart.m \
++ ../../SoObjects/Mailer/SOGoMailAccounts.m \
++ ../../SoObjects/Mailer/SOGoMailBaseObject.m \
++ ../../SoObjects/Mailer/SOGoMailAccount.m \
++ ../../SoObjects/Mailer/SOGoMailNamespace.m \
++ ../../SoObjects/Mailer/SOGoDraftsFolder.m \
++ ../../SoObjects/Mailer/SOGoSentFolder.m \
++ ../../SoObjects/Mailer/SOGoTrashFolder.m \
++ ../../SoObjects/Mailer/SOGoMailFolder.m \
++ ../../SoObjects/Mailer/SOGoDraftObject.m \
++ ../../SoObjects/Mailer/SOGoMailObject.m \
++ ../../SoObjects/Appointments/SOGoEMailAlarmsManager.m \
++ ../../SoObjects/Appointments/SOGoAppointmentObject.m \
++ ../../SoObjects/Appointments/SOGoComponentOccurence.m \
++ ../../SoObjects/Appointments/SOGoAppointmentOccurence.m \
++ ../../SoObjects/Appointments/SOGoCalendarComponent.m
+
+ MailPartViewers_RESOURCE_FILES += \
+ product.plist \
Index: patches/patch-UI_MailPartViewers_GNUmakefile_preamble
===================================================================
RCS file: patches/patch-UI_MailPartViewers_GNUmakefile_preamble
diff -N patches/patch-UI_MailPartViewers_GNUmakefile_preamble
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-UI_MailPartViewers_GNUmakefile_preamble 10 Aug 2013
13:15:16 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- UI/MailPartViewers/GNUmakefile.preamble.orig Sat Aug 10 11:26:22 2013
++++ UI/MailPartViewers/GNUmakefile.preamble Sat Aug 10 11:26:45 2013
+@@ -2,3 +2,9 @@ ifeq ($(HAS_LIBRARY_ssl),yes)
+ ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1
+ BUNDLE_LIBS += -lcrypto
+ endif
++
++ADDITIONAL_CPPFLAGS += \
++ -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 \
++ -DUIX_MAILER_MAJOR_VERSION="@\"$(MAJOR_VERSION)\"" \
++ -DUIX_MAILER_MINOR_VERSION="@\"$(MINOR_VERSION)\"" \
++ -DUIX_MAILER_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""