diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2021-06-03 23:20:21 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-06-03 23:20:33 +0200 |
commit | 0cd0b466970f271ca7135b3ad627e7a47b8e4019 (patch) | |
tree | 3a61c21608ed37b088ebd599ca921ca26bf92670 /gnustep-apps/sogo | |
parent | gnustep-libs/sope: drop old (diff) | |
download | gentoo-0cd0b466970f271ca7135b3ad627e7a47b8e4019.tar.gz gentoo-0cd0b466970f271ca7135b3ad627e7a47b8e4019.tar.bz2 gentoo-0cd0b466970f271ca7135b3ad627e7a47b8e4019.zip |
gnustep-apps/sogo: 5.1.1 bump
Closes: https://bugs.gentoo.org/766198
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-apps/sogo')
-rw-r--r-- | gnustep-apps/sogo/Manifest | 1 | ||||
-rw-r--r-- | gnustep-apps/sogo/sogo-5.1.1.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest index cf2ba38a1acc..ddcbcc20f684 100644 --- a/gnustep-apps/sogo/Manifest +++ b/gnustep-apps/sogo/Manifest @@ -1 +1,2 @@ DIST sogo-4.3.2.tar.gz 34497548 BLAKE2B fd9e225488bbdb13b4204d1cec9ba0217049681d531e20db3d995a4928f0cd8ff658eb390a0f84375ee28fec2c7a36fb11d836939a8731e828be8d38728a6559 SHA512 eeae11c2e9c4f3d38e64ebdac4950980859af6486e229d1480c9ceb895b63229b42ceea9a17934bfd5e88c5f05c93567f5df5f29f7d68b7dafcdfc44054bc9af +DIST sogo-5.1.1.tar.gz 34263214 BLAKE2B c6a415602c931e4c703608b05036a508513eeee08d53e095ba8fa2a19ca509522ad190f8c1db78698e03818e25f221f76c097016017fc2f0aaba016043c1447e SHA512 6da4472f991da39449d8fdb05371bdc933cff8835d3501a3be475a263acb38ec10ccc43e719fb56e75fe6f5b4acd8f1f0fe3ebf1d8e734f7dbd8f28494baaff6 diff --git a/gnustep-apps/sogo/sogo-5.1.1.ebuild b/gnustep-apps/sogo/sogo-5.1.1.ebuild new file mode 100644 index 000000000000..61f0f3783496 --- /dev/null +++ b/gnustep-apps/sogo/sogo-5.1.1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2021 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 +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? ( + dev-libs/openssl:0= + ) +" +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 + + ./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 +} |