[134174] trunk/doc-new/guide/xml/portfiledev.xml

larryv at macports.org larryv at macports.org
Thu Mar 19 10:35:24 PDT 2015


Revision: 134174
          https://trac.macports.org/changeset/134174
Author:   larryv at macports.org
Date:     2015-03-19 10:35:24 -0700 (Thu, 19 Mar 2015)
Log Message:
-----------
guide: Use more portable OpenSSL commands

The `openssl(1)` included with OS X (as of Yosemite) doesn't recognize
the "`sha256`" command.

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfiledev.xml

Modified: trunk/doc-new/guide/xml/portfiledev.xml
===================================================================
--- trunk/doc-new/guide/xml/portfiledev.xml	2015-03-19 17:02:40 UTC (rev 134173)
+++ trunk/doc-new/guide/xml/portfiledev.xml	2015-03-19 17:35:24 UTC (rev 134174)
@@ -258,8 +258,8 @@
         <para>To find the correct checksums for a port's distribution file,
         follow this example:</para>
 
-        <programlisting><prompt>%%</prompt> <userinput>openssl rmd160 rrdtool-1.2.23.tar.gz</userinput>
-<prompt>%%</prompt> <userinput>openssl sha256 rrdtool-1.2.23.tar.gz</userinput></programlisting>
+        <programlisting><prompt>%%</prompt> <userinput>openssl dgst -rmd160 rrdtool-1.2.23.tar.gz</userinput>
+<prompt>%%</prompt> <userinput>openssl dgst -sha256 rrdtool-1.2.23.tar.gz</userinput></programlisting>
 
         <screen>RIPEMD160( ... rrdtool-1.2.23.tar.gz)= 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150319/532fda63/attachment.html>


More information about the macports-changes mailing list