Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/bincimap/files/, profiles/, net-mail/bincimap/
Date: Tue, 28 May 2019 13:37:36
Message-Id: 1559050527.6f261da8b00a05d3b2117d44a1a0862c4f94fa78.mgorny@gentoo
1 commit: 6f261da8b00a05d3b2117d44a1a0862c4f94fa78
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 28 13:35:27 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 28 13:35:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f261da8
7
8 net-mail/bincimap: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/588032
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-mail/bincimap/Manifest | 1 -
14 net-mail/bincimap/bincimap-1.2.13-r1.ebuild | 101 ---------------------
15 net-mail/bincimap/bincimap-1.2.13.ebuild | 100 --------------------
16 net-mail/bincimap/files/bincimap-1.2-gcc43.patch | 64 -------------
17 .../bincimap/files/bincimap-1.2.13-gentoo.diff | 32 -------
18 .../files/bincimap-1.2.13-glibc-2.10.patch | 12 ---
19 net-mail/bincimap/metadata.xml | 8 --
20 profiles/package.mask | 5 -
21 8 files changed, 323 deletions(-)
22
23 diff --git a/net-mail/bincimap/Manifest b/net-mail/bincimap/Manifest
24 deleted file mode 100644
25 index 744dc23f9ef..00000000000
26 --- a/net-mail/bincimap/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST bincimap-1.2.13final.tar.bz2 416152 BLAKE2B 7397442baa9c3668c59a17c99b3531fcc920675ff5a73a025be6f5785448874e42ee91ef7e5c1c318ca248db2422f2ff0b3c5494a8e832fe2522808189fd1e65 SHA512 06c0487d214581293b45a2f189979ceecae5e02b74a8d22381e51aef9fb1ad595628d2aa94e7dbdac0ad544747138735aa61b00c50d83090bed4c41e11c3d2dc
30
31 diff --git a/net-mail/bincimap/bincimap-1.2.13-r1.ebuild b/net-mail/bincimap/bincimap-1.2.13-r1.ebuild
32 deleted file mode 100644
33 index 4c68d7e65c5..00000000000
34 --- a/net-mail/bincimap/bincimap-1.2.13-r1.ebuild
35 +++ /dev/null
36 @@ -1,101 +0,0 @@
37 -# Copyright 1999-2016 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=5
41 -
42 -inherit eutils
43 -
44 -DESCRIPTION="IMAP server for Maildir"
45 -SRC_URI="http://www.bincimap.org/dl/tarballs/1.2/${P}final.tar.bz2"
46 -HOMEPAGE="http://freshmeat.net/projects/bincimap/"
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~hppa ~ppc ~x86"
50 -IUSE="libressl ssl"
51 -
52 -DEPEND="ssl? (
53 - !libressl? ( dev-libs/openssl:0= )
54 - libressl? ( dev-libs/libressl:0= )
55 -)"
56 -
57 -RDEPEND="${DEPEND}
58 - virtual/daemontools
59 - sys-apps/ucspi-tcp
60 - net-mail/checkpassword"
61 -
62 -# get rid of old style virtual - bug 350792
63 -# all blockers really needed?
64 -RDEPEND="${RDEPEND}
65 - !mail-mta/courier
66 - !net-mail/courier-imap
67 - !net-mail/cyrus-imapd
68 - !net-mail/uw-imap"
69 -
70 -S="${WORKDIR}/${P}final"
71 -
72 -src_prepare() {
73 - epatch "${FILESDIR}"/${P}-gentoo.diff
74 - epatch "${FILESDIR}"/${PN}-1.2-gcc43.patch
75 - epatch "${FILESDIR}"/${P}-glibc-2.10.patch
76 -}
77 -
78 -src_configure() {
79 - econf $(use_enable ssl) --sysconfdir=/etc/bincimap
80 -}
81 -
82 -src_compile() {
83 - emake localstatedir=/etc/bincimap
84 -}
85 -
86 -src_install () {
87 - emake DESTDIR="${D}" localstatedir=/etc/bincimap prefix=/usr install
88 - keepdir /var/log/bincimap || die
89 - use ssl && keepdir /var/log/bincimap-ssl || die
90 -
91 - dodoc AUTHORS ChangeLog INSTALL \
92 - NEWS README README.SSL TODO
93 - dohtml doc/*.{html,css}
94 - rm -rf "${D}"/usr/share/doc/"${PN}"
95 -
96 - # backward compatibility
97 - dosym /etc/bincimap/service/bincimap /etc/bincimap/service/imap
98 - dosym /etc/bincimap/service/bincimaps /etc/bincimap/service/imaps
99 -}
100 -
101 -pkg_postinst() {
102 - elog "To start bicimap at boot you have to enable the /etc/init.d/svscan rc file"
103 - elog "and create the following link:"
104 - elog "ln -s /etc/bincimap/service/bincimap /service/bincimap"
105 - elog
106 -
107 - if use ssl; then
108 - elog "If you want to use ssl connections, create the following link:"
109 - elog "ln -s /etc/bincimap/service/bincimaps /service/bincimaps"
110 - elog
111 - elog "And this command will setup bincimap-ssl on your system."
112 - elog "emerge --config =${CATEGORY}/${PF}"
113 - elog
114 - fi
115 -
116 - elog "NOTE: Default Maildir path is '~/.maildir'. If you want to modify it,"
117 - elog "edit /etc/bincimap/bincimap.conf"
118 - elog
119 -}
120 -
121 -pkg_config() {
122 - if use ssl; then
123 - local pemfile=/etc/bincimap/bincimap.pem
124 - if [ ! -f $pemfile ]; then
125 - echo "Creating a self-signed ssl-cert:"
126 - /usr/bin/openssl req -new -x509 -nodes -out $pemfile -days 366 -keyout $pemfile
127 - chmod 640 $pemfile
128 -
129 - einfo "If You want to have a signed cert, do the following:"
130 - einfo "openssl req -new -nodes -out req.pem \\"
131 - einfo "-keyout $pemfile"
132 - einfo "chmod 640 $pemfile"
133 - einfo "Send req.pem to your CA to obtain signed_req.pem, and do:"
134 - einfo "cat signed_req.pem >> $pemfile"
135 - fi
136 - fi
137 -}
138
139 diff --git a/net-mail/bincimap/bincimap-1.2.13.ebuild b/net-mail/bincimap/bincimap-1.2.13.ebuild
140 deleted file mode 100644
141 index 749fe7f706d..00000000000
142 --- a/net-mail/bincimap/bincimap-1.2.13.ebuild
143 +++ /dev/null
144 @@ -1,100 +0,0 @@
145 -# Copyright 1999-2018 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=0
149 -
150 -inherit eutils
151 -
152 -DESCRIPTION="IMAP server for Maildir"
153 -SRC_URI="http://www.bincimap.org/dl/tarballs/1.2/${P}final.tar.bz2"
154 -HOMEPAGE="http://freshmeat.net/projects/bincimap/"
155 -LICENSE="GPL-2"
156 -SLOT="0"
157 -KEYWORDS="amd64 ~hppa ~ppc x86"
158 -IUSE="ssl"
159 -
160 -DEPEND="ssl? ( dev-libs/openssl )"
161 -
162 -RDEPEND="${DEPEND}
163 - virtual/daemontools
164 - sys-apps/ucspi-tcp
165 - net-mail/checkpassword"
166 -
167 -# get rid of old style virtual - bug 350792
168 -# all blockers really needed?
169 -RDEPEND="${RDEPEND}
170 - !mail-mta/courier
171 - !net-mail/courier-imap
172 - !net-mail/cyrus-imapd
173 - !net-mail/uw-imap"
174 -
175 -S="${WORKDIR}/${P}final"
176 -
177 -src_unpack() {
178 - unpack ${A}
179 - cd "${S}"
180 -
181 - epatch "${FILESDIR}"/${P}-gentoo.diff
182 - epatch "${FILESDIR}"/${PN}-1.2-gcc43.patch
183 - epatch "${FILESDIR}"/${P}-glibc-2.10.patch
184 -}
185 -
186 -src_compile() {
187 - econf $(use_enable ssl) --sysconfdir=/etc/bincimap || die
188 - emake localstatedir=/etc/bincimap || die
189 -}
190 -
191 -src_install () {
192 - make DESTDIR="${D}" localstatedir=/etc/bincimap prefix=/usr install || die
193 - keepdir /var/log/bincimap || die
194 - if use ssl; then
195 - keepdir /var/log/bincimap-ssl || die
196 - fi
197 -
198 - dodoc AUTHORS ChangeLog INSTALL \
199 - NEWS README README.SSL TODO
200 - dohtml doc/*.{html,css}
201 - rm -rf "${D}"/usr/share/doc/"${PN}"
202 -
203 - # backward compatibility
204 - dosym /etc/bincimap/service/bincimap /etc/bincimap/service/imap
205 - dosym /etc/bincimap/service/bincimaps /etc/bincimap/service/imaps
206 -}
207 -
208 -pkg_postinst() {
209 - elog "To start bicimap at boot you have to enable the /etc/init.d/svscan rc file"
210 - elog "and create the following link:"
211 - elog "ln -s /etc/bincimap/service/bincimap /service/bincimap"
212 - elog
213 -
214 - if use ssl; then
215 - elog "If you want to use ssl connections, create the following link:"
216 - elog "ln -s /etc/bincimap/service/bincimaps /service/bincimaps"
217 - elog
218 - elog "And this command will setup bincimap-ssl on your system."
219 - elog "emerge --config =${CATEGORY}/${PF}"
220 - elog
221 - fi
222 -
223 - elog "NOTE: Default Maildir path is '~/.maildir'. If you want to modify it,"
224 - elog "edit /etc/bincimap/bincimap.conf"
225 - elog
226 -}
227 -
228 -pkg_config() {
229 - if use ssl; then
230 - local pemfile=/etc/bincimap/bincimap.pem
231 - if [ ! -f $pemfile ]; then
232 - echo "Creating a self-signed ssl-cert:"
233 - /usr/bin/openssl req -new -x509 -nodes -out $pemfile -days 366 -keyout $pemfile
234 - chmod 640 $pemfile
235 -
236 - einfo "If You want to have a signed cert, do the following:"
237 - einfo "openssl req -new -nodes -out req.pem \\"
238 - einfo "-keyout $pemfile"
239 - einfo "chmod 640 $pemfile"
240 - einfo "Send req.pem to your CA to obtain signed_req.pem, and do:"
241 - einfo "cat signed_req.pem >> $pemfile"
242 - fi
243 - fi
244 -}
245
246 diff --git a/net-mail/bincimap/files/bincimap-1.2-gcc43.patch b/net-mail/bincimap/files/bincimap-1.2-gcc43.patch
247 deleted file mode 100644
248 index 76cb3a96d6b..00000000000
249 --- a/net-mail/bincimap/files/bincimap-1.2-gcc43.patch
250 +++ /dev/null
251 @@ -1,64 +0,0 @@
252 -diff -NrU5 bincimap-1.2.13final.orig/src/convert.cc bincimap-1.2.13final/src/convert.cc
253 ---- bincimap-1.2.13final.orig/src/convert.cc 2005-01-08 11:20:48.000000000 +0100
254 -+++ bincimap-1.2.13final/src/convert.cc 2008-05-07 12:32:33.000000000 +0200
255 -@@ -37,10 +37,12 @@
256 -
257 - #include "convert.h"
258 - #include "io.h"
259 - #include <string>
260 -
261 -+#include <cstring>
262 -+
263 - using namespace ::std;
264 - using namespace Binc;
265 -
266 - //------------------------------------------------------------------------
267 - BincStream::BincStream(void)
268 -diff -NrU5 bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
269 ---- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 21:30:22.000000000 +0100
270 -+++ bincimap-1.2.13final/src/convert.h 2008-05-07 12:32:33.000000000 +0200
271 -@@ -35,10 +35,11 @@
272 - #include <config.h>
273 - #endif
274 -
275 - #ifndef convert_h_included
276 - #define convert_h_included
277 -+#include <cstdlib>
278 - #include <string>
279 - #include <vector>
280 - #include <iomanip>
281 - #include <iostream>
282 -
283 -@@ -46,10 +47,12 @@
284 - #include <sys/stat.h>
285 -
286 - #include "address.h"
287 - #include "depot.h"
288 -
289 -+#include <cstring>
290 -+
291 - namespace Binc {
292 -
293 - //----------------------------------------------------------------------
294 - inline std::string toString(int i_in)
295 - {
296 -diff -NrU5 bincimap-1.2.13final.orig/src/tools.cc bincimap-1.2.13final/src/tools.cc
297 ---- bincimap-1.2.13final.orig/src/tools.cc 2005-01-08 11:20:48.000000000 +0100
298 -+++ bincimap-1.2.13final/src/tools.cc 2008-05-07 12:32:33.000000000 +0200
299 -@@ -33,13 +33,16 @@
300 - */
301 - #ifdef HAVE_CONFIG_H
302 - #include <config.h>
303 - #endif
304 - #include <errno.h>
305 -+#include <cstdlib>
306 -
307 - #include "tools.h"
308 -
309 -+#include <cstring>
310 -+
311 - using namespace ::std;
312 - using namespace Binc;
313 -
314 - //------------------------------------------------------------------------
315 - Tools::Tools(void)
316
317 diff --git a/net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff b/net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff
318 deleted file mode 100644
319 index d969622ab85..00000000000
320 --- a/net-mail/bincimap/files/bincimap-1.2.13-gentoo.diff
321 +++ /dev/null
322 @@ -1,32 +0,0 @@
323 -diff -Naru bincimap-1.2.13final.org/conf/bincimap.conf bincimap-1.2.13final/conf/bincimap.conf
324 ---- bincimap-1.2.13final.org/conf/bincimap.conf 2004-04-18 20:23:28.000000000 +0100
325 -+++ bincimap-1.2.13final/conf/bincimap.conf 2004-04-24 13:53:10.011618795 +0100
326 -@@ -56,7 +56,7 @@
327 - type = "Maildir", /* only Maildir
328 - * support */
329 -
330 -- path = "Maildir", /* default path */
331 -+ path = ".maildir", /* default path */
332 -
333 - auto create inbox = "yes", /* create INBOX in
334 - * given format if
335 -diff -Naru bincimap-1.2.13final.org/service/log/run-ssl.in bincimap-1.2.13final/service/log/run-ssl.in
336 ---- bincimap-1.2.13final.org/service/log/run-ssl.in 2004-03-02 20:16:02.000000000 +0000
337 -+++ bincimap-1.2.13final/service/log/run-ssl.in 2004-04-24 13:52:30.562843106 +0100
338 -@@ -14,5 +14,5 @@
339 -
340 - exec 2>&1
341 -
342 --exec multilog t n5 s1048576 @localstatedir@/log/bincimap-ssl
343 -+exec multilog t n5 s1048576 /var/log/bincimap-ssl
344 -
345 -diff -Naru bincimap-1.2.13final.org/service/log/run.in bincimap-1.2.13final/service/log/run.in
346 ---- bincimap-1.2.13final.org/service/log/run.in 2004-03-02 20:16:02.000000000 +0000
347 -+++ bincimap-1.2.13final/service/log/run.in 2004-04-24 13:52:37.988613029 +0100
348 -@@ -14,5 +14,5 @@
349 -
350 - exec 2>&1
351 -
352 --exec multilog t n5 s1048576 @localstatedir@/log/bincimap
353 -+exec multilog t n5 s1048576 /var/log/bincimap
354 -
355
356 diff --git a/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch b/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch
357 deleted file mode 100644
358 index 063f7a54dc3..00000000000
359 --- a/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch
360 +++ /dev/null
361 @@ -1,12 +0,0 @@
362 -diff -ur bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
363 ---- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 22:30:22.000000000 +0200
364 -+++ bincimap-1.2.13final/src/convert.h 2009-08-08 10:38:08.000000000 +0300
365 -@@ -111,7 +111,7 @@
366 - unsigned char c = *i;
367 - unsigned char d = *(i + 1);
368 -
369 -- char *t;
370 -+ const char *t;
371 - if ((t = strchr(hexchars, c)) == 0)
372 - return "out of range";
373 - n = (t - hexchars) << 4;
374
375 diff --git a/net-mail/bincimap/metadata.xml b/net-mail/bincimap/metadata.xml
376 deleted file mode 100644
377 index 63f42e644cf..00000000000
378 --- a/net-mail/bincimap/metadata.xml
379 +++ /dev/null
380 @@ -1,8 +0,0 @@
381 -<?xml version="1.0" encoding="UTF-8"?>
382 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
383 -<pkgmetadata>
384 - <!-- maintainer-needed -->
385 - <upstream>
386 - <remote-id type="freshmeat">bincimap</remote-id>
387 - </upstream>
388 -</pkgmetadata>
389
390 diff --git a/profiles/package.mask b/profiles/package.mask
391 index 41fd76ba0fa..0ac92b51d99 100644
392 --- a/profiles/package.mask
393 +++ b/profiles/package.mask
394 @@ -361,11 +361,6 @@ app-admin/lsat
395 # Removal in 30 days. Bug#684268.
396 app-crypt/bestcrypt
397
398 -# Michał Górny <mgorny@g.o> (24 Apr 2019)
399 -# Unmainained since 2011. Ebuild broken since 2016. Last release
400 -# in 2005. Removal in 30 days. Bug #588032.
401 -net-mail/bincimap
402 -
403 # Michał Górny <mgorny@g.o> (24 Apr 2019)
404 # Unmaintained. Vulnerable init.d script. Missing dependencies causing
405 # build failures (#514412, #544942). Insecure format strings (#520574).