<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6258c12381be1fd5ef420910cfd48a2cb922f95a">https://github.com/macports/macports-ports/commit/6258c12381be1fd5ef420910cfd48a2cb922f95a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 6258c12381b calendar-contacts-server: Add necessary APNS step in notes
</span>6258c12381b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6258c12381be1fd5ef420910cfd48a2cb922f95a
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Tue May 4 12:15:02 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> calendar-contacts-server: Add necessary APNS step in notes
</span>---
net/calendar-contacts-server/Portfile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/calendar-contacts-server/Portfile b/net/calendar-contacts-server/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 301b12f17ef..acde8356ee3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/calendar-contacts-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/calendar-contacts-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -594,12 +594,13 @@ variant apns \
</span> com.apple.servermgrd.apns.contact.p12. *Note*: APNS Mail \
certificate creation is deprecated on Server.app version 5.7\+.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 2. Convert the APNS Mail certificates to cert, key, and chain PEM files:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2. Convert the APNS Mail certificates to cert, key, and chain PEM files, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all named \"apns:com.apple.*.pem\":
</span>
openssl x509 -inform der -in com.apple.servermgrd.apns.calendar.cer \\
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | sed '/BEGIN CERTIFICATE/,$!d' > com.apple.calendar.cert.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sed '/BEGIN CERTIFICATE/,\$!d' > com.apple.calendar.cert.pem
</span> openssl x509 -inform der -in com.apple.servermgrd.apns.contact.cer \\
<span style='display:block; white-space:pre;background:#ffe0e0;'>- | sed '/BEGIN CERTIFICATE/,$!d' > com.apple.contact.cert.pem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ | sed '/BEGIN CERTIFICATE/,\$!d' > com.apple.contact.cert.pem
</span> openssl pkcs12 -in com.apple.servermgrd.apns.calendar.key.p12 \\
-nodes -nocerts | sed '/BEGIN PRIVATE KEY/,\$!d' \\
> com.apple.calendarserver.key.pem.decrypted
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -645,6 +646,8 @@ variant apns \
</span> com.apple.calendar.key.pem com.apple.contact.key.pem \\
com.apple.calendar.chain.pem com.apple.contact.chain.pem \\
${calendarserverdir}/Library/CalendarServer/Config/Certificates
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo bash -c 'cd ${calendarserverdir}/Library/CalendarServer/Config/Certificates \; \\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for f in com.apple.*.pem\; do mv -f \"\${f}\" \"apns:\${f}\"\; done'
</span>
3. Configure calendarserver for APNS by uncommenting this block in \
the file ${calendarserverdir}/Library/CalendarServer/Config/calendarserver.plist:
</pre><pre style='margin:0'>
</pre>