gnustep-apps/sogo: update with support for active sync

This commit is contained in:
Joerg Deckert 2018-03-01 09:08:27 +01:00
parent 768e27601c
commit e74886c423
2 changed files with 120 additions and 0 deletions

View File

@ -1,4 +1,6 @@
AUX sogod.confd 117 SHA256 a556b2501155ebb9e2bd57fe8b32011ebca67530b4908d1cb0f87473ba80803a SHA512 d93bde8c500bf8452d5f32efc35ec12f436afc498d7cc6ac1f55769f8696c9b41cc5edec829a19ea01b24c0d3a2c7901fc797cb04ced371bc8e0c3e6e243f15b WHIRLPOOL 189dc32b8fa8f7ef2dbdec29515423ce4771ea18f1b3d539a85bb5e9b7148e26b2d37fd089ccccd4646793eaded6a01d43f2674fc98bd9537bc7b72053ec1355 AUX sogod.confd 117 SHA256 a556b2501155ebb9e2bd57fe8b32011ebca67530b4908d1cb0f87473ba80803a SHA512 d93bde8c500bf8452d5f32efc35ec12f436afc498d7cc6ac1f55769f8696c9b41cc5edec829a19ea01b24c0d3a2c7901fc797cb04ced371bc8e0c3e6e243f15b WHIRLPOOL 189dc32b8fa8f7ef2dbdec29515423ce4771ea18f1b3d539a85bb5e9b7148e26b2d37fd089ccccd4646793eaded6a01d43f2674fc98bd9537bc7b72053ec1355
AUX sogod.initd 688 SHA256 ad809f65086290b6c2320b7a3ac3a340451155b00cd3c815bb44509354124ead SHA512 a1ad645a658ab4148fc6af7dbac7243148a887c38691229ccea3e3eb6a57401fca896e5d57f516e66c838baac20c207c762c18d7b0919fb75e06d2489e5feba1 WHIRLPOOL d22078273cf485e3355d00c10bbe334ff71cea965802dcf6b93c5a650201deed8469e67f2a6dc06782949e8341c20ba929f3341f2d9031e60a6bd1f796ce59f2 AUX sogod.initd 688 SHA256 ad809f65086290b6c2320b7a3ac3a340451155b00cd3c815bb44509354124ead SHA512 a1ad645a658ab4148fc6af7dbac7243148a887c38691229ccea3e3eb6a57401fca896e5d57f516e66c838baac20c207c762c18d7b0919fb75e06d2489e5feba1 WHIRLPOOL d22078273cf485e3355d00c10bbe334ff71cea965802dcf6b93c5a650201deed8469e67f2a6dc06782949e8341c20ba929f3341f2d9031e60a6bd1f796ce59f2
DIST sogo-3.2.1.tar.gz 32210103 SHA256 9faef922937f1413c1567e91cf865f577be43cc455c7124e3711bcdb49c7ded3 SHA512 0f8207d1f555982965870971f7130ad7868f4b904e3d6c8a2af9b0226820008174867a8515cd6e7775e9e0e4a3f1de98f73482425bec0c81b6d382ff9fe4a5ee WHIRLPOOL 529b03fd216289701d0af3a77236cc103693a366d597d6992c22d863bb9f7562462c906c1b2e78a72d922770dad953035b3e0c21d9ec3752ff7e8ac0d0bc7686 DIST sogo-3.2.1.tar.gz 32210103 SHA256 9faef922937f1413c1567e91cf865f577be43cc455c7124e3711bcdb49c7ded3 SHA512 0f8207d1f555982965870971f7130ad7868f4b904e3d6c8a2af9b0226820008174867a8515cd6e7775e9e0e4a3f1de98f73482425bec0c81b6d382ff9fe4a5ee WHIRLPOOL 529b03fd216289701d0af3a77236cc103693a366d597d6992c22d863bb9f7562462c906c1b2e78a72d922770dad953035b3e0c21d9ec3752ff7e8ac0d0bc7686
DIST sogo-3.2.10.tar.gz 32528115 SHA256 3bad2d871c750346624bae3b66e25080727391be40f71477f7c3102c7bc559ce SHA512 3dbd465592fd98968b32e251659a70306a781999bcfa9e63e142d75d7c9274edc7cbe5069881e939f0e9472f0ef8580e4e0f20059bfc97f8c69893d86c8cadf3 WHIRLPOOL 99e47eb3f95e04b07e354d0522e186c5c27ed0e74012e1cacf06cfbdbe083002184123b602e7ad1c062ef2ab3fff865e54d921b1a1474331756552db53335aad
EBUILD sogo-3.2.1.ebuild 2325 SHA256 79f42b4c4d079e81ba1fe98d2b48bc6c308526ff3cb160316491c1770d2f7f9e SHA512 7aac40a8ca52e0a3ff67f4df0ecd991e1cfc3c33486eace451f77eee2e60d802f10c99ce5c6205084f5ce5f8be217639ed2490a69e6e80688836f7094aedc635 WHIRLPOOL 95fbab8909bf4b443dc7cb61e4694575cd94112df9d2c8fd8c938a50eb31338427bfb1e046c5764ceee0c7d0fdf94e98c34139ca6d43b9498208824ed6e8d124 EBUILD sogo-3.2.1.ebuild 2325 SHA256 79f42b4c4d079e81ba1fe98d2b48bc6c308526ff3cb160316491c1770d2f7f9e SHA512 7aac40a8ca52e0a3ff67f4df0ecd991e1cfc3c33486eace451f77eee2e60d802f10c99ce5c6205084f5ce5f8be217639ed2490a69e6e80688836f7094aedc635 WHIRLPOOL 95fbab8909bf4b443dc7cb61e4694575cd94112df9d2c8fd8c938a50eb31338427bfb1e046c5764ceee0c7d0fdf94e98c34139ca6d43b9498208824ed6e8d124
EBUILD sogo-3.2.10-r99.ebuild 2325 SHA256 1829cf8f8e7f24519f38b08585461d8a67e4137f68a2d10bce41e2f361b1bb51 SHA512 ae708046ba006e844f94d9bdc0dd99e8798ae79a9c7fabccdcc03d42fbcebb89685f7fb30e1c6947e1ffee1935e322373ff048e05a1a07412ec7d85fce1a49dc WHIRLPOOL 26320671bab327c1911fe12756bcaf8e8391068afb7acf42bacabb828603189bcd936c63f8dc90e18b7387e47928238d54537fa1f3c444b25130bb8e4075a636

View File

@ -0,0 +1,118 @@
# Copyright 1999-2018 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="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() {
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_compile() {
gnustep-base_src_compile
if use activesync ; then
cd ActiveSync
emake
fi
}
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
if use activesync ; then
cd ActiveSync
egnustep_env
egnustep_install
cd ..
fi
}
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}"
}