Commits

Steven Thomas Smith authored and Chris Jones committed 0f7c521a077
dovecot2 and dovecot2-sieve: Update to version 2.3.8
No tags

mail/dovecot2/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup github 1.0
5 5
6 -github.setup dovecot core 2.3.7.1
7 -revision 1
6 +github.setup dovecot core 2.3.8
7 +revision 0
8 8
9 9 name dovecot2
10 10 set base_name dovecot
11 11 # Please revbump port:dovecot2-sieve and port:dovecot2-antispam
12 12 # on port:dovecot2 version changes.
13 13 categories mail
14 14 maintainers nomaintainer
15 15 platforms darwin
16 16 license LGPL-2.1
17 17 homepage https://www.dovecot.org
18 18
19 19 description Secure, fast imap and pop3 server
20 -long_description Dovecot is an IMAP and POP3 server for Linux/UNIX-like \
21 - systems, written with security primarily in mind. Although \
22 - it is written in C, it uses several coding techniques to \
20 +long_description Dovecot is an IMAP and POP3 server for Linux/UNIX-like\
21 + systems, written with security primarily in mind. Although\
22 + it is written in C, it uses several coding techniques to\
23 23 avoid most of the common pitfalls.
24 24
25 +checksums rmd160 3c409a319596396376d99437c6131fe7fde6d47e \
26 + sha256 d1fd0268f7c69222942c6500ae9916050a2988966bb1587e74a3730eeb7a0422 \
27 + size 3692799
28 +
25 29 set perl5_major_version \
26 30 5.28
27 31
28 32 depends_build-append \
29 33 port:gettext \
30 34 port:pandoc \
31 35 port:pkgconfig \
32 36 port:wget
33 37
34 38 depends_lib-append port:bzip2 \
39 43
40 44 set default_internal_user _dovecot
41 45 set default_login_user _dovenull
42 46 add_users ${default_internal_user} group=${default_internal_user} realname=Dovecot
43 47 add_users ${default_login_user} group=${default_login_user} realname=Dovenull
44 48
45 49 patch.pre_args -p1
46 50 patchfiles patch-doc-example-config-conf.d-10-master.conf.diff \
47 51 patch-src-master-master-settings.c.diff
48 52
49 -checksums rmd160 37230c065284899fa107ab1c91831ca154f230ac \
50 - sha256 3b61c128f3ef947f5d3e8b1113c321d0597600a3102a8e5b405484a7c049eb51 \
51 - size 3653354
52 -
53 53 post-patch {
54 54 reinplace "s|@@default_internal_user@@|${default_internal_user}|g" \
55 55 ${worksrcpath}/doc/example-config/conf.d/10-master.conf
56 56 reinplace "s|@@default_login_user@@|${default_login_user}|g" \
57 57 ${worksrcpath}/doc/example-config/conf.d/10-master.conf
58 58 }
59 59
60 60 # Note: https://trac.macports.org/ticket/58544#comment:11 for this build logic
61 61 use_autoreconf yes
62 62 autoreconf.cmd ./autogen.sh
139 139 ] {
140 140 reinplace ${cmd} \
141 141 ${destroot}${prefix}/sbin/pushnotify.pl
142 142 }
143 143 }
144 144
145 145 # References:
146 146 # * https://github.com/matthewpowell/pushnotify
147 147 # * https://www.c0ffee.net/blog/dovecot-push-notifications/
148 148 notes-append \
149 - "Dovecot is configured with the Apple Push Notification Service (APNS)
149 + "Dovecot is configured with the Apple Push Notification Service (APNS)\
150 150 plugin. APNS use requires these steps:
151 151
152 - 1. Acquire APNS Mail certificates from a (virtual) macOS
153 - High Sierra 10.13 and Server.app version 5.7. Export
154 - the certificates from the Keychain into the file
155 - com.apple.servermgrd.apns.mail.p12 . *Note*: APNS Mail
152 + 1. Acquire APNS Mail certificates from a (virtual) macOS\
153 + High Sierra 10.13 and Server.app version 5.7. Export\
154 + the certificates from the Keychain into the file\
155 + com.apple.servermgrd.apns.mail.p12 . *Note*: APNS Mail\
156 156 certificate creation is deprecated on Server.app version 5.8+.
157 157
158 158 2. Convert the APNS Mail certificates to PEM files:
159 159
160 160 openssl pkcs12 -in com.apple.servermgrd.apns.mail.p12 \\
161 161 -clcerts -nokeys | sed '/BEGIN CERTIFICATE/,\$!d' \\
162 162 > com.apple.mail.cert.pem
163 163 sudo install -m 0644 -o ${default_internal_user} -g ${default_login_user} \\
164 164 com.apple.mail.cert.pem ${prefix}/etc/dovecot-apns
165 165 openssl pkcs12 -in com.apple.servermgrd.apns.mail.p12 \\

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut