Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/sogo/
Date: Wed, 06 Jan 2021 19:07:55
Message-Id: 1609960053.0e930c78025168ff00afe95a670bf4e72d464d3e.dilfridge@gentoo
1 commit: 0e930c78025168ff00afe95a670bf4e72d464d3e
2 Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 6 18:09:14 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 6 19:07:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e930c78
7
8 gnustep-apps/sogo: Remove old
9
10 Bug: https://bugs.gentoo.org/725630
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>
13
14 gnustep-apps/sogo/Manifest | 1 -
15 gnustep-apps/sogo/sogo-4.1.1-r1.ebuild | 106 -------------------------------
16 gnustep-apps/sogo/sogo-4.1.1.ebuild | 110 ---------------------------------
17 3 files changed, 217 deletions(-)
18
19 diff --git a/gnustep-apps/sogo/Manifest b/gnustep-apps/sogo/Manifest
20 index 0edcabd1a94..cf2ba38a1ac 100644
21 --- a/gnustep-apps/sogo/Manifest
22 +++ b/gnustep-apps/sogo/Manifest
23 @@ -1,2 +1 @@
24 -DIST sogo-4.1.1.tar.gz 34492410 BLAKE2B 43c15991eede15b58d22681297d7d2d8031ee189e4b843af7c44e52a915d89d30c181dc52c25e4784b0e9011f5d6f22bf070b9125491fe37360ced2b623c0f86 SHA512 e24d4b7f71eeed05dcb694ee07a03df6ac9a63d7fb9455f972add9c251f85e1418683a95de5b584b0db3a471d593c8595b343db1345fcb95235ba59a09235d5a
25 DIST sogo-4.3.2.tar.gz 34497548 BLAKE2B fd9e225488bbdb13b4204d1cec9ba0217049681d531e20db3d995a4928f0cd8ff658eb390a0f84375ee28fec2c7a36fb11d836939a8731e828be8d38728a6559 SHA512 eeae11c2e9c4f3d38e64ebdac4950980859af6486e229d1480c9ceb895b63229b42ceea9a17934bfd5e88c5f05c93567f5df5f29f7d68b7dafcdfc44054bc9af
26
27 diff --git a/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild b/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild
28 deleted file mode 100644
29 index 70930df687f..00000000000
30 --- a/gnustep-apps/sogo/sogo-4.1.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,106 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit gnustep-2 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="activesync gnutls libressl +ssl"
48 -
49 -RDEPEND="
50 - acct-user/sogo
51 - dev-libs/libmemcached
52 - net-misc/curl
53 - net-misc/memcached
54 - >=gnustep-libs/sope-${PV}[ldap]
55 - activesync? ( dev-libs/libwbxml )
56 - gnutls? ( net-libs/gnutls:= )
57 - !gnutls? (
58 - !libressl? ( dev-libs/openssl:0= )
59 - libressl? ( dev-libs/libressl:= )
60 - )
61 -"
62 -DEPEND="${RDEPEND}
63 - >=gnustep-base/gnustep-make-2.6.3"
64 -
65 -pkg_pretend() {
66 - if use ssl && use gnutls && use libressl ; then
67 - ewarn "You have enabled both gnutls and libressl, but only"
68 - ewarn "one provider can be active. Using gnutls!"
69 - fi
70 -}
71 -
72 -src_prepare() {
73 - gnustep-base_src_prepare
74 - sed -e "s/validateArgs$//" -i configure \
75 - || die
76 - if use activesync; then
77 - sed -e 's/Tests\/Unit/ActiveSync &/g' \
78 - -i GNUmakefile || die
79 - fi
80 -
81 - default
82 -}
83 -
84 -src_configure() {
85 - local ssl_provider
86 - if use ssl ; then
87 - if use gnutls ; then
88 - ssl_provider=gnutls
89 - else
90 - ssl_provider=ssl
91 - fi
92 - else
93 - ssl_provider=none
94 - fi
95 -
96 - egnustep_env
97 -
98 - ./configure \
99 - --disable-strip \
100 - --prefix=/usr \
101 - --with-ssl="${ssl_provider}" \
102 - $(use_enable debug) \
103 - || die "configure failed"
104 -}
105 -
106 -src_install() {
107 - gnustep-base_src_install
108 -
109 - newconfd "${FILESDIR}"/sogod.confd sogod
110 - newinitd "${FILESDIR}"/sogod.initd sogod
111 -
112 - insinto /etc/logrotate.d
113 - newins Scripts/logrotate sogo
114 - newdoc Apache/SOGo.conf SOGo-Apache.conf
115 -
116 - insinto /etc/sogo
117 - doins Scripts/sogo.conf
118 -
119 - insinto /etc/cron.d
120 - newins Scripts/sogo.cron sogo
121 - keepdir /var/log/sogo
122 -
123 - fowners sogo:sogo /var/log/sogo
124 - fowners -R root:sogo /etc/sogo
125 -}
126 -
127 -pkg_postinst() {
128 - gnustep-base_pkg_postinst
129 - elog "SOGo documentation is available online at:"
130 - elog "http://www.sogo.nu/downloads/documentation.html"
131 - elog
132 - elog "Apache sample configuration file is available in:"
133 - elog "/usr/share/doc/${PF}"
134 - if use activesync; then
135 - ewarn "In order to use the SOGo ActiveSync support code in production environments,"
136 - ewarn "you need to get a proper usage license. Check the documentation for details."
137 - fi
138 -}
139
140 diff --git a/gnustep-apps/sogo/sogo-4.1.1.ebuild b/gnustep-apps/sogo/sogo-4.1.1.ebuild
141 deleted file mode 100644
142 index e7e2290ee3e..00000000000
143 --- a/gnustep-apps/sogo/sogo-4.1.1.ebuild
144 +++ /dev/null
145 @@ -1,110 +0,0 @@
146 -# Copyright 1999-2019 Gentoo Authors
147 -# Distributed under the terms of the GNU General Public License v2
148 -
149 -EAPI=7
150 -
151 -inherit gnustep-2 user vcs-snapshot
152 -
153 -DESCRIPTION="Groupware server built around OpenGroupware.org and the SOPE application server"
154 -HOMEPAGE="http://www.sogo.nu"
155 -SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.tar.gz"
156 -
157 -LICENSE="GPL-2"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~x86"
160 -IUSE="activesync gnutls libressl +ssl"
161 -
162 -RDEPEND="
163 - dev-libs/libmemcached
164 - net-misc/curl
165 - net-misc/memcached
166 - >=gnustep-libs/sope-${PV}[ldap]
167 - activesync? ( dev-libs/libwbxml )
168 - gnutls? ( net-libs/gnutls:= )
169 - !gnutls? (
170 - !libressl? ( dev-libs/openssl:0= )
171 - libressl? ( dev-libs/libressl:= )
172 - )
173 -"
174 -DEPEND="${RDEPEND}
175 - >=gnustep-base/gnustep-make-2.6.3"
176 -
177 -pkg_pretend() {
178 - if use ssl && use gnutls && use libressl ; then
179 - ewarn "You have enabled both gnutls and libressl, but only"
180 - ewarn "one provider can be active. Using gnutls!"
181 - fi
182 -}
183 -
184 -pkg_setup() {
185 - enewgroup sogo
186 - enewuser sogo -1 /bin/bash /var/lib/sogo sogo
187 -}
188 -
189 -src_prepare() {
190 - gnustep-base_src_prepare
191 - sed -e "s/validateArgs$//" -i configure \
192 - || die
193 - if use activesync; then
194 - sed -e 's/Tests\/Unit/ActiveSync &/g' \
195 - -i GNUmakefile || die
196 - fi
197 -
198 - default
199 -}
200 -
201 -src_configure() {
202 - local ssl_provider
203 - if use ssl ; then
204 - if use gnutls ; then
205 - ssl_provider=gnutls
206 - else
207 - ssl_provider=ssl
208 - fi
209 - else
210 - ssl_provider=none
211 - fi
212 -
213 - egnustep_env
214 -
215 - ./configure \
216 - --disable-strip \
217 - --prefix=/usr \
218 - --with-ssl="${ssl_provider}" \
219 - $(use_enable debug) \
220 - || die "configure failed"
221 -}
222 -
223 -src_install() {
224 - gnustep-base_src_install
225 -
226 - newconfd "${FILESDIR}"/sogod.confd sogod
227 - newinitd "${FILESDIR}"/sogod.initd sogod
228 -
229 - insinto /etc/logrotate.d
230 - newins Scripts/logrotate sogo
231 - newdoc Apache/SOGo.conf SOGo-Apache.conf
232 -
233 - insinto /etc/sogo
234 - doins Scripts/sogo.conf
235 -
236 - insinto /etc/cron.d
237 - newins Scripts/sogo.cron sogo
238 - keepdir /var/log/sogo
239 -
240 - fowners sogo:sogo /var/log/sogo
241 - fowners -R root:sogo /etc/sogo
242 -}
243 -
244 -pkg_postinst() {
245 - gnustep-base_pkg_postinst
246 - elog "SOGo documentation is available online at:"
247 - elog "http://www.sogo.nu/downloads/documentation.html"
248 - elog
249 - elog "Apache sample configuration file is available in:"
250 - elog "/usr/share/doc/${PF}"
251 - if use activesync; then
252 - ewarn "In order to use the SOGo ActiveSync support code in production environments,"
253 - ewarn "you need to get a proper usage license. Check the documentation for details."
254 - fi
255 -}