mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
gnustep-apps/sogo: Version bump (bug 620084).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST sogo-3.2.6a.tar.gz 32285592 SHA256 07ba2527dab193c5424bc0dd4a9fb53e266c68936011a7245bf5e81e97366a62 SHA512 9b24ab0111408f18e655a5b5ebfe251fc7b9c21914af1c2f2d23c27a7d2d635a8ec0c0119752c7757d2ed878db018c483a8516911e89f5892c1d8fa878418471 WHIRLPOOL d02f25a4360ceea3ccab8f40b3ec726a4ef7792afb412cf415874727abdce1c828e231058be80b3ec5c970c929a33dc3145b82fac8ec13ffdf8b7a9c7d5bc58a
|
||||
DIST sogo-3.2.8.tar.gz 32338801 SHA256 cc974f3e486c1b3897ed27c17cedb46b06580bab18a9a6a022fdebd38316ba3d SHA512 34a964e707879c0b6438fca7e7205f454a6bff080ccfc2bdd0b5bd1ffd2c4fcb6fd381e4f168bb2e716d5083f3bfd9d7887fa31b1cfb216a5810b1ffe7d72ca2 WHIRLPOOL 6c3645f3d25358508538baef2c3aebd7d4744f988745bc9117565ba0d373c010c0894083935ba7469c4199d37bf66623c21566fc0856a100f1397bdc2792d934
|
||||
DIST sogo-3.2.9.tar.gz 32443733 SHA256 c28591e738c5c57428c63504a52ef527898e7a4c6af444ccfe988ccfb5c4f8b1 SHA512 070b3812d65598364d9204432678ea48705bf7481371e44442a13ad86d219415e24c579ad59212a7631922a527d30e69aeb17711c3abfc01960f663f4e0112a3 WHIRLPOOL bb8dd3053c96acb507a3d620a191ebe6225d157995af4428b66755bf38061226cd4d9537413117477d40c095531ca46040d28c78b97f2aeea520bb4ae318683c
|
||||
|
||||
100
gnustep-apps/sogo/sogo-3.2.9.ebuild
Normal file
100
gnustep-apps/sogo/sogo-3.2.9.ebuild
Normal file
@@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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.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_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}"
|
||||
}
|
||||
Reference in New Issue
Block a user