[32114] trunk/base/portmgr/ReleaseProcess

jmpp at macports.org jmpp at macports.org
Sun Dec 16 21:52:47 PST 2007


Revision: 32114
          http://trac.macosforge.org/projects/macports/changeset/32114
Author:   jmpp at macports.org
Date:     2007-12-16 21:52:46 -0800 (Sun, 16 Dec 2007)

Log Message:
-----------

 * Update checksums instructions for the dmg to output them in the same fashion as we now do for the source tarballs;
 * Include the ${destroot}/opt/local/share/macports/Tcl/registry2.0/registry.dylib library for linking validation when
   validating the contents of the pkg installer;
 * Add a check for binaries with two architectures when building universal dmg's.

Modified Paths:
--------------
    trunk/base/portmgr/ReleaseProcess

Modified: trunk/base/portmgr/ReleaseProcess
===================================================================
--- trunk/base/portmgr/ReleaseProcess	2007-12-17 05:35:36 UTC (rev 32113)
+++ trunk/base/portmgr/ReleaseProcess	2007-12-17 05:52:46 UTC (rev 32114)
@@ -166,7 +166,7 @@
 
  cd work
  mv MacPorts-1.6.0.dmg MacPorts-1.6.0-10.5-Leopard.dmg
- for type in -md5 -sha1 -ripemd160; do openssl dgst $type MacPorts-1.6.0-10.5-Leopard.dmg; done
+ for dmg in MacPorts-1.6.0-*.dmg; do for type in -md5 -sha1 -ripemd160; do openssl dgst $type $dmg; done >> MacPorts-1.6.0.chk.txt; done
 
 These new products, along with the new checksums, also have to be posted to the appropriate downloads
 directory of the MacPorts svn repository. Developers are required to validate the generated installer as
@@ -179,7 +179,14 @@
    this can be accomplished through the use of otool's -L flag. Currently the libraries and binaries in need
    of linking validation are: ${destroot}/Library/Tcl/macports1.0/MacPorts.dylib, ${destroot}/opt/local/bin/daemondo
    ${destroot}/opt/local/share/macports/Tcl/darwintrace1.0/darwintrace.dylib, ${destroot}/opt/local/share/macports/\
-   Tcl/pextlib1.0/Pextlib.dylib and ${destroot}/opt/local/share/macports/Tcl/tclobjc1.0/tclobjc.dylib.
+   Tcl/pextlib1.0/Pextlib.dylib, ${destroot}/opt/local/share/macports/Tcl/registry2.0/registry.dylib and
+   ${destroot}/opt/local/share/macports/Tcl/tclobjc1.0/tclobjc.dylib.
+ * Universal building: When building for Tiger and above, all the files that need linking confirmation in the
+   step above also need to be confirmed of the universal type. A way to do this is through the file(1) command:
+             file ${destroot}/opt/local/bin/daemondo:
+                  ${destroot}/opt/local/bin/daemondo: Mach-O universal binary with 2 architectures
+                  ${destroot}/opt/local/bin/daemondo (for architecture ppc):  Mach-O executable ppc
+                  ${destroot}/opt/local/bin/daemondo (for architecture i386): Mach-O executable i386
  * tclsh shell invoked by our scripts: all scripts installed in ${destroot}/opt/local/bin (that is port,
    portindex and portmirror) should invoke the tclsh shell through a call like:
              #!/bin/sh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071216/ef9f5694/attachment.html


More information about the macports-changes mailing list