summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-09-23 17:57:32 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2019-09-23 18:33:03 +0200
commitbce4e01cd742a98ece241f884cdf6e96968b4842 (patch)
tree2f0a5165bcc050c4cec8003e03be485bc51b7265 /gnustep-libs
parentdev-db/mariadb: Version bump for 10.2.27 (diff)
downloadgentoo-bce4e01cd742a98ece241f884cdf6e96968b4842.tar.gz
gentoo-bce4e01cd742a98ece241f884cdf6e96968b4842.tar.bz2
gentoo-bce4e01cd742a98ece241f884cdf6e96968b4842.zip
gnustep-libs/sope: 4.0.8 bump
Bug: https://bugs.gentoo.org/693680 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-libs')
-rw-r--r--gnustep-libs/sope/Manifest1
-rw-r--r--gnustep-libs/sope/sope-4.0.8.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/gnustep-libs/sope/Manifest b/gnustep-libs/sope/Manifest
index 859c54811207..0ffa42d03bbb 100644
--- a/gnustep-libs/sope/Manifest
+++ b/gnustep-libs/sope/Manifest
@@ -1,3 +1,4 @@
DIST sope-3.2.10.tar.gz 2197170 BLAKE2B 29c3400d3162b2bd659d06fbd806fcfa3307fbf6f00048567e26c3fdac5e492bd511773b402f79b92db457e9dc995b5dadd5dc84baf6cbd89b463ae5e4d65457 SHA512 09c0e8ca7333e89c48e30b19dc3bbacca5a28688145848ff332ff304f92a791b3895774e5fd1f77c6d4c8615ecb5a461ba348792502fc7c5bbd9d445a191bccf
DIST sope-3.2.9.tar.gz 2196831 BLAKE2B 9f62310ed61893d85d38f192b5639de44a8e6240463563c64e9c0551624c9bfafdddad5e6a819f15cf7fa12842d55fe417bff3972fe42fe07ac8e99655d90730 SHA512 ffa3d63eed5862aba9740ab84408297218ad6cd75b0dc7e40f2810366281bf139c55e27c11405b51dc1cf640d5f5434ee14c2d5f1d0384ad50684c23d8bc58b7
DIST sope-4.0.7.tar.gz 2200743 BLAKE2B 1ab31ca92821b5febbcfa7776292a565216e40d6fdbe9afdf8bb97bb445a654716d3abd4736821b881cb464c3b7e46353910ab38fd853f89581eb248db0155d3 SHA512 6d723278f714f01b215e7b0cf046008b6448c84daddde4ad1f3434b8154a8bcede3adaa11c980b4f4b9c4950a07d545185483cf8ba75a8bac91e86437dc6e74b
+DIST sope-4.0.8.tar.gz 2201872 BLAKE2B e0838fcf462bdd143a9b42aba0c775e414769f04f351073238f3554d24c95103f8fc781dcb57c540e295af6d92586e2c3da3e730952155f063dd7e8844959e04 SHA512 6ecf9b473e3b8e556578efc74036e60fb4b07cad837df034471f56dfc08507332470b2ced2db6c5206adbf73cf27c1743b57fa8fc154d9bd7a7865f68c1fa98c
diff --git a/gnustep-libs/sope/sope-4.0.8.ebuild b/gnustep-libs/sope/sope-4.0.8.ebuild
new file mode 100644
index 000000000000..cbe33b68f8f9
--- /dev/null
+++ b/gnustep-libs/sope/sope-4.0.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnustep-2 vcs-snapshot
+
+DESCRIPTION="A set of frameworks forming a complete Web application server environment"
+HOMEPAGE="http://www.sogo.nu/"
+SRC_URI="https://github.com/inverse-inc/sope/archive/SOPE-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnutls ldap libressl mysql postgres +ssl +xml"
+
+RDEPEND="
+ sys-libs/zlib
+ ldap? ( net-nds/openldap )
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ )
+ mysql? ( dev-db/mysql-connector-c:= )
+ postgres? ( dev-db/postgresql:= )
+ xml? ( dev-libs/libxml2:2 )
+"
+DEPEND="${RDEPEND}"
+
+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
+}
+
+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
+
+ # Non-standard configure script
+ ./configure \
+ --disable-strip \
+ $(use_enable debug) \
+ $(use_enable ldap openldap) \
+ $(use_enable mysql) \
+ $(use_enable postgres postgresql) \
+ $(use_enable xml) \
+ --with-ssl="${ssl_provider}" \
+ --with-gnustep || die "configure failed"
+}