Changes between Version 1 and Version 2 of MacPortsRenaming


Ignore:
Timestamp:
Jun 1, 2007, 5:35:50 AM (17 years ago)
Author:
jmpp@…
Comment:

Adding info about reinplaces in main Makefile's upgrade target

Legend:

Unmodified
Added
Removed
Modified
  • MacPortsRenaming

    v1 v2  
    1414
    1515{{{
    16 /Library/Tcl/darwinports1.0        ----->      /Library/Tcl/macports1.0
    17 /opt/local/share/darwinports       ----->      /opt/local/share/macports
    18 /opt/local/etc/ports/ports.conf    ----->      /opt/local/etc/ports/macports.conf
    19 /opt/local/etc/ports/dp_version    ----->      /opt/local/etc/ports/mp_version
    20 /opt/local/etc/ports               ----->      /opt/local/etc/macports
    21 /opt/local/var/db/dports           ----->      /opt/local/var/macports
     16/Library/Tcl/darwinports1.0              ----->     /Library/Tcl/macports1.0
     17/opt/local/etc/ports/ports.conf          ----->     /opt/local/etc/ports/macports.conf
     18/opt/local/etc/ports/dp_version          ----->     /opt/local/etc/ports/mp_version
     19/opt/local/etc/ports                     ----->     /opt/local/etc/macports
     20/opt/local/share/darwinports             ----->     /opt/local/share/macports
     21/opt/local/share/man/man5/ports.conf     ----->     /opt/local/share/man/man5/macports.conf
     22/opt/local/var/db/dports                 ----->     /opt/local/var/macports
    2223}}}
    2324
     
    5657/opt/local/var/macports/sources/<your_server>/module2/ports
    5758/opt/local/var/macports/sources/<your_server>/module3/ports
    58 /opt/local/var/macports/sources/<your_server>/some_other_module/base
    5959}}}
    6060
     61Furthermore, an upgrade target in the [source:branches/dp2mp-move/base/Makefile.in main Makefile] takes care of moving everything that's "old" in an existing MacPorts installation into its new location before regular installation begins. Among these moves there are a set of `sed` rules that act on existing configuration files to upgrade them to the new conventions. For the new `macpors.conf` file:
     62
     63 * new default path up to the configuration files is inserted, `/opt/local/etc/ports  --->  /opt/local/etc/macports`;
     64 * new default path for the portdbpath variable is inserted, `/opt/local/var/db/dports  --->  /opt/local/var/macports`;
     65 * new MacPorts rsync server is inserted, `rsync.darwinports.org  --->  rsync.macports.org`;
     66 * new default value for the base tree, `dpupdate1/base/  --->  release/base/`;
     67 * stray quotes are removed from the value of the rsync_options key in old conf files, `"-rtzv--delete --delete-after"  --->  -rtzv --delete --delete-after`;
     68 * comment references to the old ports.conf(5) man page are upgraded to the new macports.conf(5) page, `ports.conf(5)  --->  macports.conf(5)`;
     69 * remaining comments in the DarwinPorts namespace upgraded.
     70
     71And for `sources.conf`:
     72
     73 * new MacPorts rsync server, `rsync.darwinports.org  --->  rsync.macports.org`;
     74 * new default value for the ports tree, `dpupdate/dports --->  release/ports/`.