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/uw-imap/files/, net-mail/uw-imap/, profiles/
Date: Sat, 20 Apr 2019 23:23:47
Message-Id: 1555747055.6b4c9212b3da530b9fd24ef128e516002b72d6b7.mgorny@gentoo
1 commit: 6b4c9212b3da530b9fd24ef128e516002b72d6b7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 20 07:57:35 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 20 07:57:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b4c9212
7
8 net-mail/uw-imap: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/678606
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 net-mail/uw-imap/Manifest | 1 -
14 .../uw-imap/files/uw-imap-2004c-amd64-so-fix.patch | 13 --
15 net-mail/uw-imap/files/uw-imap-ldflags.patch | 52 -------
16 net-mail/uw-imap/files/uw-imap.xinetd | 14 --
17 net-mail/uw-imap/files/uw-imaps.xinetd | 15 --
18 net-mail/uw-imap/files/uw-ipop2.xinetd | 15 --
19 net-mail/uw-imap/files/uw-ipop3.xinetd | 14 --
20 net-mail/uw-imap/files/uw-ipop3s.xinetd | 14 --
21 net-mail/uw-imap/metadata.xml | 8 -
22 net-mail/uw-imap/uw-imap-2007f-r1.ebuild | 161 ---------------------
23 net-mail/uw-imap/uw-imap-2007f.ebuild | 157 --------------------
24 profiles/package.mask | 2 -
25 12 files changed, 466 deletions(-)
26
27 diff --git a/net-mail/uw-imap/Manifest b/net-mail/uw-imap/Manifest
28 deleted file mode 100644
29 index c721daa243d..00000000000
30 --- a/net-mail/uw-imap/Manifest
31 +++ /dev/null
32 @@ -1 +0,0 @@
33 -DIST imap-2007f.tar.Z 2793529 BLAKE2B f5b597551ef56d284180cd49cf6b7d01a63ee60bcb513a354bd7ec63428184b854e3ea666a9f3ce1f5b27699cf81d2f1d0e66e5cfc7fee93d723bb146d113ec7 SHA512 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae
34
35 diff --git a/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch b/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
36 deleted file mode 100644
37 index 1400fc254c6..00000000000
38 --- a/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
39 +++ /dev/null
40 @@ -1,13 +0,0 @@
41 -diff -ruN src/osdep/unix/Makefile src/osdep/unix/Makefile
42 ---- src/osdep/unix/Makefile 2005-01-29 22:43:25.739341544 +0000
43 -+++ src/osdep/unix/Makefile 2005-01-29 22:43:50.375596264 +0000
44 -@@ -912,6 +912,9 @@
45 - -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS
46 - echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
47 - echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
48 -+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
49 -+ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
50 -+ >> ARCHIVE
51 - echo $(OS) > OSTYPE
52 - ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy
53 - ./mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
54
55 diff --git a/net-mail/uw-imap/files/uw-imap-ldflags.patch b/net-mail/uw-imap/files/uw-imap-ldflags.patch
56 deleted file mode 100644
57 index 41bd0925ed1..00000000000
58 --- a/net-mail/uw-imap/files/uw-imap-ldflags.patch
59 +++ /dev/null
60 @@ -1,52 +0,0 @@
61 -diff --git a/Makefile b/Makefile
62 -index e6e4987..8acfe23 100644
63 ---- a/Makefile
64 -+++ b/Makefile
65 -@@ -257,7 +257,7 @@ EXTRACFLAGS=
66 -
67 - # Extra linker flags (additional/alternative libraries, etc.)
68 -
69 --EXTRALDFLAGS=
70 -+EXTRALDFLAGS=${LDFLAGS}
71 -
72 -
73 - # Special make flags (e.g. to override make environment variables)
74 -diff --git a/src/mlock/Makefile b/src/mlock/Makefile
75 -index d425da8..9c3020b 100644
76 ---- a/src/mlock/Makefile
77 -+++ b/src/mlock/Makefile
78 -@@ -36,7 +36,7 @@ CFLAGS = -O2 -pipe -march=core2
79 - all: mlock
80 -
81 - mlock: mlock.o
82 -- $(CC) $(CFLAGS) -o mlock mlock.o
83 -+ $(CC) $(CFLAGS) ${LDFLAGS} -o mlock mlock.o
84 -
85 - install: mlock
86 - chgrp mail mlock
87 -diff --git a/Makefile b/Makefile
88 -index 8acfe23..70f889d 100644
89 ---- a/Makefile
90 -+++ b/Makefile
91 -@@ -698,7 +698,7 @@ rebuild:
92 - @echo Rebuilding c-client for `$(CAT) OSTYPE`...
93 - @$(TOUCH) SPECIALS
94 - $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
95 -- CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
96 -+ CFLAGS="`$(CAT) CFLAGS`" LDFLAGS=${LDFLAGS} `$(CAT) SPECIALS`
97 -
98 - rebuildclean:
99 - $(SH) -c '$(RM) rebuild || true'
100 -diff --git a/src/osdep/unix/Makefile b/src/osdep/unix/Makefile
101 -index ef1d059..a53318c 100644
102 ---- a/src/osdep/unix/Makefile
103 -+++ b/src/osdep/unix/Makefile
104 -@@ -969,7 +969,7 @@ onceenv:
105 - -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
106 - echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
107 - echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
108 -- echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
109 -+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` `$(CAT) LDFLAGS` -shared \
110 - -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
111 - >> ARCHIVE
112 - echo $(OS) > OSTYPE
113
114 diff --git a/net-mail/uw-imap/files/uw-imap.xinetd b/net-mail/uw-imap/files/uw-imap.xinetd
115 deleted file mode 100644
116 index 959a45573bc..00000000000
117 --- a/net-mail/uw-imap/files/uw-imap.xinetd
118 +++ /dev/null
119 @@ -1,14 +0,0 @@
120 -# default: off
121 -# description: The IMAP service allows remote users to access their mail using \
122 -# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
123 -# Communicator.
124 -service imap2
125 -{
126 - socket_type = stream
127 - wait = no
128 - user = root
129 - server = /usr/sbin/imapd
130 - log_on_success += DURATION USERID
131 - log_on_failure += USERID
132 - disable = yes
133 -}
134
135 diff --git a/net-mail/uw-imap/files/uw-imaps.xinetd b/net-mail/uw-imap/files/uw-imaps.xinetd
136 deleted file mode 100644
137 index 8fb2f3500a7..00000000000
138 --- a/net-mail/uw-imap/files/uw-imaps.xinetd
139 +++ /dev/null
140 @@ -1,15 +0,0 @@
141 -# default: off
142 -# description: The IMAPS service allows remote users to access their mail \
143 -# using an IMAP client with SSL support such as Netscape \
144 -# Communicator or fetchmail.
145 -service imaps
146 -{
147 - socket_type = stream
148 - wait = no
149 - user = root
150 - server = /usr/sbin/imapd
151 - log_on_success += DURATION USERID
152 - log_on_failure += USERID
153 - disable = yes
154 -}
155 -
156
157 diff --git a/net-mail/uw-imap/files/uw-ipop2.xinetd b/net-mail/uw-imap/files/uw-ipop2.xinetd
158 deleted file mode 100644
159 index 8a7ac2ae9b4..00000000000
160 --- a/net-mail/uw-imap/files/uw-ipop2.xinetd
161 +++ /dev/null
162 @@ -1,15 +0,0 @@
163 -# default: off
164 -# description: The POP2 service allows remote users to access their mail \
165 -# using an POP2 client such as fetchmail. In most cases, clients \
166 -# support POP3 instead of POP2, so enabling this service is rarely \
167 -# necessary.
168 -service pop-2
169 -{
170 - socket_type = stream
171 - wait = no
172 - user = root
173 - server = /usr/sbin/ipop2d
174 - log_on_success += USERID
175 - log_on_failure += USERID
176 - disable = yes
177 -}
178
179 diff --git a/net-mail/uw-imap/files/uw-ipop3.xinetd b/net-mail/uw-imap/files/uw-ipop3.xinetd
180 deleted file mode 100644
181 index 60acaf219cf..00000000000
182 --- a/net-mail/uw-imap/files/uw-ipop3.xinetd
183 +++ /dev/null
184 @@ -1,14 +0,0 @@
185 -# default: off
186 -# description: The POP3 service allows remote users to access their mail \
187 -# using an POP3 client such as Netscape Communicator, mutt, \
188 -# or fetchmail.
189 -service pop-3
190 -{
191 - socket_type = stream
192 - wait = no
193 - user = root
194 - server = /usr/sbin/ipop3d
195 - log_on_success += USERID
196 - log_on_failure += USERID
197 - disable = yes
198 -}
199
200 diff --git a/net-mail/uw-imap/files/uw-ipop3s.xinetd b/net-mail/uw-imap/files/uw-ipop3s.xinetd
201 deleted file mode 100644
202 index a8b2ad19d97..00000000000
203 --- a/net-mail/uw-imap/files/uw-ipop3s.xinetd
204 +++ /dev/null
205 @@ -1,14 +0,0 @@
206 -# default: off
207 -# description: The POP3 service allows remote users to access their mail \
208 -# using an POP3 client such as Netscape Communicator, mutt, \
209 -# or fetchmail.
210 -service pop3s
211 -{
212 - socket_type = stream
213 - wait = no
214 - user = root
215 - server = /usr/sbin/ipop3d
216 - log_on_success += USERID
217 - log_on_failure += USERID
218 - disable = yes
219 -}
220
221 diff --git a/net-mail/uw-imap/metadata.xml b/net-mail/uw-imap/metadata.xml
222 deleted file mode 100644
223 index 8bfae6399cb..00000000000
224 --- a/net-mail/uw-imap/metadata.xml
225 +++ /dev/null
226 @@ -1,8 +0,0 @@
227 -<?xml version="1.0" encoding="UTF-8"?>
228 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
229 -<pkgmetadata>
230 - <!-- maintainer-needed -->
231 - <use>
232 - <flag name="clearpasswd">Enables cleartext logins outside of SSL sessions</flag>
233 - </use>
234 -</pkgmetadata>
235
236 diff --git a/net-mail/uw-imap/uw-imap-2007f-r1.ebuild b/net-mail/uw-imap/uw-imap-2007f-r1.ebuild
237 deleted file mode 100644
238 index 79b47d6e437..00000000000
239 --- a/net-mail/uw-imap/uw-imap-2007f-r1.ebuild
240 +++ /dev/null
241 @@ -1,161 +0,0 @@
242 -# Copyright 1999-2019 Gentoo Authors
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI=4
246 -
247 -inherit eutils flag-o-matic ssl-cert multilib
248 -
249 -MY_P="imap-${PV}"
250 -S="${WORKDIR}/${MY_P}"
251 -
252 -DESCRIPTION="UW server daemons for IMAP and POP network mail protocols"
253 -SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
254 -HOMEPAGE="http://www.washington.edu/imap/"
255 -
256 -LICENSE="Apache-2.0"
257 -SLOT="0"
258 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
259 -IUSE="ipv6 +ssl kerberos clearpasswd"
260 -
261 -DEPEND="!net-libs/c-client
262 - >=sys-libs/pam-0.72
263 - >=net-mail/mailbase-0.00-r8[pam]
264 - ssl? ( dev-libs/openssl )
265 - kerberos? ( app-crypt/mit-krb5 )"
266 -
267 -RDEPEND="${DEPEND}
268 - >=net-mail/uw-mailutils-${PV}
269 - sys-apps/xinetd"
270 -
271 -# get rid of old style virtual - bug 350792
272 -# all blockers really needed?
273 -RDEPEND="${RDEPEND}
274 - !net-mail/dovecot
275 - !mail-mta/courier
276 - !net-mail/courier-imap
277 - !net-mail/cyrus-imapd"
278 -
279 -REQUIRED_USE="!clearpasswd? ( ssl )"
280 -
281 -src_unpack() {
282 - unpack ${A}
283 - # Tarball packed with bad file perms
284 - chmod -R ug+w "${S}"
285 -}
286 -
287 -src_prepare() {
288 - epatch "${FILESDIR}"/${PN}-2004c-amd64-so-fix.patch
289 - epatch "${FILESDIR}/${PN}-ldflags.patch"
290 -
291 - # no interactive build
292 - sed -i -e "/read x; case/s/^/#/" Makefile || die
293 - sed -i -e "/make noip6/s/.*/\t@echo/" Makefile || die
294 -
295 - # Now we must make all the individual Makefiles use different CFLAGS,
296 - # otherwise they would all use -fPIC
297 - sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" src/dmail/Makefile \
298 - src/imapd/Makefile src/ipopd/Makefile src/mailutil/Makefile \
299 - src/mlock/Makefile src/mtest/Makefile src/tmail/Makefile \
300 - || die "sed failed patching Makefile FLAGS."
301 -
302 - # Now there is only c-client left, which should be built with -fPIC
303 - append-flags -fPIC
304 -
305 - sed -i \
306 - -e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
307 - -e 's,SSLDIR=/usr/local/ssl,SSLDIR=/usr,g' \
308 - -e 's,SSLCERTS=$(SSLDIR)/certs,SSLCERTS=/etc/ssl/certs,g' \
309 - src/osdep/unix/Makefile || die
310 -
311 - sed -i \
312 - -e "s/CC=cc/CC=$(tc-getCC)/" \
313 - -e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
314 - -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
315 - src/osdep/unix/Makefile || die
316 -
317 - sed -i -e "s,GSSDIR=/usr/local,GSSDIR=/usr,g" \
318 - src/osdep/unix/Makefile.gss || die
319 -
320 - # Make the build system more multilib aware
321 - sed \
322 - -e "s:^SSLLIB=\$(SSLDIR)/lib:SSLLIB=\$(SSLDIR)/$(get_libdir):" \
323 - -e "s:^AFSLIB=\$(AFSDIR)/lib:AFSLIB=\$(AFSDIR)/$(get_libdir):" \
324 - -i src/osdep/unix/Makefile || die "Makefile sed fixing failed"
325 -}
326 -
327 -src_compile() {
328 - local mymake ipver ssltype target
329 - ipver="IP=4"
330 - target=lnp
331 - use ipv6 && ipver="IP=6"
332 - use kerberos && mymake="EXTRAAUTHENTICATORS=gss"
333 - use kernel_FreeBSD && target=bsf
334 - if use ssl ; then
335 - if use clearpasswd ; then
336 - ssltype=unix
337 - else
338 - ssltype=unix.nopwd
339 - fi
340 - else
341 - ssltype=none
342 - fi
343 -
344 - emake -j1 SSLTYPE=${ssltype} ${target} ${mymake} ${ipver} EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
345 -}
346 -
347 -src_install() {
348 - dosbin imapd/imapd ipopd/ipop?d dmail/dmail tmail/tmail
349 - dobin mlock/mlock
350 -
351 - dolib.so c-client/libc-client.so.1.0.0
352 - dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so
353 - dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so.1
354 -
355 - insinto /usr/include/imap
356 - doins src/c-client/{c-client,flstring,mail,imap4r1,rfc822,misc,smtp,nntp,utf8,utf8aux}.h
357 - doins src/c-client/{env,fs,ftl,nl,tcp}.h
358 - doins src/osdep/unix/env_unix.h
359 - doins c-client/linkage.{c,h}
360 -
361 - dolib.a c-client/c-client.a
362 - dosym c-client.a /usr/$(get_libdir)/libc-client.a
363 -
364 - doman src/ipopd/ipopd.8 src/imapd/imapd.8
365 - doman src/dmail/dmail.1 src/tmail/tmail.1
366 - dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
367 -
368 - docinto rfc
369 - dodoc docs/rfc/*.txt
370 -
371 - # install headers - bug #375393
372 - cp c-client/*.h "${D}"/usr/include/imap/ || die
373 - cp c-client/linkage.c "${D}"/usr/include/imap/ || die
374 - #exclude these dupes (can't do it before now due to symlink hell)
375 - rm "${D}"/usr/include/imap/os_*.h
376 -
377 - # gentoo config stuff
378 - insinto /etc/xinetd.d
379 - newins "${FILESDIR}"/uw-imap.xinetd imap
380 - newins "${FILESDIR}"/uw-ipop2.xinetd ipop2
381 - newins "${FILESDIR}"/uw-ipop3.xinetd ipop3
382 - newins "${FILESDIR}"/uw-ipop3s.xinetd ipop3s
383 - newins "${FILESDIR}"/uw-imaps.xinetd imaps
384 -}
385 -
386 -pkg_postinst() {
387 - if use ssl; then
388 - # Let's not make a new certificate if we already have one
389 - if ! [[ -e "${ROOT}"/etc/ssl/certs/imapd.pem && \
390 - -e "${ROOT}"/etc/ssl/certs/imapd.key ]]; then
391 - einfo "Creating SSL certificate for IMAP"
392 - SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-IMAP Server}"
393 - install_cert /etc/ssl/certs/imapd
394 - fi
395 - if ! [[ -e "${ROOT}"/etc/ssl/certs/ipop3d.pem && \
396 - -e "${ROOT}"/etc/ssl/certs/ipop3d.key ]]; then
397 - einfo "Creating SSL certificate for POP3"
398 - SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-POP3 Server}"
399 - install_cert /etc/ssl/certs/ipop3d
400 - fi
401 - fi
402 -}
403
404 diff --git a/net-mail/uw-imap/uw-imap-2007f.ebuild b/net-mail/uw-imap/uw-imap-2007f.ebuild
405 deleted file mode 100644
406 index 064833e3216..00000000000
407 --- a/net-mail/uw-imap/uw-imap-2007f.ebuild
408 +++ /dev/null
409 @@ -1,157 +0,0 @@
410 -# Copyright 1999-2019 Gentoo Authors
411 -# Distributed under the terms of the GNU General Public License v2
412 -
413 -EAPI=4
414 -
415 -inherit eutils flag-o-matic ssl-cert
416 -
417 -MY_P="imap-${PV}"
418 -S="${WORKDIR}/${MY_P}"
419 -
420 -DESCRIPTION="UW server daemons for IMAP and POP network mail protocols"
421 -SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
422 -HOMEPAGE="http://www.washington.edu/imap/"
423 -
424 -LICENSE="Apache-2.0"
425 -SLOT="0"
426 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
427 -IUSE="ipv6 +ssl kerberos clearpasswd"
428 -
429 -DEPEND="!net-libs/c-client
430 - >=sys-libs/pam-0.72
431 - >=net-mail/mailbase-0.00-r8[pam]
432 - ssl? ( dev-libs/openssl )
433 - kerberos? ( app-crypt/mit-krb5 )"
434 -
435 -RDEPEND="${DEPEND}
436 - >=net-mail/uw-mailutils-${PV}
437 - sys-apps/xinetd"
438 -
439 -# get rid of old style virtual - bug 350792
440 -# all blockers really needed?
441 -RDEPEND="${RDEPEND}
442 - !net-mail/dovecot
443 - !mail-mta/courier
444 - !net-mail/courier-imap
445 - !net-mail/cyrus-imapd"
446 -
447 -REQUIRED_USE="!clearpasswd? ( ssl )"
448 -
449 -src_unpack() {
450 - unpack ${A}
451 - # Tarball packed with bad file perms
452 - chmod -R ug+w "${S}"
453 -}
454 -
455 -src_prepare() {
456 - epatch "${FILESDIR}"/${PN}-2004c-amd64-so-fix.patch
457 - epatch "${FILESDIR}/${PN}-ldflags.patch"
458 -
459 - # no interactive build
460 - sed -i -e "/read x; case/s/^/#/" Makefile || die
461 -
462 - # Now we must make all the individual Makefiles use different CFLAGS,
463 - # otherwise they would all use -fPIC
464 - sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" src/dmail/Makefile \
465 - src/imapd/Makefile src/ipopd/Makefile src/mailutil/Makefile \
466 - src/mlock/Makefile src/mtest/Makefile src/tmail/Makefile \
467 - || die "sed failed patching Makefile FLAGS."
468 -
469 - # Now there is only c-client left, which should be built with -fPIC
470 - append-flags -fPIC
471 -
472 - sed -i \
473 - -e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
474 - -e 's,SSLDIR=/usr/local/ssl,SSLDIR=/usr,g' \
475 - -e 's,SSLCERTS=$(SSLDIR)/certs,SSLCERTS=/etc/ssl/certs,g' \
476 - src/osdep/unix/Makefile
477 -
478 - sed -i \
479 - -e "s/CC=cc/CC=$(tc-getCC)/" \
480 - -e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
481 - -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
482 - src/osdep/unix/Makefile
483 -
484 - sed -i -e "s,GSSDIR=/usr/local,GSSDIR=/usr,g" \
485 - src/osdep/unix/Makefile.gss
486 -
487 - # no interactive build
488 - sed -i -e "/make noip6/s/.*/\t@echo/" Makefile
489 -}
490 -
491 -src_compile() {
492 - local mymake ipver ssltype target
493 - ipver="IP=4"
494 - target=lnp
495 - use ipv6 && ipver="IP=6"
496 - use kerberos && mymake="EXTRAAUTHENTICATORS=gss"
497 - use kernel_FreeBSD && target=bsf
498 - if use ssl ; then
499 - if use clearpasswd ; then
500 - ssltype=unix
501 - else
502 - ssltype=unix.nopwd
503 - fi
504 - else
505 - ssltype=none
506 - fi
507 -
508 - emake -j1 SSLTYPE=${ssltype} ${target} ${mymake} ${ipver} EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
509 -}
510 -
511 -src_install() {
512 - dosbin imapd/imapd ipopd/ipop?d dmail/dmail tmail/tmail
513 - dobin mlock/mlock
514 -
515 - dolib.so c-client/libc-client.so.1.0.0
516 - dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so
517 - dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so.1
518 -
519 - insinto /usr/include/imap
520 - doins src/c-client/{c-client,flstring,mail,imap4r1,rfc822,misc,smtp,nntp,utf8,utf8aux}.h
521 - doins src/c-client/{env,fs,ftl,nl,tcp}.h
522 - doins src/osdep/unix/env_unix.h
523 - doins c-client/linkage.{c,h}
524 -
525 - dolib.a c-client/c-client.a
526 - dosym c-client.a /usr/$(get_libdir)/libc-client.a
527 -
528 - doman src/ipopd/ipopd.8 src/imapd/imapd.8
529 - doman src/dmail/dmail.1 src/tmail/tmail.1
530 - dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
531 -
532 - docinto rfc
533 - dodoc docs/rfc/*.txt
534 -
535 - # install headers - bug #375393
536 - cp c-client/*.h "${D}"/usr/include/imap/ || die
537 - cp c-client/linkage.c "${D}"/usr/include/imap/ || die
538 - #exclude these dupes (can't do it before now due to symlink hell)
539 - rm "${D}"/usr/include/imap/os_*.h
540 -
541 - # gentoo config stuff
542 - insinto /etc/xinetd.d
543 - newins "${FILESDIR}"/uw-imap.xinetd imap
544 - newins "${FILESDIR}"/uw-ipop2.xinetd ipop2
545 - newins "${FILESDIR}"/uw-ipop3.xinetd ipop3
546 - newins "${FILESDIR}"/uw-ipop3s.xinetd ipop3s
547 - newins "${FILESDIR}"/uw-imaps.xinetd imaps
548 -}
549 -
550 -pkg_postinst() {
551 - if use ssl; then
552 - # Let's not make a new certificate if we already have one
553 - if ! [[ -e "${ROOT}"/etc/ssl/certs/imapd.pem && \
554 - -e "${ROOT}"/etc/ssl/certs/imapd.key ]]; then
555 - einfo "Creating SSL certificate for IMAP"
556 - SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-IMAP Server}"
557 - install_cert /etc/ssl/certs/imapd
558 - fi
559 - if ! [[ -e "${ROOT}"/etc/ssl/certs/ipop3d.pem && \
560 - -e "${ROOT}"/etc/ssl/certs/ipop3d.key ]]; then
561 - einfo "Creating SSL certificate for POP3"
562 - SSL_ORGANIZATION="${SSL_ORGANIZATION:-UW-POP3 Server}"
563 - install_cert /etc/ssl/certs/ipop3d
564 - fi
565 - fi
566 -}
567
568 diff --git a/profiles/package.mask b/profiles/package.mask
569 index 533ce840946..196e64f7c1b 100644
570 --- a/profiles/package.mask
571 +++ b/profiles/package.mask
572 @@ -624,7 +624,6 @@ x11-libs/hippo-canvas
573 # net-irc/shadowircd: #674528, dead homepage, last commits in 2012
574 # net-mail/qpopper: #674896, discontinued, from 2011, also #541996
575 # net-mail/up-imapproxy: #674234, last commits in 2016, also #643898
576 -# net-mail/uw-imap: #678606, last upstream release in 2011
577 #
578 # Removal in 30 days.
579 app-crypt/keynote
580 @@ -646,7 +645,6 @@ net-irc/epic4
581 net-irc/shadowircd
582 net-mail/qpopper
583 net-mail/up-imapproxy
584 -net-mail/uw-imap
585
586 # Miroslav Šulc <fordfrog@g.o> (19 Mar 2019)
587 # Depends on >=virtual/{jdk,jre}-11 which is masked