diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /gnustep-apps/sogo | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'gnustep-apps/sogo')
-rw-r--r-- | gnustep-apps/sogo/Manifest | 2 | ||||
-rw-r--r-- | gnustep-apps/sogo/sogo-4.1.1.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest index 5b076758f656..45f7b198907e 100644 --- a/gnustep-apps/sogo/Manifest +++ b/gnustep-apps/sogo/Manifest @@ -2,6 +2,8 @@ AUX sogod.confd 117 BLAKE2B c47c8a6376967682571cd62766d0cf2422f35dc5ecbf599c616a AUX sogod.initd 681 BLAKE2B b8a55f93a0e623bb5aa13d10658aba644cb9a532d7a5c02beeee8d7e01365944531e081afe77562da8da77a42bec10a125bd386ede063ad230e0135e8bd56c03 SHA512 d6925d49c24ff6ebfd989016a5c0a707c1bc866070cbd9e4e8eca867ec81fe1ad78bd6606b13349ac7d251f62bd85f239b42f65e1d22015c38b4ad6fe9058f4e DIST sogo-4.0.7.tar.gz 34455581 BLAKE2B 471ae8fc503fb2282cbd585286c0eede4e91e14bd9314a02089ffb0c69a8453538902cc26a4ebfdcacdce3d90f2d640221e1b452ad4b6a8064de89b1694eee7e SHA512 8e7eb946ab6ad8c47e6b612723675704602199b530c760ded5325f1230d89e7a812a61d9e652c7eca3050ed0bd0dd33d95faf2478f58a82dcba745cce4906675 DIST sogo-4.0.8.tar.gz 34439405 BLAKE2B 603ef52d305c13e2d5d200b53143771ceb762c97f4f6e09aff31091f482bb43fa2638f88fcd676770b55da6e85c072dbf884c8cce20d2a71c8d62d0a98e30089 SHA512 7f8d7e3af2c92d7684f2ce3343fd9c079d567e2f09fc5ae1405e46b8eee460ab8e4349c03020bc8e55993472021633f9e37d3d8c3136a485dff1d32f45ba200a +DIST sogo-4.1.1.tar.gz 34492410 BLAKE2B 43c15991eede15b58d22681297d7d2d8031ee189e4b843af7c44e52a915d89d30c181dc52c25e4784b0e9011f5d6f22bf070b9125491fe37360ced2b623c0f86 SHA512 e24d4b7f71eeed05dcb694ee07a03df6ac9a63d7fb9455f972add9c251f85e1418683a95de5b584b0db3a471d593c8595b343db1345fcb95235ba59a09235d5a EBUILD sogo-4.0.7.ebuild 2369 BLAKE2B 3a9de101f3fceec95c90578dcfaf3d9aac54a32e64c143168257b7cc1c3da888d9a0863c7540f3fcf1ade0bae175c96d680834dc4a15ed5314c5c28bda801482 SHA512 fffe2d8466b3e6acb26996e6d57f5b99df92b952c4a9f9cfcd5c3fd8cd0ecec1a2b1a3b572da0a743b938dc02a6549d205257fc817776eabdbb958297f11765e EBUILD sogo-4.0.8.ebuild 2420 BLAKE2B 412c6a0933dd68543322a73a86728dad3821d24362ece1c66ecac861983ca759c1fe7ee428b01e6b22a50a5aee1bf666ffce2bd0c6db94748a89ae6c947b4c45 SHA512 3d4dd66667ecc4e7abf18cc2e253b5fc2bacf19db291fc1b71dfd2f628a95ff7ae5f5fc21a969c6938b32a83aca8e4c5220f102e992e0eff6089bb852412cd5d +EBUILD sogo-4.1.1.ebuild 2420 BLAKE2B 6a254dd340a320402e80134fedc5110966123e5defd2a4f9137347c6ced1e5cb64ef86dd3db161bcb7e94ac877f6474ea22e2b07911ea3e8a913aa7bba175405 SHA512 09403d0fa3560ae17afb4fe5f2996394b6092a1a2005d95f56b045f5461d35b1b56762d40673a96297d709f9c6b0d252969c1e8b4418d821ac9a61f5d505932d MISC metadata.xml 420 BLAKE2B 01ddf5e2497af3ba252d13d3e8b1f71ae8e96fd6166e83fbac50948ff34d5cd78f0ab5de9cfbc1381dd7ddb97eaef170428d73f6a40418690d29606ec0d1f5a2 SHA512 50781541f5c41a5fd2f2ecb5c0dc9cb8110691634471b572580cda5bcb5e8cf486edb959f95ddadb0af9cac319132030a0978f970c79d1eb23a3faeb9b5a200f diff --git a/gnustep-apps/sogo/sogo-4.1.1.ebuild b/gnustep-apps/sogo/sogo-4.1.1.ebuild new file mode 100644 index 000000000000..e7e2290ee3e0 --- /dev/null +++ b/gnustep-apps/sogo/sogo-4.1.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="activesync gnutls libressl +ssl" + +RDEPEND=" + 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 +} + +pkg_setup() { + enewgroup sogo + enewuser sogo -1 /bin/bash /var/lib/sogo sogo +} + +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 +} |