From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EF8415808A for ; Fri, 18 Jul 2025 15:18:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7B1BF340FB4 for ; Fri, 18 Jul 2025 15:18:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6EF88110560; Fri, 18 Jul 2025 15:18:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 648D5110560 for ; Fri, 18 Jul 2025 15:18:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B2FA340F92 for ; Fri, 18 Jul 2025 15:18:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF7ED323D for ; Fri, 18 Jul 2025 15:18:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1752851889.0af42e7b4c8bcbff7cd033f46e727ecda46abc01.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnustep-apps/sogo/sogo-5.2.0-r1.ebuild X-VCS-Directories: gnustep-apps/sogo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0af42e7b4c8bcbff7cd033f46e727ecda46abc01 X-VCS-Branch: master Date: Fri, 18 Jul 2025 15:18:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 20e1d4ba-ab65-4055-9e82-de34dcc404b7 X-Archives-Hash: 70b9cbc6e8d99283bf4239b593d31ddc commit: 0af42e7b4c8bcbff7cd033f46e727ecda46abc01 Author: Sam James gentoo org> AuthorDate: Fri Jul 18 15:13:53 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 18 15:18:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af42e7b gnustep-apps/sogo: allow use of dev-libs/libmemcached-awesome dev-libs/libmemcached-awesome is an API & ABI compatible fork of dev-libs/libmemcached. The latter hasn't had updates or fixes in quite some time. Signed-off-by: Sam James gentoo.org> gnustep-apps/sogo/sogo-5.2.0-r1.ebuild | 104 +++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/gnustep-apps/sogo/sogo-5.2.0-r1.ebuild b/gnustep-apps/sogo/sogo-5.2.0-r1.ebuild new file mode 100644 index 000000000000..f68050eb0e6c --- /dev/null +++ b/gnustep-apps/sogo/sogo-5.2.0-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnustep-2 vcs-snapshot + +DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server" +HOMEPAGE="https://www.sogo.nu" +SRC_URI="https://github.com/Alinto/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="activesync gnutls +ssl sodium" + +RDEPEND=" + acct-user/sogo + || ( + dev-libs/libmemcached-awesome + dev-libs/libmemcached + ) + net-misc/curl + net-misc/memcached + >=gnustep-libs/sope-${PV}[ldap] + activesync? ( dev-libs/libwbxml ) + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + dev-libs/openssl:0= + ) + sodium? ( dev-libs/libsodium:= ) +" +DEPEND="${RDEPEND} + >=gnustep-base/gnustep-make-2.6.3" + +src_prepare() { + gnustep-base_src_prepare + sed -e "s/validateArgs$//" -i configure \ + || die + if use activesync; then + sed -e 's/Tests\/Unit/ActiveSync &/g' \ + -i GNUmakefile || die + fi + + default +} + +src_configure() { + local ssl_provider + if use ssl ; then + if use gnutls ; then + ssl_provider=gnutls + else + ssl_provider=ssl + fi + else + ssl_provider=none + fi + + egnustep_env + + # saml2 requires liblasso, mfa requires liboath + ./configure \ + --disable-strip \ + --prefix=/usr \ + --with-ssl="${ssl_provider}" \ + $(use_enable debug) \ + $(use_enable sodium) \ + || die "configure failed" +} + +src_install() { + gnustep-base_src_install + + newconfd "${FILESDIR}"/sogod.confd sogod + newinitd "${FILESDIR}"/sogod.initd sogod + + insinto /etc/logrotate.d + newins Scripts/logrotate sogo + newdoc Apache/SOGo.conf SOGo-Apache.conf + + insinto /etc/sogo + doins Scripts/sogo.conf + + insinto /etc/cron.d + newins Scripts/sogo.cron sogo + keepdir /var/log/sogo + + fowners sogo:sogo /var/log/sogo + fowners -R root:sogo /etc/sogo +} + +pkg_postinst() { + gnustep-base_pkg_postinst + elog "SOGo documentation is available online at:" + elog "https://www.sogo.nu/support.html#/documentation" + elog + elog "Apache sample configuration file is available in:" + elog "/usr/share/doc/${PF}" + if use activesync; then + ewarn "In order to use the SOGo ActiveSync support code in production environments," + ewarn "you need to get a proper usage license. Check the documentation for details." + fi +}