1 |
commit: 399cd7628564b639829c6310f7dc88b84b286dc0 |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 3 14:16:12 2022 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 14:16:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399cd762 |
7 |
|
8 |
net-mail/dovecot: remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Eray Aslan <eras <AT> gentoo.org> |
12 |
|
13 |
net-mail/dovecot/Manifest | 6 - |
14 |
net-mail/dovecot/dovecot-2.3.15-r1.ebuild | 305 ----------------------------- |
15 |
net-mail/dovecot/dovecot-2.3.16-r1.ebuild | 307 ------------------------------ |
16 |
net-mail/dovecot/dovecot-2.3.16.ebuild | 306 ----------------------------- |
17 |
net-mail/dovecot/dovecot-2.3.17.ebuild | 307 ------------------------------ |
18 |
5 files changed, 1231 deletions(-) |
19 |
|
20 |
diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest |
21 |
index 851978963a99..7cdaa824a9c7 100644 |
22 |
--- a/net-mail/dovecot/Manifest |
23 |
+++ b/net-mail/dovecot/Manifest |
24 |
@@ -1,12 +1,6 @@ |
25 |
DIST dovecot-2.3-pigeonhole-0.5.14.tar.gz 1910607 BLAKE2B 5c08214535d298ce2b8defd8c945e96597a98bda6493a3e27481fdadc0e149e6dd01c6ececaa583dd331614669bd8e033cd1b91d64d03a9e0cdcef67fa9c27b8 SHA512 c5d5d309769eabe2c0971646d0c14d166b6b524acf59e1069eca803f764544fa2535c09c9a630ca706aa70442b688ee26af831d29e674823bac7ea7c0e1f33cc |
26 |
-DIST dovecot-2.3-pigeonhole-0.5.15.tar.gz 1935601 BLAKE2B e26405cc9a93681206e27c2b548e3409ae4444c1c011127b27eda364fec27d572dc01c7ea63688693bde10a8b4086bf67e14bb67e917d62db426d8871d6af0ec SHA512 521070080802bf2a50cd0ff0af5dc991c04d70b807abc2cd9aa567444a4869f5f42800f19d9b740a519bd4069437139e70ca6ae4b905479fcec8faa133ac5f54 |
27 |
-DIST dovecot-2.3-pigeonhole-0.5.16.tar.gz 1944573 BLAKE2B a859c396126132669793c73c695380f24f1ca205b8153cb5f60f3be37194c48ae7d0dd6a7bd37fafdd9e95dbcdc2ab341146883013c63c1b5ccb5a9bb4b7b9ae SHA512 880e00654eab85cc41b27ac470cce6011991e3cdb005642f495c2297fd9492bfb2b6b4ef63c88c2ac10bec870ad69b8bee6b11dd1bc5099e16c3cc2857312543 |
28 |
DIST dovecot-2.3-pigeonhole-0.5.17.1.tar.gz 1952704 BLAKE2B 7dfc6b5bdb82bcaa60e0f41722f9a884edee7853ce09c9391d4c610be16728f58cc7095b8dd2d47e89296ff36aa926c687b39a418bc74ca0bfc3c4eab98156df SHA512 632a963d90a3fa052f314360d59ff25274d80952307ab5dd9193a2713ebf686500a7b2559b56f04b07e0a261066eed9b8525b14197f3be51728af09acb76e894 |
29 |
-DIST dovecot-2.3-pigeonhole-0.5.17.tar.gz 1951089 BLAKE2B fb91e668cf56632b749fed6e9c620b591bee82b19e928dd4cd3dca657dff6938ba4ae4776713a98b0ae38c17e3d6a613b35971cdbae792e18d4563f5f7efaaff SHA512 c4bf69504ec22de53bfeffb55fc95438fb0f648390ca6e6485f652e2e74a34cd7508390bb595b958cbabc53f0e20fbc42e163b2682dc65159fae2acafbd94bad |
30 |
DIST dovecot-2.3-pigeonhole-0.5.18.tar.gz 1953892 BLAKE2B 478da07a2f507a3322c6b6035f8cb74a720c030cc9413496f90a793d165178617207e26b0b57f710a9b9c7671be3fffdbaccaacb8747198abf82943dcb4a24df SHA512 44c3d945a5aebb8935e6e46751e44f505f2abd529c31e3efb689d3b5b9cdf9bca4f5231fc42a8d19837cb95c7618f5b64dfdf5964f40a0a6987144a37cdbaaec |
31 |
DIST dovecot-2.3.14.1.tar.gz 7534719 BLAKE2B 1ba5143711fe340b9fad61db41ba658485e42be52f3b0f196eeb9b8e4b7c1b865b6a08f879dadeb2db3979b17be34699ce5febc4545887307f62bd5b72076f86 SHA512 b71b82c2918ac9940ef6bc274bc9c2b3e56a08cf5054244d80547ad89c421b9180c5afa8b5b140831239fbe2cbeeceb83a0052e037eb198d8fc27d07cba4ba35 |
32 |
-DIST dovecot-2.3.15.tar.gz 7608561 BLAKE2B 85134064dbff0b4f50831a835fb6eafc92081d75d91ab331fa0ae79c453382a88485bad8c774491968b879478dc66841a9c6170e5931d562cf5eaa6af755440b SHA512 75bbdbeac663da109f78dba06c42bb5193e911c6b3c64f055fc4473ae9afaf0c8304c49fc7f06c5c6b61e67dd13dc21fbed6ff160a99f38f547c88ba05e6b03a |
33 |
-DIST dovecot-2.3.16.tar.gz 7650008 BLAKE2B 682067330e94a51a6bc6c82444a5e29a08d6382652a531597bd8c3eecf0bd86f6d4d1bc20e0467c36d5285e9df5ba25aee7dd6db727d195f8f67ac403becfcf0 SHA512 31a9d352c7ead466d65ee0535b1fbd9138e35235f1ebfeedc4eef54cba450663c59708d162eaf0712af1c40f23526ac86aab2eece8cefde3edf690127472fd1e |
34 |
DIST dovecot-2.3.17.1.tar.gz 7700848 BLAKE2B adf12c84def899795d8446766b5c88fd5c68a5969a1807b4dd9c2e4894ddc0693a771ce4d4c0c72b0b03501903c39c650eace97b6708114b7fe038b62ea2ecce SHA512 976aa4f68e86f401e5766017e1702740d5b03892aff98f31f9ef0c6d242311d0f4b50d7faa426306bf1c902d7fc6d021438977bc887fa66ee360b069ec32ad79 |
35 |
-DIST dovecot-2.3.17.tar.gz 7699294 BLAKE2B 1dd044abc9cf27aa8ced5595d875a2b08abba93b43727db6ab1508ae4a841cada57a53d76bf318f497b61f0dbefad66091e652e4b73a4b25d37a763e31a2241b SHA512 5b45d0f2f8af5cf095aff35f8e6a74bbbfd153b6e4596510eade671507d77476544e3a012087b4d4432c0399601f29a49cdf8b34249438f440031c8d027d1cd3 |
36 |
DIST dovecot-2.3.18.tar.gz 7763230 BLAKE2B ff3e0c2cad87d2e2632345a25825eebd0a6c1520376d85286453bde7505f22410d03911cd588a0d102b75f22cc1de051b01c43a57c90138340186e8cb024247a SHA512 b5eccf790a3960614876f122efb6296fe49ab7c523b08c10347fd4d10ed293fbd327279511c227b420f7c0786975186157eaa0fb5cd3aab1f3be9a4c5c3ad233 |
37 |
|
38 |
diff --git a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild |
39 |
deleted file mode 100644 |
40 |
index 1668061de0a9..000000000000 |
41 |
--- a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,305 +0,0 @@ |
44 |
-# Copyright 1999-2021 Gentoo Authors |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI=7 |
48 |
- |
49 |
-LUA_COMPAT=( lua5-1 lua5-3 ) |
50 |
-# do not add a ssl USE flag. ssl is mandatory |
51 |
-SSL_DEPS_SKIP=1 |
52 |
-inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs |
53 |
- |
54 |
-MY_P="${P/_/.}" |
55 |
-#MY_S="${PN}-ce-${PV}" |
56 |
-major_minor="$(ver_cut 1-2)" |
57 |
-sieve_version="0.5.15" |
58 |
-if [[ ${PV} == *_rc* ]]; then |
59 |
- rc_dir="rc/" |
60 |
-else |
61 |
- rc_dir="" |
62 |
-fi |
63 |
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz |
64 |
- sieve? ( |
65 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
66 |
- ) |
67 |
- managesieve? ( |
68 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
69 |
- ) " |
70 |
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" |
71 |
-HOMEPAGE="https://www.dovecot.org/" |
72 |
- |
73 |
-SLOT="0" |
74 |
-LICENSE="LGPL-2.1 MIT" |
75 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
76 |
- |
77 |
-IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" |
78 |
-IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib zstd" |
79 |
-IUSE_DOVECOT_OTHER="argon2 caps doc ipv6 lucene managesieve rpc |
80 |
- selinux sieve solr static-libs suid systemd tcpd textcat unwind" |
81 |
- |
82 |
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" |
83 |
- |
84 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
85 |
- |
86 |
-DEPEND=" |
87 |
- dev-libs/icu:= |
88 |
- dev-libs/openssl:0= |
89 |
- virtual/libiconv |
90 |
- argon2? ( dev-libs/libsodium:= ) |
91 |
- bzip2? ( app-arch/bzip2 ) |
92 |
- caps? ( sys-libs/libcap ) |
93 |
- kerberos? ( virtual/krb5 ) |
94 |
- ldap? ( net-nds/openldap ) |
95 |
- lua? ( ${LUA_DEPS} ) |
96 |
- lucene? ( >=dev-cpp/clucene-2.3 ) |
97 |
- lz4? ( app-arch/lz4 ) |
98 |
- lzma? ( app-arch/xz-utils ) |
99 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
100 |
- pam? ( sys-libs/pam:= ) |
101 |
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) |
102 |
- rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) |
103 |
- selinux? ( sec-policy/selinux-dovecot ) |
104 |
- solr? ( net-misc/curl dev-libs/expat ) |
105 |
- sqlite? ( dev-db/sqlite:* ) |
106 |
- suid? ( acct-group/mail ) |
107 |
- systemd? ( sys-apps/systemd:= ) |
108 |
- tcpd? ( sys-apps/tcp-wrappers ) |
109 |
- textcat? ( app-text/libexttextcat ) |
110 |
- unwind? ( sys-libs/libunwind:= ) |
111 |
- zlib? ( sys-libs/zlib:= ) |
112 |
- zstd? ( app-arch/zstd:= ) |
113 |
- virtual/libcrypt:= |
114 |
- " |
115 |
- |
116 |
-RDEPEND=" |
117 |
- ${DEPEND} |
118 |
- acct-group/dovecot |
119 |
- acct-group/dovenull |
120 |
- acct-user/dovecot |
121 |
- acct-user/dovenull |
122 |
- net-mail/mailbase |
123 |
- " |
124 |
- |
125 |
-S="${WORKDIR}/${MY_P}" |
126 |
- |
127 |
-PATCHES=( |
128 |
- "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch |
129 |
- "${FILESDIR}/${PN}"-socket-name-too-long.patch |
130 |
-) |
131 |
- |
132 |
-pkg_setup() { |
133 |
- use lua && lua-single_pkg_setup |
134 |
- if use managesieve && ! use sieve; then |
135 |
- ewarn "managesieve USE flag selected but sieve USE flag unselected" |
136 |
- ewarn "sieve USE flag will be turned on" |
137 |
- fi |
138 |
-} |
139 |
- |
140 |
-src_prepare() { |
141 |
- default |
142 |
- # bug 657108 |
143 |
- #elibtoolize |
144 |
- eautoreconf |
145 |
- |
146 |
- # Bug #727244 |
147 |
- append-cflags -fasynchronous-unwind-tables |
148 |
-} |
149 |
- |
150 |
-src_configure() { |
151 |
- local conf="" |
152 |
- |
153 |
- if use postgres || use mysql || use sqlite; then |
154 |
- conf="${conf} --with-sql" |
155 |
- fi |
156 |
- |
157 |
- # turn valgrind tests off. Bug #340791 |
158 |
- VALGRIND=no \ |
159 |
- LUAPC="${ELUA}" \ |
160 |
- systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
161 |
- econf \ |
162 |
- --with-rundir="${EPREFIX}/run/dovecot" \ |
163 |
- --with-statedir="${EPREFIX}/var/lib/dovecot" \ |
164 |
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ |
165 |
- --without-stemmer \ |
166 |
- --disable-rpath \ |
167 |
- --without-libbsd \ |
168 |
- --with-icu \ |
169 |
- --with-ssl \ |
170 |
- $( use_with argon2 sodium ) \ |
171 |
- $( use_with bzip2 bzlib ) \ |
172 |
- $( use_with caps libcap ) \ |
173 |
- $( use_with kerberos gssapi ) \ |
174 |
- $( use_with lua ) \ |
175 |
- $( use_with ldap ) \ |
176 |
- $( use_with lucene ) \ |
177 |
- $( use_with lz4 ) \ |
178 |
- $( use_with lzma ) \ |
179 |
- $( use_with mysql ) \ |
180 |
- $( use_with pam ) \ |
181 |
- $( use_with postgres pgsql ) \ |
182 |
- $( use_with sqlite ) \ |
183 |
- $( use_with solr ) \ |
184 |
- $( use_with systemd ) \ |
185 |
- $( use_with tcpd libwrap ) \ |
186 |
- $( use_with textcat ) \ |
187 |
- $( use_with unwind libunwind ) \ |
188 |
- $( use_with zlib ) \ |
189 |
- $( use_with zstd ) \ |
190 |
- $( use_enable static-libs static ) \ |
191 |
- ${conf} |
192 |
- |
193 |
- if use sieve || use managesieve; then |
194 |
- # The sieve plugin needs this file to be build to determine the plugin |
195 |
- # directory and the list of libraries to link to. |
196 |
- emake dovecot-config |
197 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
198 |
- econf \ |
199 |
- $( use_enable static-libs static ) \ |
200 |
- --localstatedir="${EPREFIX}/var" \ |
201 |
- --enable-shared \ |
202 |
- --with-dovecot="${S}" \ |
203 |
- $( use_with managesieve ) |
204 |
- fi |
205 |
-} |
206 |
- |
207 |
-src_compile() { |
208 |
- default |
209 |
- if use sieve || use managesieve; then |
210 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
211 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
212 |
- fi |
213 |
-} |
214 |
- |
215 |
-src_test() { |
216 |
- default |
217 |
- if use sieve || use managesieve; then |
218 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
219 |
- default |
220 |
- fi |
221 |
-} |
222 |
- |
223 |
-src_install() { |
224 |
- default |
225 |
- |
226 |
- # insecure: |
227 |
- # use suid && fperms u+s /usr/libexec/dovecot/deliver |
228 |
- # better: |
229 |
- if use suid; then |
230 |
- einfo "Changing perms to allow deliver to be suided" |
231 |
- fowners root:mail "/usr/libexec/dovecot/dovecot-lda" |
232 |
- fperms 4750 "/usr/libexec/dovecot/dovecot-lda" |
233 |
- fi |
234 |
- |
235 |
- newinitd "${FILESDIR}"/dovecot.init-r6 dovecot |
236 |
- |
237 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
238 |
- |
239 |
- dodoc AUTHORS NEWS README TODO |
240 |
- dodoc doc/*.{txt,cnf,xml,sh} |
241 |
- docinto example-config |
242 |
- dodoc doc/example-config/*.{conf,ext} |
243 |
- docinto example-config/conf.d |
244 |
- dodoc doc/example-config/conf.d/*.{conf,ext} |
245 |
- docinto wiki |
246 |
- dodoc doc/wiki/* |
247 |
- doman doc/man/*.{1,7} |
248 |
- |
249 |
- # Create the dovecot.conf file from the dovecot-example.conf file that |
250 |
- # the dovecot folks nicely left for us.... |
251 |
- local conf="${ED}/etc/dovecot/dovecot.conf" |
252 |
- local confd="${ED}/etc/dovecot/conf.d" |
253 |
- |
254 |
- insinto /etc/dovecot |
255 |
- doins doc/example-config/*.{conf,ext} |
256 |
- insinto /etc/dovecot/conf.d |
257 |
- doins doc/example-config/conf.d/*.{conf,ext} |
258 |
- fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext |
259 |
- rm -f "${confd}/../README" |
260 |
- |
261 |
- # .maildir is the Gentoo default |
262 |
- local mail_location="maildir:~/.maildir" |
263 |
- sed -i -e \ |
264 |
- "s|#mail_location =|mail_location = ${mail_location}|" \ |
265 |
- "${confd}/10-mail.conf" \ |
266 |
- || die "failed to update mail location settings in 10-mail.conf" |
267 |
- |
268 |
- # We're using pam files (imap and pop3) provided by mailbase |
269 |
- if use pam; then |
270 |
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ |
271 |
- "${confd}/auth-system.conf.ext" \ |
272 |
- || die "failed to update PAM settings in auth-system.conf.ext" |
273 |
- # mailbase does not provide a sieve pam file |
274 |
- use managesieve && dosym imap /etc/pam.d/sieve |
275 |
- sed -i -e \ |
276 |
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ |
277 |
- "${confd}/10-auth.conf" \ |
278 |
- || die "failed to update PAM settings in 10-auth.conf" |
279 |
- fi |
280 |
- |
281 |
- # Disable ipv6 if necessary |
282 |
- if ! use ipv6; then |
283 |
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ |
284 |
- || die "failed to update listen settings in dovecot.conf" |
285 |
- fi |
286 |
- |
287 |
- # Update ssl cert locations |
288 |
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ |
289 |
- || die "ssl conf failed" |
290 |
- sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ |
291 |
- -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ |
292 |
- "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" |
293 |
- |
294 |
- # Install SQL configuration |
295 |
- if use mysql || use postgres; then |
296 |
- sed -i -e \ |
297 |
- 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ |
298 |
- "${confd}/10-auth.conf" || die "failed to update SQL settings in \ |
299 |
- 10-auth.conf" |
300 |
- fi |
301 |
- |
302 |
- # Install LDAP configuration |
303 |
- if use ldap; then |
304 |
- sed -i -e \ |
305 |
- 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ |
306 |
- "${confd}/10-auth.conf" \ |
307 |
- || die "failed to update ldap settings in 10-auth.conf" |
308 |
- fi |
309 |
- |
310 |
- if use sieve || use managesieve; then |
311 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
312 |
- emake DESTDIR="${ED}" install |
313 |
- sed -i -e \ |
314 |
- 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ |
315 |
- || die "failed to update sieve settings in 15-lda.conf" |
316 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
317 |
- docinto example-config/conf.d |
318 |
- dodoc doc/example-config/conf.d/*.conf |
319 |
- insinto /etc/dovecot/conf.d |
320 |
- doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf |
321 |
- use managesieve && doins doc/example-config/conf.d/20-managesieve.conf |
322 |
- docinto sieve/rfc |
323 |
- dodoc doc/rfc/*.txt |
324 |
- docinto sieve/devel |
325 |
- dodoc doc/devel/DESIGN |
326 |
- docinto plugins |
327 |
- dodoc doc/plugins/*.txt |
328 |
- docinto extensions |
329 |
- dodoc doc/extensions/*.txt |
330 |
- docinto locations |
331 |
- dodoc doc/locations/*.txt |
332 |
- doman doc/man/*.{1,7} |
333 |
- fi |
334 |
- |
335 |
- use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete |
336 |
-} |
337 |
- |
338 |
-pkg_postinst() { |
339 |
- # Let's not make a new certificate if we already have one |
340 |
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ |
341 |
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then |
342 |
- einfo "Creating SSL certificate" |
343 |
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" |
344 |
- install_cert /etc/ssl/dovecot/server |
345 |
- fi |
346 |
- |
347 |
- elog "Please read https://doc.dovecot.org/installation_guide/upgrading/ for upgrade notes." |
348 |
-} |
349 |
|
350 |
diff --git a/net-mail/dovecot/dovecot-2.3.16-r1.ebuild b/net-mail/dovecot/dovecot-2.3.16-r1.ebuild |
351 |
deleted file mode 100644 |
352 |
index e247acb3400a..000000000000 |
353 |
--- a/net-mail/dovecot/dovecot-2.3.16-r1.ebuild |
354 |
+++ /dev/null |
355 |
@@ -1,307 +0,0 @@ |
356 |
-# Copyright 1999-2021 Gentoo Authors |
357 |
-# Distributed under the terms of the GNU General Public License v2 |
358 |
- |
359 |
-EAPI=8 |
360 |
- |
361 |
-LUA_COMPAT=( lua5-1 lua5-3 ) |
362 |
-# do not add a ssl USE flag. ssl is mandatory |
363 |
-SSL_DEPS_SKIP=1 |
364 |
-inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs |
365 |
- |
366 |
-MY_P="${P/_/.}" |
367 |
-#MY_S="${PN}-ce-${PV}" |
368 |
-major_minor="$(ver_cut 1-2)" |
369 |
-sieve_version="0.5.16" |
370 |
-if [[ ${PV} == *_rc* ]]; then |
371 |
- rc_dir="rc/" |
372 |
-else |
373 |
- rc_dir="" |
374 |
-fi |
375 |
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz |
376 |
- sieve? ( |
377 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
378 |
- ) |
379 |
- managesieve? ( |
380 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
381 |
- ) " |
382 |
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" |
383 |
-HOMEPAGE="https://www.dovecot.org/" |
384 |
- |
385 |
-SLOT="0" |
386 |
-LICENSE="LGPL-2.1 MIT" |
387 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
388 |
- |
389 |
-IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" |
390 |
-IUSE_DOVECOT_COMPRESS="lz4 zstd" |
391 |
-IUSE_DOVECOT_OTHER="argon2 caps doc ipv6 lucene managesieve rpc |
392 |
- selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" |
393 |
- |
394 |
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" |
395 |
- |
396 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
397 |
- |
398 |
-DEPEND=" |
399 |
- app-arch/bzip2 |
400 |
- app-arch/xz-utils |
401 |
- dev-libs/icu:= |
402 |
- dev-libs/openssl:0= |
403 |
- sys-libs/zlib:= |
404 |
- virtual/libiconv |
405 |
- argon2? ( dev-libs/libsodium:= ) |
406 |
- caps? ( sys-libs/libcap ) |
407 |
- kerberos? ( virtual/krb5 ) |
408 |
- ldap? ( net-nds/openldap ) |
409 |
- lua? ( ${LUA_DEPS} ) |
410 |
- lucene? ( >=dev-cpp/clucene-2.3 ) |
411 |
- lz4? ( app-arch/lz4 ) |
412 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
413 |
- pam? ( sys-libs/pam:= ) |
414 |
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) |
415 |
- rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) |
416 |
- selinux? ( sec-policy/selinux-dovecot ) |
417 |
- solr? ( net-misc/curl dev-libs/expat ) |
418 |
- sqlite? ( dev-db/sqlite:* ) |
419 |
- stemmer? ( dev-libs/snowball-stemmer:= ) |
420 |
- suid? ( acct-group/mail ) |
421 |
- systemd? ( sys-apps/systemd:= ) |
422 |
- tcpd? ( sys-apps/tcp-wrappers ) |
423 |
- textcat? ( app-text/libexttextcat ) |
424 |
- unwind? ( sys-libs/libunwind:= ) |
425 |
- zstd? ( app-arch/zstd:= ) |
426 |
- virtual/libcrypt:= |
427 |
- " |
428 |
- |
429 |
-RDEPEND=" |
430 |
- ${DEPEND} |
431 |
- acct-group/dovecot |
432 |
- acct-group/dovenull |
433 |
- acct-user/dovecot |
434 |
- acct-user/dovenull |
435 |
- net-mail/mailbase |
436 |
- " |
437 |
- |
438 |
-S="${WORKDIR}/${MY_P}" |
439 |
- |
440 |
-PATCHES=( |
441 |
- "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch |
442 |
- "${FILESDIR}/${PN}"-socket-name-too-long.patch |
443 |
-) |
444 |
- |
445 |
-pkg_setup() { |
446 |
- use lua && lua-single_pkg_setup |
447 |
- if use managesieve && ! use sieve; then |
448 |
- ewarn "managesieve USE flag selected but sieve USE flag unselected" |
449 |
- ewarn "sieve USE flag will be turned on" |
450 |
- fi |
451 |
-} |
452 |
- |
453 |
-src_prepare() { |
454 |
- default |
455 |
- # bug 657108 |
456 |
- #elibtoolize |
457 |
- eautoreconf |
458 |
- |
459 |
- # Bug #727244 |
460 |
- append-cflags -fasynchronous-unwind-tables |
461 |
-} |
462 |
- |
463 |
-src_configure() { |
464 |
- local conf="" |
465 |
- |
466 |
- if use postgres || use mysql || use sqlite; then |
467 |
- conf="${conf} --with-sql" |
468 |
- fi |
469 |
- |
470 |
- # turn valgrind tests off. Bug #340791 |
471 |
- VALGRIND=no \ |
472 |
- LUAPC="${ELUA}" \ |
473 |
- systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
474 |
- econf \ |
475 |
- --with-rundir="${EPREFIX}/run/dovecot" \ |
476 |
- --with-statedir="${EPREFIX}/var/lib/dovecot" \ |
477 |
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ |
478 |
- --disable-rpath \ |
479 |
- --with-bzlib \ |
480 |
- --without-libbsd \ |
481 |
- --with-lzma \ |
482 |
- --with-icu \ |
483 |
- --with-ssl \ |
484 |
- --with-zlib \ |
485 |
- $( use_with argon2 sodium ) \ |
486 |
- $( use_with caps libcap ) \ |
487 |
- $( use_with kerberos gssapi ) \ |
488 |
- $( use_with lua ) \ |
489 |
- $( use_with ldap ) \ |
490 |
- $( use_with lucene ) \ |
491 |
- $( use_with lz4 ) \ |
492 |
- $( use_with mysql ) \ |
493 |
- $( use_with pam ) \ |
494 |
- $( use_with postgres pgsql ) \ |
495 |
- $( use_with sqlite ) \ |
496 |
- $( use_with solr ) \ |
497 |
- $( use_with stemmer ) \ |
498 |
- $( use_with systemd ) \ |
499 |
- $( use_with tcpd libwrap ) \ |
500 |
- $( use_with textcat ) \ |
501 |
- $( use_with unwind libunwind ) \ |
502 |
- $( use_with zstd ) \ |
503 |
- $( use_enable static-libs static ) \ |
504 |
- ${conf} |
505 |
- |
506 |
- if use sieve || use managesieve; then |
507 |
- # The sieve plugin needs this file to be build to determine the plugin |
508 |
- # directory and the list of libraries to link to. |
509 |
- emake dovecot-config |
510 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
511 |
- econf \ |
512 |
- $( use_enable static-libs static ) \ |
513 |
- --localstatedir="${EPREFIX}/var" \ |
514 |
- --enable-shared \ |
515 |
- --with-dovecot="${S}" \ |
516 |
- $( use_with ldap ) \ |
517 |
- $( use_with managesieve ) |
518 |
- fi |
519 |
-} |
520 |
- |
521 |
-src_compile() { |
522 |
- default |
523 |
- if use sieve || use managesieve; then |
524 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
525 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
526 |
- fi |
527 |
-} |
528 |
- |
529 |
-src_test() { |
530 |
- default |
531 |
- if use sieve || use managesieve; then |
532 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
533 |
- default |
534 |
- fi |
535 |
-} |
536 |
- |
537 |
-src_install() { |
538 |
- default |
539 |
- |
540 |
- # insecure: |
541 |
- # use suid && fperms u+s /usr/libexec/dovecot/deliver |
542 |
- # better: |
543 |
- if use suid; then |
544 |
- einfo "Changing perms to allow deliver to be suided" |
545 |
- fowners root:mail "/usr/libexec/dovecot/dovecot-lda" |
546 |
- fperms 4750 "/usr/libexec/dovecot/dovecot-lda" |
547 |
- fi |
548 |
- |
549 |
- newinitd "${FILESDIR}"/dovecot.init-r6 dovecot |
550 |
- |
551 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
552 |
- |
553 |
- dodoc AUTHORS NEWS README TODO |
554 |
- dodoc doc/*.{txt,cnf,xml,sh} |
555 |
- docinto example-config |
556 |
- dodoc doc/example-config/*.{conf,ext} |
557 |
- docinto example-config/conf.d |
558 |
- dodoc doc/example-config/conf.d/*.{conf,ext} |
559 |
- docinto wiki |
560 |
- dodoc doc/wiki/* |
561 |
- doman doc/man/*.{1,7} |
562 |
- |
563 |
- # Create the dovecot.conf file from the dovecot-example.conf file that |
564 |
- # the dovecot folks nicely left for us.... |
565 |
- local conf="${ED}/etc/dovecot/dovecot.conf" |
566 |
- local confd="${ED}/etc/dovecot/conf.d" |
567 |
- |
568 |
- insinto /etc/dovecot |
569 |
- doins doc/example-config/*.{conf,ext} |
570 |
- insinto /etc/dovecot/conf.d |
571 |
- doins doc/example-config/conf.d/*.{conf,ext} |
572 |
- fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext |
573 |
- rm -f "${confd}/../README" |
574 |
- |
575 |
- # .maildir is the Gentoo default |
576 |
- local mail_location="maildir:~/.maildir" |
577 |
- sed -i -e \ |
578 |
- "s|#mail_location =|mail_location = ${mail_location}|" \ |
579 |
- "${confd}/10-mail.conf" \ |
580 |
- || die "failed to update mail location settings in 10-mail.conf" |
581 |
- |
582 |
- # We're using pam files (imap and pop3) provided by mailbase |
583 |
- if use pam; then |
584 |
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ |
585 |
- "${confd}/auth-system.conf.ext" \ |
586 |
- || die "failed to update PAM settings in auth-system.conf.ext" |
587 |
- # mailbase does not provide a sieve pam file |
588 |
- use managesieve && dosym imap /etc/pam.d/sieve |
589 |
- sed -i -e \ |
590 |
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ |
591 |
- "${confd}/10-auth.conf" \ |
592 |
- || die "failed to update PAM settings in 10-auth.conf" |
593 |
- fi |
594 |
- |
595 |
- # Disable ipv6 if necessary |
596 |
- if ! use ipv6; then |
597 |
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ |
598 |
- || die "failed to update listen settings in dovecot.conf" |
599 |
- fi |
600 |
- |
601 |
- # Update ssl cert locations |
602 |
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ |
603 |
- || die "ssl conf failed" |
604 |
- sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ |
605 |
- -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ |
606 |
- "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" |
607 |
- |
608 |
- # Install SQL configuration |
609 |
- if use mysql || use postgres; then |
610 |
- sed -i -e \ |
611 |
- 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ |
612 |
- "${confd}/10-auth.conf" || die "failed to update SQL settings in \ |
613 |
- 10-auth.conf" |
614 |
- fi |
615 |
- |
616 |
- # Install LDAP configuration |
617 |
- if use ldap; then |
618 |
- sed -i -e \ |
619 |
- 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ |
620 |
- "${confd}/10-auth.conf" \ |
621 |
- || die "failed to update ldap settings in 10-auth.conf" |
622 |
- fi |
623 |
- |
624 |
- if use sieve || use managesieve; then |
625 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
626 |
- emake DESTDIR="${ED}" install |
627 |
- sed -i -e \ |
628 |
- 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ |
629 |
- || die "failed to update sieve settings in 15-lda.conf" |
630 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
631 |
- docinto example-config/conf.d |
632 |
- dodoc doc/example-config/conf.d/*.conf |
633 |
- insinto /etc/dovecot/conf.d |
634 |
- doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf |
635 |
- use managesieve && doins doc/example-config/conf.d/20-managesieve.conf |
636 |
- docinto sieve/rfc |
637 |
- dodoc doc/rfc/*.txt |
638 |
- docinto sieve/devel |
639 |
- dodoc doc/devel/DESIGN |
640 |
- docinto plugins |
641 |
- dodoc doc/plugins/*.txt |
642 |
- docinto extensions |
643 |
- dodoc doc/extensions/*.txt |
644 |
- docinto locations |
645 |
- dodoc doc/locations/*.txt |
646 |
- doman doc/man/*.{1,7} |
647 |
- fi |
648 |
- |
649 |
- use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete |
650 |
-} |
651 |
- |
652 |
-pkg_postinst() { |
653 |
- # Let's not make a new certificate if we already have one |
654 |
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ |
655 |
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then |
656 |
- einfo "Creating SSL certificate" |
657 |
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" |
658 |
- install_cert /etc/ssl/dovecot/server |
659 |
- fi |
660 |
- |
661 |
- elog "Please read https://doc.dovecot.org/installation_guide/upgrading/ for upgrade notes." |
662 |
-} |
663 |
|
664 |
diff --git a/net-mail/dovecot/dovecot-2.3.16.ebuild b/net-mail/dovecot/dovecot-2.3.16.ebuild |
665 |
deleted file mode 100644 |
666 |
index 63ecb73f66d2..000000000000 |
667 |
--- a/net-mail/dovecot/dovecot-2.3.16.ebuild |
668 |
+++ /dev/null |
669 |
@@ -1,306 +0,0 @@ |
670 |
-# Copyright 1999-2021 Gentoo Authors |
671 |
-# Distributed under the terms of the GNU General Public License v2 |
672 |
- |
673 |
-EAPI=7 |
674 |
- |
675 |
-LUA_COMPAT=( lua5-1 lua5-3 ) |
676 |
-# do not add a ssl USE flag. ssl is mandatory |
677 |
-SSL_DEPS_SKIP=1 |
678 |
-inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs |
679 |
- |
680 |
-MY_P="${P/_/.}" |
681 |
-#MY_S="${PN}-ce-${PV}" |
682 |
-major_minor="$(ver_cut 1-2)" |
683 |
-sieve_version="0.5.16" |
684 |
-if [[ ${PV} == *_rc* ]]; then |
685 |
- rc_dir="rc/" |
686 |
-else |
687 |
- rc_dir="" |
688 |
-fi |
689 |
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz |
690 |
- sieve? ( |
691 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
692 |
- ) |
693 |
- managesieve? ( |
694 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
695 |
- ) " |
696 |
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" |
697 |
-HOMEPAGE="https://www.dovecot.org/" |
698 |
- |
699 |
-SLOT="0" |
700 |
-LICENSE="LGPL-2.1 MIT" |
701 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
702 |
- |
703 |
-IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" |
704 |
-IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib zstd" |
705 |
-IUSE_DOVECOT_OTHER="argon2 caps doc ipv6 lucene managesieve rpc |
706 |
- selinux sieve solr static-libs suid systemd tcpd textcat unwind" |
707 |
- |
708 |
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" |
709 |
- |
710 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
711 |
- |
712 |
-DEPEND=" |
713 |
- dev-libs/icu:= |
714 |
- dev-libs/openssl:0= |
715 |
- virtual/libiconv |
716 |
- argon2? ( dev-libs/libsodium:= ) |
717 |
- bzip2? ( app-arch/bzip2 ) |
718 |
- caps? ( sys-libs/libcap ) |
719 |
- kerberos? ( virtual/krb5 ) |
720 |
- ldap? ( net-nds/openldap ) |
721 |
- lua? ( ${LUA_DEPS} ) |
722 |
- lucene? ( >=dev-cpp/clucene-2.3 ) |
723 |
- lz4? ( app-arch/lz4 ) |
724 |
- lzma? ( app-arch/xz-utils ) |
725 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
726 |
- pam? ( sys-libs/pam:= ) |
727 |
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) |
728 |
- rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) |
729 |
- selinux? ( sec-policy/selinux-dovecot ) |
730 |
- solr? ( net-misc/curl dev-libs/expat ) |
731 |
- sqlite? ( dev-db/sqlite:* ) |
732 |
- suid? ( acct-group/mail ) |
733 |
- systemd? ( sys-apps/systemd:= ) |
734 |
- tcpd? ( sys-apps/tcp-wrappers ) |
735 |
- textcat? ( app-text/libexttextcat ) |
736 |
- unwind? ( sys-libs/libunwind:= ) |
737 |
- zlib? ( sys-libs/zlib:= ) |
738 |
- zstd? ( app-arch/zstd:= ) |
739 |
- virtual/libcrypt:= |
740 |
- " |
741 |
- |
742 |
-RDEPEND=" |
743 |
- ${DEPEND} |
744 |
- acct-group/dovecot |
745 |
- acct-group/dovenull |
746 |
- acct-user/dovecot |
747 |
- acct-user/dovenull |
748 |
- net-mail/mailbase |
749 |
- " |
750 |
- |
751 |
-S="${WORKDIR}/${MY_P}" |
752 |
- |
753 |
-PATCHES=( |
754 |
- "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch |
755 |
- "${FILESDIR}/${PN}"-socket-name-too-long.patch |
756 |
-) |
757 |
- |
758 |
-pkg_setup() { |
759 |
- use lua && lua-single_pkg_setup |
760 |
- if use managesieve && ! use sieve; then |
761 |
- ewarn "managesieve USE flag selected but sieve USE flag unselected" |
762 |
- ewarn "sieve USE flag will be turned on" |
763 |
- fi |
764 |
-} |
765 |
- |
766 |
-src_prepare() { |
767 |
- default |
768 |
- # bug 657108 |
769 |
- #elibtoolize |
770 |
- eautoreconf |
771 |
- |
772 |
- # Bug #727244 |
773 |
- append-cflags -fasynchronous-unwind-tables |
774 |
-} |
775 |
- |
776 |
-src_configure() { |
777 |
- local conf="" |
778 |
- |
779 |
- if use postgres || use mysql || use sqlite; then |
780 |
- conf="${conf} --with-sql" |
781 |
- fi |
782 |
- |
783 |
- # turn valgrind tests off. Bug #340791 |
784 |
- VALGRIND=no \ |
785 |
- LUAPC="${ELUA}" \ |
786 |
- systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
787 |
- econf \ |
788 |
- --with-rundir="${EPREFIX}/run/dovecot" \ |
789 |
- --with-statedir="${EPREFIX}/var/lib/dovecot" \ |
790 |
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ |
791 |
- --without-stemmer \ |
792 |
- --disable-rpath \ |
793 |
- --without-libbsd \ |
794 |
- --with-icu \ |
795 |
- --with-ssl \ |
796 |
- $( use_with argon2 sodium ) \ |
797 |
- $( use_with bzip2 bzlib ) \ |
798 |
- $( use_with caps libcap ) \ |
799 |
- $( use_with kerberos gssapi ) \ |
800 |
- $( use_with lua ) \ |
801 |
- $( use_with ldap ) \ |
802 |
- $( use_with lucene ) \ |
803 |
- $( use_with lz4 ) \ |
804 |
- $( use_with lzma ) \ |
805 |
- $( use_with mysql ) \ |
806 |
- $( use_with pam ) \ |
807 |
- $( use_with postgres pgsql ) \ |
808 |
- $( use_with sqlite ) \ |
809 |
- $( use_with solr ) \ |
810 |
- $( use_with systemd ) \ |
811 |
- $( use_with tcpd libwrap ) \ |
812 |
- $( use_with textcat ) \ |
813 |
- $( use_with unwind libunwind ) \ |
814 |
- $( use_with zlib ) \ |
815 |
- $( use_with zstd ) \ |
816 |
- $( use_enable static-libs static ) \ |
817 |
- ${conf} |
818 |
- |
819 |
- if use sieve || use managesieve; then |
820 |
- # The sieve plugin needs this file to be build to determine the plugin |
821 |
- # directory and the list of libraries to link to. |
822 |
- emake dovecot-config |
823 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
824 |
- econf \ |
825 |
- $( use_enable static-libs static ) \ |
826 |
- --localstatedir="${EPREFIX}/var" \ |
827 |
- --enable-shared \ |
828 |
- --with-dovecot="${S}" \ |
829 |
- $( use_with ldap ) \ |
830 |
- $( use_with managesieve ) |
831 |
- fi |
832 |
-} |
833 |
- |
834 |
-src_compile() { |
835 |
- default |
836 |
- if use sieve || use managesieve; then |
837 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
838 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
839 |
- fi |
840 |
-} |
841 |
- |
842 |
-src_test() { |
843 |
- default |
844 |
- if use sieve || use managesieve; then |
845 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
846 |
- default |
847 |
- fi |
848 |
-} |
849 |
- |
850 |
-src_install() { |
851 |
- default |
852 |
- |
853 |
- # insecure: |
854 |
- # use suid && fperms u+s /usr/libexec/dovecot/deliver |
855 |
- # better: |
856 |
- if use suid; then |
857 |
- einfo "Changing perms to allow deliver to be suided" |
858 |
- fowners root:mail "/usr/libexec/dovecot/dovecot-lda" |
859 |
- fperms 4750 "/usr/libexec/dovecot/dovecot-lda" |
860 |
- fi |
861 |
- |
862 |
- newinitd "${FILESDIR}"/dovecot.init-r6 dovecot |
863 |
- |
864 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
865 |
- |
866 |
- dodoc AUTHORS NEWS README TODO |
867 |
- dodoc doc/*.{txt,cnf,xml,sh} |
868 |
- docinto example-config |
869 |
- dodoc doc/example-config/*.{conf,ext} |
870 |
- docinto example-config/conf.d |
871 |
- dodoc doc/example-config/conf.d/*.{conf,ext} |
872 |
- docinto wiki |
873 |
- dodoc doc/wiki/* |
874 |
- doman doc/man/*.{1,7} |
875 |
- |
876 |
- # Create the dovecot.conf file from the dovecot-example.conf file that |
877 |
- # the dovecot folks nicely left for us.... |
878 |
- local conf="${ED}/etc/dovecot/dovecot.conf" |
879 |
- local confd="${ED}/etc/dovecot/conf.d" |
880 |
- |
881 |
- insinto /etc/dovecot |
882 |
- doins doc/example-config/*.{conf,ext} |
883 |
- insinto /etc/dovecot/conf.d |
884 |
- doins doc/example-config/conf.d/*.{conf,ext} |
885 |
- fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext |
886 |
- rm -f "${confd}/../README" |
887 |
- |
888 |
- # .maildir is the Gentoo default |
889 |
- local mail_location="maildir:~/.maildir" |
890 |
- sed -i -e \ |
891 |
- "s|#mail_location =|mail_location = ${mail_location}|" \ |
892 |
- "${confd}/10-mail.conf" \ |
893 |
- || die "failed to update mail location settings in 10-mail.conf" |
894 |
- |
895 |
- # We're using pam files (imap and pop3) provided by mailbase |
896 |
- if use pam; then |
897 |
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ |
898 |
- "${confd}/auth-system.conf.ext" \ |
899 |
- || die "failed to update PAM settings in auth-system.conf.ext" |
900 |
- # mailbase does not provide a sieve pam file |
901 |
- use managesieve && dosym imap /etc/pam.d/sieve |
902 |
- sed -i -e \ |
903 |
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ |
904 |
- "${confd}/10-auth.conf" \ |
905 |
- || die "failed to update PAM settings in 10-auth.conf" |
906 |
- fi |
907 |
- |
908 |
- # Disable ipv6 if necessary |
909 |
- if ! use ipv6; then |
910 |
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ |
911 |
- || die "failed to update listen settings in dovecot.conf" |
912 |
- fi |
913 |
- |
914 |
- # Update ssl cert locations |
915 |
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ |
916 |
- || die "ssl conf failed" |
917 |
- sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ |
918 |
- -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ |
919 |
- "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" |
920 |
- |
921 |
- # Install SQL configuration |
922 |
- if use mysql || use postgres; then |
923 |
- sed -i -e \ |
924 |
- 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ |
925 |
- "${confd}/10-auth.conf" || die "failed to update SQL settings in \ |
926 |
- 10-auth.conf" |
927 |
- fi |
928 |
- |
929 |
- # Install LDAP configuration |
930 |
- if use ldap; then |
931 |
- sed -i -e \ |
932 |
- 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ |
933 |
- "${confd}/10-auth.conf" \ |
934 |
- || die "failed to update ldap settings in 10-auth.conf" |
935 |
- fi |
936 |
- |
937 |
- if use sieve || use managesieve; then |
938 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
939 |
- emake DESTDIR="${ED}" install |
940 |
- sed -i -e \ |
941 |
- 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ |
942 |
- || die "failed to update sieve settings in 15-lda.conf" |
943 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
944 |
- docinto example-config/conf.d |
945 |
- dodoc doc/example-config/conf.d/*.conf |
946 |
- insinto /etc/dovecot/conf.d |
947 |
- doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf |
948 |
- use managesieve && doins doc/example-config/conf.d/20-managesieve.conf |
949 |
- docinto sieve/rfc |
950 |
- dodoc doc/rfc/*.txt |
951 |
- docinto sieve/devel |
952 |
- dodoc doc/devel/DESIGN |
953 |
- docinto plugins |
954 |
- dodoc doc/plugins/*.txt |
955 |
- docinto extensions |
956 |
- dodoc doc/extensions/*.txt |
957 |
- docinto locations |
958 |
- dodoc doc/locations/*.txt |
959 |
- doman doc/man/*.{1,7} |
960 |
- fi |
961 |
- |
962 |
- use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete |
963 |
-} |
964 |
- |
965 |
-pkg_postinst() { |
966 |
- # Let's not make a new certificate if we already have one |
967 |
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ |
968 |
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then |
969 |
- einfo "Creating SSL certificate" |
970 |
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" |
971 |
- install_cert /etc/ssl/dovecot/server |
972 |
- fi |
973 |
- |
974 |
- elog "Please read https://doc.dovecot.org/installation_guide/upgrading/ for upgrade notes." |
975 |
-} |
976 |
|
977 |
diff --git a/net-mail/dovecot/dovecot-2.3.17.ebuild b/net-mail/dovecot/dovecot-2.3.17.ebuild |
978 |
deleted file mode 100644 |
979 |
index ba8648611522..000000000000 |
980 |
--- a/net-mail/dovecot/dovecot-2.3.17.ebuild |
981 |
+++ /dev/null |
982 |
@@ -1,307 +0,0 @@ |
983 |
-# Copyright 1999-2021 Gentoo Authors |
984 |
-# Distributed under the terms of the GNU General Public License v2 |
985 |
- |
986 |
-EAPI=8 |
987 |
- |
988 |
-LUA_COMPAT=( lua5-1 lua5-3 ) |
989 |
-# do not add a ssl USE flag. ssl is mandatory |
990 |
-SSL_DEPS_SKIP=1 |
991 |
-inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs |
992 |
- |
993 |
-MY_P="${P/_/.}" |
994 |
-#MY_S="${PN}-ce-${PV}" |
995 |
-major_minor="$(ver_cut 1-2)" |
996 |
-sieve_version="0.5.17" |
997 |
-if [[ ${PV} == *_rc* ]]; then |
998 |
- rc_dir="rc/" |
999 |
-else |
1000 |
- rc_dir="" |
1001 |
-fi |
1002 |
-SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz |
1003 |
- sieve? ( |
1004 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
1005 |
- ) |
1006 |
- managesieve? ( |
1007 |
- https://pigeonhole.dovecot.org/releases/${major_minor}/${rc_dir}${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz |
1008 |
- ) " |
1009 |
-DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" |
1010 |
-HOMEPAGE="https://www.dovecot.org/" |
1011 |
- |
1012 |
-SLOT="0" |
1013 |
-LICENSE="LGPL-2.1 MIT" |
1014 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
1015 |
- |
1016 |
-IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite" |
1017 |
-IUSE_DOVECOT_COMPRESS="lz4 zstd" |
1018 |
-IUSE_DOVECOT_OTHER="argon2 caps doc ipv6 lucene managesieve rpc |
1019 |
- selinux sieve solr static-libs stemmer suid systemd tcpd textcat unwind" |
1020 |
- |
1021 |
-IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" |
1022 |
- |
1023 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
1024 |
- |
1025 |
-DEPEND=" |
1026 |
- app-arch/bzip2 |
1027 |
- app-arch/xz-utils |
1028 |
- dev-libs/icu:= |
1029 |
- dev-libs/openssl:0= |
1030 |
- sys-libs/zlib:= |
1031 |
- virtual/libiconv |
1032 |
- argon2? ( dev-libs/libsodium:= ) |
1033 |
- caps? ( sys-libs/libcap ) |
1034 |
- kerberos? ( virtual/krb5 ) |
1035 |
- ldap? ( net-nds/openldap ) |
1036 |
- lua? ( ${LUA_DEPS} ) |
1037 |
- lucene? ( >=dev-cpp/clucene-2.3 ) |
1038 |
- lz4? ( app-arch/lz4 ) |
1039 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
1040 |
- pam? ( sys-libs/pam:= ) |
1041 |
- postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) |
1042 |
- rpc? ( net-libs/libtirpc:= net-libs/rpcsvc-proto ) |
1043 |
- selinux? ( sec-policy/selinux-dovecot ) |
1044 |
- solr? ( net-misc/curl dev-libs/expat ) |
1045 |
- sqlite? ( dev-db/sqlite:* ) |
1046 |
- stemmer? ( dev-libs/snowball-stemmer:= ) |
1047 |
- suid? ( acct-group/mail ) |
1048 |
- systemd? ( sys-apps/systemd:= ) |
1049 |
- tcpd? ( sys-apps/tcp-wrappers ) |
1050 |
- textcat? ( app-text/libexttextcat ) |
1051 |
- unwind? ( sys-libs/libunwind:= ) |
1052 |
- zstd? ( app-arch/zstd:= ) |
1053 |
- virtual/libcrypt:= |
1054 |
- " |
1055 |
- |
1056 |
-RDEPEND=" |
1057 |
- ${DEPEND} |
1058 |
- acct-group/dovecot |
1059 |
- acct-group/dovenull |
1060 |
- acct-user/dovecot |
1061 |
- acct-user/dovenull |
1062 |
- net-mail/mailbase |
1063 |
- " |
1064 |
- |
1065 |
-S="${WORKDIR}/${MY_P}" |
1066 |
- |
1067 |
-PATCHES=( |
1068 |
- "${FILESDIR}/${PN}"-autoconf-lua-version-v2.patch |
1069 |
- "${FILESDIR}/${PN}"-socket-name-too-long.patch |
1070 |
-) |
1071 |
- |
1072 |
-pkg_setup() { |
1073 |
- use lua && lua-single_pkg_setup |
1074 |
- if use managesieve && ! use sieve; then |
1075 |
- ewarn "managesieve USE flag selected but sieve USE flag unselected" |
1076 |
- ewarn "sieve USE flag will be turned on" |
1077 |
- fi |
1078 |
-} |
1079 |
- |
1080 |
-src_prepare() { |
1081 |
- default |
1082 |
- # bug 657108 |
1083 |
- #elibtoolize |
1084 |
- eautoreconf |
1085 |
- |
1086 |
- # Bug #727244 |
1087 |
- append-cflags -fasynchronous-unwind-tables |
1088 |
-} |
1089 |
- |
1090 |
-src_configure() { |
1091 |
- local conf="" |
1092 |
- |
1093 |
- if use postgres || use mysql || use sqlite; then |
1094 |
- conf="${conf} --with-sql" |
1095 |
- fi |
1096 |
- |
1097 |
- # turn valgrind tests off. Bug #340791 |
1098 |
- VALGRIND=no \ |
1099 |
- LUAPC="${ELUA}" \ |
1100 |
- systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
1101 |
- econf \ |
1102 |
- --with-rundir="${EPREFIX}/run/dovecot" \ |
1103 |
- --with-statedir="${EPREFIX}/var/lib/dovecot" \ |
1104 |
- --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ |
1105 |
- --disable-rpath \ |
1106 |
- --with-bzlib \ |
1107 |
- --without-libbsd \ |
1108 |
- --with-lzma \ |
1109 |
- --with-icu \ |
1110 |
- --with-ssl \ |
1111 |
- --with-zlib \ |
1112 |
- $( use_with argon2 sodium ) \ |
1113 |
- $( use_with caps libcap ) \ |
1114 |
- $( use_with kerberos gssapi ) \ |
1115 |
- $( use_with lua ) \ |
1116 |
- $( use_with ldap ) \ |
1117 |
- $( use_with lucene ) \ |
1118 |
- $( use_with lz4 ) \ |
1119 |
- $( use_with mysql ) \ |
1120 |
- $( use_with pam ) \ |
1121 |
- $( use_with postgres pgsql ) \ |
1122 |
- $( use_with sqlite ) \ |
1123 |
- $( use_with solr ) \ |
1124 |
- $( use_with stemmer ) \ |
1125 |
- $( use_with systemd ) \ |
1126 |
- $( use_with tcpd libwrap ) \ |
1127 |
- $( use_with textcat ) \ |
1128 |
- $( use_with unwind libunwind ) \ |
1129 |
- $( use_with zstd ) \ |
1130 |
- $( use_enable static-libs static ) \ |
1131 |
- ${conf} |
1132 |
- |
1133 |
- if use sieve || use managesieve; then |
1134 |
- # The sieve plugin needs this file to be build to determine the plugin |
1135 |
- # directory and the list of libraries to link to. |
1136 |
- emake dovecot-config |
1137 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
1138 |
- econf \ |
1139 |
- $( use_enable static-libs static ) \ |
1140 |
- --localstatedir="${EPREFIX}/var" \ |
1141 |
- --enable-shared \ |
1142 |
- --with-dovecot="${S}" \ |
1143 |
- $( use_with ldap ) \ |
1144 |
- $( use_with managesieve ) |
1145 |
- fi |
1146 |
-} |
1147 |
- |
1148 |
-src_compile() { |
1149 |
- default |
1150 |
- if use sieve || use managesieve; then |
1151 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
1152 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
1153 |
- fi |
1154 |
-} |
1155 |
- |
1156 |
-src_test() { |
1157 |
- default |
1158 |
- if use sieve || use managesieve; then |
1159 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
1160 |
- default |
1161 |
- fi |
1162 |
-} |
1163 |
- |
1164 |
-src_install() { |
1165 |
- default |
1166 |
- |
1167 |
- # insecure: |
1168 |
- # use suid && fperms u+s /usr/libexec/dovecot/deliver |
1169 |
- # better: |
1170 |
- if use suid; then |
1171 |
- einfo "Changing perms to allow deliver to be suided" |
1172 |
- fowners root:mail "/usr/libexec/dovecot/dovecot-lda" |
1173 |
- fperms 4750 "/usr/libexec/dovecot/dovecot-lda" |
1174 |
- fi |
1175 |
- |
1176 |
- newinitd "${FILESDIR}"/dovecot.init-r6 dovecot |
1177 |
- |
1178 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
1179 |
- |
1180 |
- dodoc AUTHORS NEWS README TODO |
1181 |
- dodoc doc/*.{txt,cnf,xml,sh} |
1182 |
- docinto example-config |
1183 |
- dodoc doc/example-config/*.{conf,ext} |
1184 |
- docinto example-config/conf.d |
1185 |
- dodoc doc/example-config/conf.d/*.{conf,ext} |
1186 |
- docinto wiki |
1187 |
- dodoc doc/wiki/* |
1188 |
- doman doc/man/*.{1,7} |
1189 |
- |
1190 |
- # Create the dovecot.conf file from the dovecot-example.conf file that |
1191 |
- # the dovecot folks nicely left for us.... |
1192 |
- local conf="${ED}/etc/dovecot/dovecot.conf" |
1193 |
- local confd="${ED}/etc/dovecot/conf.d" |
1194 |
- |
1195 |
- insinto /etc/dovecot |
1196 |
- doins doc/example-config/*.{conf,ext} |
1197 |
- insinto /etc/dovecot/conf.d |
1198 |
- doins doc/example-config/conf.d/*.{conf,ext} |
1199 |
- fperms 0600 /etc/dovecot/dovecot-{ldap,sql}.conf.ext |
1200 |
- rm -f "${confd}/../README" |
1201 |
- |
1202 |
- # .maildir is the Gentoo default |
1203 |
- local mail_location="maildir:~/.maildir" |
1204 |
- sed -i -e \ |
1205 |
- "s|#mail_location =|mail_location = ${mail_location}|" \ |
1206 |
- "${confd}/10-mail.conf" \ |
1207 |
- || die "failed to update mail location settings in 10-mail.conf" |
1208 |
- |
1209 |
- # We're using pam files (imap and pop3) provided by mailbase |
1210 |
- if use pam; then |
1211 |
- sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ |
1212 |
- "${confd}/auth-system.conf.ext" \ |
1213 |
- || die "failed to update PAM settings in auth-system.conf.ext" |
1214 |
- # mailbase does not provide a sieve pam file |
1215 |
- use managesieve && dosym imap /etc/pam.d/sieve |
1216 |
- sed -i -e \ |
1217 |
- 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ |
1218 |
- "${confd}/10-auth.conf" \ |
1219 |
- || die "failed to update PAM settings in 10-auth.conf" |
1220 |
- fi |
1221 |
- |
1222 |
- # Disable ipv6 if necessary |
1223 |
- if ! use ipv6; then |
1224 |
- sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ |
1225 |
- || die "failed to update listen settings in dovecot.conf" |
1226 |
- fi |
1227 |
- |
1228 |
- # Update ssl cert locations |
1229 |
- sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ |
1230 |
- || die "ssl conf failed" |
1231 |
- sed -i -e 's:^ssl_cert =.*:ssl_cert = </etc/ssl/dovecot/server.pem:' \ |
1232 |
- -e 's:^ssl_key =.*:ssl_key = </etc/ssl/dovecot/server.key:' \ |
1233 |
- "${confd}/10-ssl.conf" || die "failed to update SSL settings in 10-ssl.conf" |
1234 |
- |
1235 |
- # Install SQL configuration |
1236 |
- if use mysql || use postgres; then |
1237 |
- sed -i -e \ |
1238 |
- 's/#!include auth-sql.conf.ext/!include auth-sql.conf.ext/' \ |
1239 |
- "${confd}/10-auth.conf" || die "failed to update SQL settings in \ |
1240 |
- 10-auth.conf" |
1241 |
- fi |
1242 |
- |
1243 |
- # Install LDAP configuration |
1244 |
- if use ldap; then |
1245 |
- sed -i -e \ |
1246 |
- 's/#!include auth-ldap.conf.ext/!include auth-ldap.conf.ext/' \ |
1247 |
- "${confd}/10-auth.conf" \ |
1248 |
- || die "failed to update ldap settings in 10-auth.conf" |
1249 |
- fi |
1250 |
- |
1251 |
- if use sieve || use managesieve; then |
1252 |
- cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" |
1253 |
- emake DESTDIR="${ED}" install |
1254 |
- sed -i -e \ |
1255 |
- 's/^[[:space:]]*#mail_plugins = $mail_plugins/mail_plugins = sieve/' "${confd}/15-lda.conf" \ |
1256 |
- || die "failed to update sieve settings in 15-lda.conf" |
1257 |
- rm -rf "${ED}"/usr/share/doc/dovecot |
1258 |
- docinto example-config/conf.d |
1259 |
- dodoc doc/example-config/conf.d/*.conf |
1260 |
- insinto /etc/dovecot/conf.d |
1261 |
- doins doc/example-config/conf.d/90-sieve{,-extprograms}.conf |
1262 |
- use managesieve && doins doc/example-config/conf.d/20-managesieve.conf |
1263 |
- docinto sieve/rfc |
1264 |
- dodoc doc/rfc/*.txt |
1265 |
- docinto sieve/devel |
1266 |
- dodoc doc/devel/DESIGN |
1267 |
- docinto plugins |
1268 |
- dodoc doc/plugins/*.txt |
1269 |
- docinto extensions |
1270 |
- dodoc doc/extensions/*.txt |
1271 |
- docinto locations |
1272 |
- dodoc doc/locations/*.txt |
1273 |
- doman doc/man/*.{1,7} |
1274 |
- fi |
1275 |
- |
1276 |
- use static-libs || find "${ED}"/usr/lib* -name '*.la' -delete |
1277 |
-} |
1278 |
- |
1279 |
-pkg_postinst() { |
1280 |
- # Let's not make a new certificate if we already have one |
1281 |
- if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \ |
1282 |
- -e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then |
1283 |
- einfo "Creating SSL certificate" |
1284 |
- SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}" |
1285 |
- install_cert /etc/ssl/dovecot/server |
1286 |
- fi |
1287 |
- |
1288 |
- elog "Please read https://doc.dovecot.org/installation_guide/upgrading/ for upgrade notes." |
1289 |
-} |