[85698] trunk/dports/mail/offlineimap
ryandesign at macports.org
ryandesign at macports.org
Sat Oct 15 18:37:48 PDT 2011
Revision: 85698
http://trac.macports.org/changeset/85698
Author: ryandesign at macports.org
Date: 2011-10-15 18:37:47 -0700 (Sat, 15 Oct 2011)
Log Message:
-----------
offlineimap: install manpage, manual and other documentation files; see #19544
Modified Paths:
--------------
trunk/dports/mail/offlineimap/Portfile
Added Paths:
-----------
trunk/dports/mail/offlineimap/files/
trunk/dports/mail/offlineimap/files/patch-docs-MANUAL.rst.diff
Modified: trunk/dports/mail/offlineimap/Portfile
===================================================================
--- trunk/dports/mail/offlineimap/Portfile 2011-10-16 01:31:08 UTC (rev 85697)
+++ trunk/dports/mail/offlineimap/Portfile 2011-10-16 01:37:47 UTC (rev 85698)
@@ -5,6 +5,7 @@
name offlineimap
version 6.3.4
+revision 1
categories mail python
platforms darwin
license GPL-2+
@@ -42,16 +43,36 @@
checksums rmd160 1e59b2535f6a606bcff82b653cc8e9178d1f66cb \
sha256 a2ac69a58605338e971658e930e095e4c2611383837a9378b88c0749cd374333
+depends_build-append port:py27-docutils port:py27-sphinx
+
post-extract {
move [glob ${workpath}/*] ${worksrcpath}
}
+patchfiles patch-docs-MANUAL.rst.diff
+
+post-build {
+ system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make doc man"
+}
+
python.link_binaries_suffix
post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYRIGHT COPYING README.rst \
- docs/FAQ.rst docs/MANUAL.rst \
+ xinstall -m 644 -W ${worksrcpath} \
+ COPYING \
+ COPYRIGHT \
+ Changelog.html Changelog.rst \
+ readme.html README.rst \
+ SubmittingPatches.html SubmittingPatches.rst \
${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath}/docs \
+ FAQ.html FAQ.rst \
+ HACKING.html HACKING.rst \
+ MANUAL.html MANUAL.rst \
+ UPGRADE.html UPGRADE.rst \
+ ${destroot}${prefix}/share/doc/${name}
+ copy ${worksrcpath}/docs/dev-doc ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/offlineimap.1 ${destroot}${prefix}/share/man/man1
xinstall -m 644 ${worksrcpath}/offlineimap.conf \
${destroot}${prefix}/etc/offlineimap.conf.sample
xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
Added: trunk/dports/mail/offlineimap/files/patch-docs-MANUAL.rst.diff
===================================================================
--- trunk/dports/mail/offlineimap/files/patch-docs-MANUAL.rst.diff (rev 0)
+++ trunk/dports/mail/offlineimap/files/patch-docs-MANUAL.rst.diff 2011-10-16 01:37:47 UTC (rev 85698)
@@ -0,0 +1,26 @@
+https://github.com/spaetz/offlineimap/commit/c4320786ab78fca8bea5cd079c0596092c6ab602
+--- docs/MANUAL.rst.orig
++++ docs/MANUAL.rst
+@@ -380,7 +380,7 @@ mail.server -port 443" to find out the connection that is used by
+ default.
+
+ Certificate checking
+-^^^^^^^^^^^^^^^^^^^^
++--------------------
+
+ Unfortunately, by default we will not verify the certificate of an IMAP
+ TLS/SSL server we connect to, so connecting by SSL is no guarantee
+@@ -397,7 +397,7 @@ its expiration date. The FAQ contains an entry on how to create your own
+ certificate and CA certificate.
+
+ StartTLS
+-^^^^^^^^
++--------
+
+ If you have not configured your account to connect via SSL anyway,
+ OfflineImap will still attempt to set up an SSL connection via the
+@@ -410,4 +410,3 @@ contents. However, this will not protect you from active attacks, such
+ as Man-In-The-Middle attacks which cause you to connect to the wrong
+ server and pretend to be your mail server. DO NOT RELY ON STARTTLS AS A
+ SAFE CONNECTION GUARANTEEING THE AUTHENTICITY OF YOUR IMAP SERVER!
+-=======
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111015/1129f2da/attachment-0001.html>
More information about the macports-changes
mailing list