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