Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650022 - gnustep-apps/sogo-4.0.7 version bump
Summary: gnustep-apps/sogo-4.0.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL: https://sogo.nu/news/2018/sogo-v400-r...
Whiteboard:
Keywords:
: 680604 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-09 15:41 UTC by Kristian
Modified: 2019-04-03 21:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for sogo and sope 4.0.7 (sogo_sope-4.0.7.ebuilds.tar.gz,4.12 KB, application/gzip)
2019-03-16 13:57 UTC, Nelvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian 2018-03-09 15:41:47 UTC
Hello,

SOGo 4.0.0 (together with SOPE 4.0.0) was released 7th of March 2018.
Comment 1 Jonas Stein gentoo-dev 2018-03-10 00:53:05 UTC
Thank you for the bump request. 
You can help the maintainer with further information:
Does a simple bump [1] work on your system? 

[1] https://wiki.gentoo.org/wiki/Custom_repository#Simple_version_bump_of_an_ebuild_in_the_local_overlay
Comment 2 Kristian 2018-03-10 01:08:43 UTC
Yes, a simple bump seems to work. I have not checked, if there are changed dependencies or options. My existing installation appears to work fine, from a 1 minute test.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-16 13:08:15 UTC
*** Bug 680604 has been marked as a duplicate of this bug. ***
Comment 4 Kristian 2019-03-16 13:14:17 UTC
running 4.0.7 now for three weeks. Still no changes to sogo or sope ebuild. just a simple bump. 4.0.6 had a bug in the web interface, not showing mails, but that was fixed with 4.0.7.
Comment 5 Nelvin 2019-03-16 13:57:57 UTC
Created attachment 569310 [details]
ebuild for sogo and sope 4.0.7

New ebuilds for sogo and sope 4.0.7 with activesync support
Comment 6 Bernard Cafarelli gentoo-dev 2019-03-18 14:13:40 UTC
Hi, sorry for the slow updates in this bug. Dedicated maintainer retired, and I can only mostly do compilation/basic ebuild checks (as part of gnustep team).

I will look into at least bumping with similar ebuild (and maybe that activesync support if not too broad).
Comment 7 Nelvin 2019-03-18 16:17:57 UTC
(In reply to Bernard Cafarelli from comment #6)
> Hi, sorry for the slow updates in this bug. Dedicated maintainer retired,
> and I can only mostly do compilation/basic ebuild checks (as part of gnustep
> team).
> 
> I will look into at least bumping with similar ebuild (and maybe that
> activesync support if not too broad).

Hi, no problem. 
The activesync support is very simple.
I just add this lines in the ebuild:

--- /usr/portage/gnustep-apps/sogo/sogo-3.2.10.ebuild	2017-07-25 14:04:55.000000000 +0200
+++ sogo-4.0.7.ebuild	2019-03-15 15:54:37.649328496 +0100
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,12 +7,13 @@
 
 DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server"
 HOMEPAGE="http://www.sogo.nu"
-SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="http://packages.inverse.ca/SOGo/sources/SOGo-${PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="gnutls libressl +ssl"
+IUSE="gnutls libressl +ssl activesync apache"
+S="${WORKDIR}/SOGo-${PV}"
 
 RDEPEND="
 	dev-libs/libmemcached
@@ -24,6 +25,7 @@
 		!libressl? ( dev-libs/openssl:0= )
 		libressl? ( dev-libs/libressl:= )
 	)
+	activesync? ( dev-libs/libwbxml )
 "
 DEPEND="${RDEPEND}
 	>=gnustep-base/gnustep-make-2.6.3"
@@ -40,6 +42,9 @@
 }
 
 src_prepare() {
+	if use activesync ; then
+		epatch "${FILESDIR}/activesync.patch"
+	fi
 	gnustep-base_src_prepare
 	sed -e "s/validateArgs$//" -i configure \
 		|| die "GNUstep.conf sed failed"
@@ -92,6 +97,20 @@
 
 pkg_postinst() {
 	gnustep-base_pkg_postinst
+	if use activesync; then
+        ewarn "You have enabled activesync support:"
+        ewarn "In order to use this software in production environments,"
+        ewarn "you need to get a proper usage license from Microsoft."
+        ewarn "Please contact them directly to negotiate the fees associated"
+        ewarn "to your user base."
+        ewarn "To contact Microsoft, please visit:"
+        ewarn ""
+        ewarn "http://www.microsoft.com/en-us/legal/intellectualproperty/"
+        ewarn "and send an email to iplicreq@microsoft.com"
+        ewarn "Inverse inc. provides this software for free, but is not"
+        ewarn "responsible for anything related to its usage."
+		ewarn ""
+    fi
 	elog "SOGo documentation is available online at:"
 	elog "http://www.sogo.nu/downloads/documentation.html"
 	elog

And an activesync patch under files (activesync.patch)

-- SOGo-4.0.7/GNUmakefile      2019-02-27 17:09:30.000000000 +0100
+++ GNUmakefile 2019-03-15 11:38:37.984819748 +0100
@@ -11,6 +11,7 @@
        UI              \
        Tools           \
        Tests/Unit      \
+       ActiveSync      \
 
 
 include $(GNUSTEP_MAKEFILES)/aggregate.make
Comment 8 Nelvin 2019-03-18 16:21:22 UTC
Sorry, it is the complete diff to the 3.2.10 ebuild
Comment 9 Bernard Cafarelli gentoo-dev 2019-04-03 20:59:19 UTC
OK, I changed some wording, and ebuilds pass compilation. Hopefully they work fine too, don't hesitate to open new bug reports if some issues creep in
Comment 10 Larry the Git Cow gentoo-dev 2019-04-03 21:29:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab9052477814887a435b6da52f55c294ab3b4e8b

commit ab9052477814887a435b6da52f55c294ab3b4e8b
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2019-04-03 21:01:34 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2019-04-03 21:29:44 +0000

    gnustep-apps/sogo: 4.0.7 bump
    
    Also allow to enable the ActiveSync support code
    
    Closes: https://bugs.gentoo.org/650022
    Closes: https://bugs.gentoo.org/600912
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 gnustep-apps/sogo/Manifest          |   1 +
 gnustep-apps/sogo/metadata.xml      |   3 +
 gnustep-apps/sogo/sogo-4.0.7.ebuild | 108 ++++++++++++++++++++++++++++++++++++
 3 files changed, 112 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69122d7c19b5a63cf1209e7342d20a387d027bbc

commit 69122d7c19b5a63cf1209e7342d20a387d027bbc
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2019-04-03 20:26:30 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2019-04-03 21:29:43 +0000

    gnustep-libs/sope: 4.0.7 bump
    
    Bug: https://bugs.gentoo.org/650022
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 gnustep-libs/sope/Manifest          |  1 +
 gnustep-libs/sope/sope-4.0.7.ebuild | 62 +++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)