1 |
commit: d994c17780bc8aa59fac89b75a2162cf277a1bf4 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 12:51:07 2016 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 12:51:25 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d994c177 |
7 |
|
8 |
gnustep-apps/sogo: version bump to 3.2.0, bug #584656 |
9 |
|
10 |
Thanks bgo for the runtime test |
11 |
|
12 |
Package-Manager: portage-2.3.2 |
13 |
|
14 |
gnustep-apps/sogo/Manifest | 1 + |
15 |
gnustep-apps/sogo/sogo-3.2.0.ebuild | 101 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 102 insertions(+) |
17 |
|
18 |
diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest |
19 |
index 359f03e..e06b3ee 100644 |
20 |
--- a/gnustep-apps/sogo/Manifest |
21 |
+++ b/gnustep-apps/sogo/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST sogo-2.3.2.tar.gz 11440737 SHA256 236812a74afdd388a10edd9b2db27f4bf8e05818d5ddd65fea9b1b43e6c7a223 SHA512 a91a710af1c36e3becf250c60e1430a012b98e9026957c9faf6c7cddc526273296f00d9df2e7c8c830887a96dfa2576ffd2dd0dfb1ed3e6fc6bfa1b9f100b792 WHIRLPOOL 66fcd37f012923f4f500f6b961dface5dab47b99e89788660728274fc752ad229b5728408e5846450e40e8bf17a54c73372ee0a9ab6666e3b100c05cd7f24cad |
24 |
DIST sogo-3.0.2.tar.gz 25192947 SHA256 919115d7dace49c7fe2efbabda19f4c3c8b136d8972637d3b41f6d3550233e62 SHA512 620e58c8c2c574508c50fc7a8688fb7c8d05e655c47b1a74ba4acd9d1c8108d5d1db0926574ff3064314c90b3ab6cacd69976a2acae91ea7e8ce2af9559f1080 WHIRLPOOL fee7e7cac763e48dc9c7bb1d1ea60bed4c08d2968cecadec65889a7c22868955f3cf37738f47e0cc8af4cb02e5a7ad64878c9c505b1166b77f3593d1a28b09cb |
25 |
+DIST sogo-3.2.0.tar.gz 32138507 SHA256 502cdd8b6e3a6cb4dae612ab1f2a1324f8193b1bf9fbd74deba1220f20b890f5 SHA512 e1dd3d005ec77f04672fd5a4f40289c77da3fe7f0afd9996d5838d18c53181de070e298ebe3b7476032e1987a57ca0ebc181d32c41df97634cbc06588d042421 WHIRLPOOL 132a5822140a9463a353d21f791cf32dedc0ca008ec374710f8a1a1adc98e0dc98cc569efb346f462f2ba295f5fdbb38eea6ba967acf169e5c6fc6e68c3f1e1a |
26 |
|
27 |
diff --git a/gnustep-apps/sogo/sogo-3.2.0.ebuild b/gnustep-apps/sogo/sogo-3.2.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000..87a7d6f |
30 |
--- /dev/null |
31 |
+++ b/gnustep-apps/sogo/sogo-3.2.0.ebuild |
32 |
@@ -0,0 +1,101 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit gnustep-2 user vcs-snapshot |
40 |
+ |
41 |
+DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server" |
42 |
+HOMEPAGE="http://www.sogo.nu" |
43 |
+SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="gnutls libressl +ssl" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-libs/libmemcached |
52 |
+ net-misc/curl |
53 |
+ net-misc/memcached |
54 |
+ >=gnustep-libs/sope-${PV}[ldap] |
55 |
+ gnutls? ( net-libs/gnutls:= ) |
56 |
+ !gnutls? ( |
57 |
+ !libressl? ( dev-libs/openssl:0= ) |
58 |
+ libressl? ( dev-libs/libressl:= ) |
59 |
+ ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ >=gnustep-base/gnustep-make-2.6.3" |
63 |
+ |
64 |
+pkg_pretend() { |
65 |
+ if use ssl && use gnutls && use libressl ; then |
66 |
+ ewarn "You have enabled both gnutls and libressl, but only" |
67 |
+ ewarn "one provider can be active. Using gnutls!" |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+pkg_setup() { |
72 |
+ enewuser sogo -1 /bin/bash /var/lib/sogo |
73 |
+} |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ gnustep-base_src_prepare |
77 |
+ sed -e "s/validateArgs$//" -i configure \ |
78 |
+ || die "GNUstep.conf sed failed" |
79 |
+ |
80 |
+ default |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ local ssl_provider |
85 |
+ if use ssl ; then |
86 |
+ if use gnutls ; then |
87 |
+ ssl_provider=gnutls |
88 |
+ else |
89 |
+ ssl_provider=ssl |
90 |
+ fi |
91 |
+ else |
92 |
+ ssl_provider=none |
93 |
+ fi |
94 |
+ |
95 |
+ egnustep_env |
96 |
+ |
97 |
+ ./configure \ |
98 |
+ --disable-strip \ |
99 |
+ --prefix=/usr \ |
100 |
+ --with-ssl="${ssl_provider}" \ |
101 |
+ $(use_enable debug) \ |
102 |
+ || die "configure failed" |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ gnustep-base_src_install |
107 |
+ |
108 |
+ newconfd "${FILESDIR}"/sogod.confd sogod |
109 |
+ newinitd "${FILESDIR}"/sogod.initd sogod |
110 |
+ |
111 |
+ insinto /etc/logrotate.d |
112 |
+ newins Scripts/logrotate sogo |
113 |
+ newdoc Apache/SOGo.conf SOGo-Apache.conf |
114 |
+ |
115 |
+ insinto /etc/sogo |
116 |
+ doins Scripts/sogo.conf |
117 |
+ |
118 |
+ insinto /etc/cron.d |
119 |
+ newins Scripts/sogo.cron sogo |
120 |
+ keepdir /var/log/sogo |
121 |
+ |
122 |
+ fowners sogo:sogo /var/log/sogo |
123 |
+ fowners -R root:sogo /etc/sogo |
124 |
+} |
125 |
+ |
126 |
+pkg_postinst() { |
127 |
+ gnustep-base_pkg_postinst |
128 |
+ elog "SOGo documentation is available online at:" |
129 |
+ elog "http://www.sogo.nu/downloads/documentation.html" |
130 |
+ elog |
131 |
+ elog "Apache sample configuration file is available in:" |
132 |
+ elog "/usr/share/doc/${PF}" |
133 |
+} |