From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 365B21388BF for ; Wed, 17 Feb 2016 13:45:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C7DC21C07E; Wed, 17 Feb 2016 13:45:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FF1021C07E for ; Wed, 17 Feb 2016 13:45:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1889340D30 for ; Wed, 17 Feb 2016 13:45:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81FB715FA for ; Wed, 17 Feb 2016 13:45:06 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1455716666.7ffec2a6b2b770504338d89c795094f64b283bdc.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnustep-apps/sogo/Manifest gnustep-apps/sogo/sogo-3.0.1.ebuild X-VCS-Directories: gnustep-apps/sogo/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 7ffec2a6b2b770504338d89c795094f64b283bdc X-VCS-Branch: master Date: Wed, 17 Feb 2016 13:45:06 +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-Archives-Salt: 7a9785cd-8d19-4997-b635-7519b8220f45 X-Archives-Hash: c0bfb5517f5bca1396996bbdd6efc185 commit: 7ffec2a6b2b770504338d89c795094f64b283bdc Author: Bernard Cafarelli gentoo org> AuthorDate: Wed Feb 17 13:44:16 2016 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Wed Feb 17 13:44:26 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ffec2a6 gnustep-apps/sogo: version bump Package-Manager: portage-2.2.27 gnustep-apps/sogo/Manifest | 1 + gnustep-apps/sogo/sogo-3.0.1.ebuild | 101 ++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest index a288fdb..a08ee61 100644 --- a/gnustep-apps/sogo/Manifest +++ b/gnustep-apps/sogo/Manifest @@ -1 +1,2 @@ DIST sogo-2.3.2.tar.gz 11440737 SHA256 236812a74afdd388a10edd9b2db27f4bf8e05818d5ddd65fea9b1b43e6c7a223 SHA512 a91a710af1c36e3becf250c60e1430a012b98e9026957c9faf6c7cddc526273296f00d9df2e7c8c830887a96dfa2576ffd2dd0dfb1ed3e6fc6bfa1b9f100b792 WHIRLPOOL 66fcd37f012923f4f500f6b961dface5dab47b99e89788660728274fc752ad229b5728408e5846450e40e8bf17a54c73372ee0a9ab6666e3b100c05cd7f24cad +DIST sogo-3.0.1.tar.gz 25058324 SHA256 6c95c2f401b14be47d5fbd14a6aed9b4439346b1b337526a0744c98743d5cb5e SHA512 bec2c65dc1b8a8d00a8456294325351068ec79808029557b87620172c001936ec76bce244a4d23eba66a83e28dc8d6fdd70f5448bba0567e9f434bf3626a777c WHIRLPOOL b2ccec462d6c02bf7ccd4438a5bfa147ca0ad391257c29354a51576d9602532830fde747d0e049a340eac0efc125d5d02fed93b40139cb8ff40059a639d8ef82 diff --git a/gnustep-apps/sogo/sogo-3.0.1.ebuild b/gnustep-apps/sogo/sogo-3.0.1.ebuild new file mode 100644 index 0000000..9f4d191 --- /dev/null +++ b/gnustep-apps/sogo/sogo-3.0.1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit gnustep-2 user 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="gnutls libressl +ssl" + +RDEPEND=" + dev-libs/libmemcached + net-misc/curl + net-misc/memcached + >=gnustep-libs/sope-${PV}[ldap] + gnutls? ( net-libs/gnutls:= ) + !gnutls? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) +" +DEPEND="${RDEPEND} + >=gnustep-base/gnustep-make-2.6.2" + +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 +} + +pkg_setup() { + enewuser sogo -1 /bin/bash /var/lib/sogo +} + +src_prepare() { + gnustep-base_src_prepare + sed -e "s/validateArgs$//" -i configure \ + || die "GNUstep.conf sed failed" + + 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}" +}