[132620] trunk/dports/mail/isync/Portfile
cal at macports.org
cal at macports.org
Thu Feb 5 15:50:54 PST 2015
Revision: 132620
https://trac.macports.org/changeset/132620
Author: cal at macports.org
Date: 2015-02-05 15:50:54 -0800 (Thu, 05 Feb 2015)
Log Message:
-----------
isync: update to 1.1.2, patch sample config file to use correct CA store, use db48
Modified Paths:
--------------
trunk/dports/mail/isync/Portfile
Modified: trunk/dports/mail/isync/Portfile
===================================================================
--- trunk/dports/mail/isync/Portfile 2015-02-05 23:36:14 UTC (rev 132619)
+++ trunk/dports/mail/isync/Portfile 2015-02-05 23:50:54 UTC (rev 132620)
@@ -3,9 +3,9 @@
PortSystem 1.0
name isync
-version 1.1.1
-checksums rmd160 a8207433d368d621da81b1c68540e0838c391c0f \
- sha256 c3a5fdcde1f4627137a0cbb66bebbb12bde4873deb872442be0b1d7a617f7491
+version 1.1.2
+checksums rmd160 e4e0b7ad83de73e875f8e605e242c82653593b9b \
+ sha256 a225b5d5915b6e0f9da303caa6b4db1ee06241e98c1ad0a662e5dcea0654c0a4
categories mail
platforms darwin
@@ -24,22 +24,26 @@
master_sites sourceforge
-depends_lib port:db46 port:openssl port:zlib
+depends_lib port:db48 \
+ port:openssl \
+ port:zlib
+depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
+
post-patch {
- reinplace "s|ldb|ldb-4|g" \
- ${worksrcpath}/src/compat/Makefile.in \
- ${worksrcpath}/src/compat/Makefile.am \
- ${worksrcpath}/src/Makefile.in \
- ${worksrcpath}/src/Makefile.am
+ # Patch the sample configuration to use MacPorts certificates
+ reinplace -E "s#^CertificateFile .*\$#CertificateFile ${prefix}/share/curl/curl-ca-bundle.crt#g" \
+ ${worksrcpath}/src/mbsyncrc.sample
}
-configure.args --mandir=${prefix}/share/man
-configure.cppflags-append -I${prefix}/include/db46
-configure.ldflags-append -L${prefix}/lib/db46 -ldb-4
+configure.args --mandir=${prefix}/share/man
+configure.cppflags-append -I${prefix}/include/db48
+configure.ldflags-append -L${prefix}/lib/db48
post-destroot {
xinstall -m 644 -W ${worksrcpath}/src \
compat/isync.1 mbsync.1 mdconvert.1 \
${destroot}${prefix}/share/man/man1
}
+
+notes "A sample configuration file has been installed in ${prefix}/share/doc/${name}/examples/mbsyncrc.sample"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150205/4c5f3dcf/attachment.html>
More information about the macports-changes
mailing list