[103844] trunk/dports/devel/libssh/Portfile

cal at macports.org cal at macports.org
Fri Mar 8 13:43:47 PST 2013


Revision: 103844
          https://trac.macports.org/changeset/103844
Author:   cal at macports.org
Date:     2013-03-08 13:43:47 -0800 (Fri, 08 Mar 2013)
Log Message:
-----------
libssh: claim maintainership, update to 0.5.4, closes #38333, security: fixes multiple CVEs

Modified Paths:
--------------
    trunk/dports/devel/libssh/Portfile

Modified: trunk/dports/devel/libssh/Portfile
===================================================================
--- trunk/dports/devel/libssh/Portfile	2013-03-08 21:37:00 UTC (rev 103843)
+++ trunk/dports/devel/libssh/Portfile	2013-03-08 21:43:47 UTC (rev 103844)
@@ -6,11 +6,11 @@
 
 name                libssh
 epoch               1
-version             0.5.2
+version             0.5.4
 set major           [join [lrange [split ${version} .] 0 1] .]
 categories          devel security net
 platforms           darwin
-maintainers         nomaintainer
+maintainers         cal openmaintainer
 license             LGPL-2.1
 
 description         an SSH library
@@ -20,24 +20,30 @@
                     by the mean of a library.
 
 homepage            http://www.libssh.org
-master_sites        http://www.libssh.org/files/${major}
+master_sites        https://red.libssh.org/attachments/download/41
 
-checksums           rmd160  7e1352329dc0b212495122d5737ca821d40f30fe \
-                    sha256  41e8b9c1af077544625e8b398582f101dacc3b8457fee1811a724ca4245ab227
+checksums           rmd160  a134cb99f57c544cd31d43bf28506b42b27131e2 \
+                    sha256  5f3825caebf7c47e6c6025aa048cb967e32c2b6cbfdc04109f05a35cbf4dca80
 
 depends_lib         port:openssl \
                     port:zlib
 
-post-extract {      file mkdir ${workpath}/build }
-
-patch {
-    # remove pedantic from build
-    reinplace "s| -pedantic-errors||" ${worksrcpath}/cmake/Modules/DefineCompilerFlags.cmake
+post-extract {
+    file mkdir ${workpath}/build
 }
 
+#patch {
+#    # remove pedantic from build
+#    reinplace "s| -pedantic-errors||" ${worksrcpath}/cmake/Modules/DefineCompilerFlags.cmake
+#}
+
 # standard post-arg, where to find the primary CMakeLists.txt file.
 configure.post_args ../${distname}
 configure.dir       ${workpath}/build
+configure.args-append \
+                    -DWITH_GCRYPT=OFF \
+                    -DWITH_INTERNAL_DOC=OFF \
+                    -DWITH_LIBZ=ON
 build.dir           ${workpath}/build
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130308/a1359807/attachment.html>


More information about the macports-changes mailing list