From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/
Date: Sun, 22 Dec 2019 17:48:34 +0000 (UTC) [thread overview]
Message-ID: <1577036908.972e631fe9e658058aa0b9fa58ec2d676d1d5423.voyageur@gentoo> (raw)
commit: 972e631fe9e658058aa0b9fa58ec2d676d1d5423
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 17:45:00 2019 +0000
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 17:48:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972e631f
gnustep-apps/sogo: move to GLEP 81 users
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
gnustep-apps/sogo/sogo-4.1.1-r1.ebuild | 106 +++++++++++++++++++++++++++++++++
1 file changed, 106 insertions(+)
diff --git a/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild b/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild
new file mode 100644
index 00000000000..70930df687f
--- /dev/null
+++ b/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 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="http://www.sogo.nu"
+SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="activesync gnutls libressl +ssl"
+
+RDEPEND="
+ acct-user/sogo
+ dev-libs/libmemcached
+ net-misc/curl
+ net-misc/memcached
+ >=gnustep-libs/sope-${PV}[ldap]
+ activesync? ( dev-libs/libwbxml )
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
+"
+DEPEND="${RDEPEND}
+ >=gnustep-base/gnustep-make-2.6.3"
+
+pkg_pretend() {
+ if use ssl && use gnutls && use libressl ; then
+ ewarn "You have enabled both gnutls and libressl, but only"
+ ewarn "one provider can be active. Using gnutls!"
+ fi
+}
+
+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
+
+ ./configure \
+ --disable-strip \
+ --prefix=/usr \
+ --with-ssl="${ssl_provider}" \
+ $(use_enable debug) \
+ || 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 "http://www.sogo.nu/downloads/documentation.html"
+ 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
+}
next reply other threads:[~2019-12-22 17:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-22 17:48 Bernard Cafarelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-13 14:16 [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/ Bernard Cafarelli
2021-08-31 20:03 Bernard Cafarelli
2021-08-31 20:03 Bernard Cafarelli
2021-07-07 19:25 Bernard Cafarelli
2021-06-21 22:15 Bernard Cafarelli
2021-06-03 21:22 Bernard Cafarelli
2021-05-03 7:01 Mikle Kolyada
2021-01-06 19:07 Andreas K. Hüttel
2020-07-29 17:44 Bernard Cafarelli
2019-12-22 17:48 Bernard Cafarelli
2019-12-10 12:22 Bernard Cafarelli
2019-09-24 12:56 Bernard Cafarelli
2019-09-23 16:39 Bernard Cafarelli
2019-04-03 21:29 Bernard Cafarelli
2017-07-25 12:04 Bernard Cafarelli
2017-07-17 12:21 Bernard Cafarelli
2017-05-31 12:30 Michael Weber
2017-04-15 11:21 Michael Weber
2017-04-15 11:21 Michael Weber
2017-02-05 20:24 Bernard Cafarelli
2017-02-05 20:24 Bernard Cafarelli
2016-11-07 13:11 Bernard Cafarelli
2016-11-02 12:51 Bernard Cafarelli
2016-03-24 10:08 Bernard Cafarelli
2016-03-24 10:08 Bernard Cafarelli
2016-03-09 13:39 Bernard Cafarelli
2016-02-17 13:45 Bernard Cafarelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577036908.972e631fe9e658058aa0b9fa58ec2d676d1d5423.voyageur@gentoo \
--to=voyageur@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox