[MacPorts] #5937: "New Darwinports" is not entirely acurrate during 'selfupdate'

MacPorts noreply at macports.org
Thu Mar 24 08:28:39 PDT 2016


#5937: "New Darwinports" is not entirely acurrate during 'selfupdate'
---------------------------+----------------------
  Reporter:  chris.owen@…  |      Owner:  jberry@…
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  1.0
Resolution:  fixed         |   Keywords:
      Port:                |
---------------------------+----------------------
Description changed by ryandesign@…:

Old description:

> swank at laptop:~/tools/DarwinPorts-1.2-rc2-archive/base/src$ diff -Naur
> darwinports1.0.orig/
> darwinports1.0
> diff -Naur darwinports1.0.orig/darwinports.tcl
> darwinports1.0/darwinports.tcl
> --- darwinports1.0.orig/darwinports.tcl 2005-12-04 22:01:10.000000000
> -0800
> +++ darwinports1.0/darwinports.tcl      2005-12-04 22:01:32.000000000
> -0800
> @@ -1360,11 +1360,11 @@
>                 return -code error "Error: rsync failed in selfupdate"
>         }
> -       # get new darwinports version and write the old version back
> +       # get downloaded darwinports version and write the old version
> back
>         set fd [open [file join $dp_base_path dp_version] r]
>         gets $fd dp_version_new
>         close $fd
> -       ui_msg "New DarwinPorts base version $dp_version_new"
> +       ui_msg "Downloaded DarwinPorts base version $dp_version_new"
>         # check if we we need to rebuild base
>         if {$dp_version_new > $dp_version_old || $use_the_force_luke ==
> "yes"} {

New description:

 {{{
 swank at laptop:~/tools/DarwinPorts-1.2-rc2-archive/base/src$ diff -Naur
 darwinports1.0.orig/
 darwinports1.0
 diff -Naur darwinports1.0.orig/darwinports.tcl
 darwinports1.0/darwinports.tcl
 --- darwinports1.0.orig/darwinports.tcl 2005-12-04 22:01:10.000000000
 -0800
 +++ darwinports1.0/darwinports.tcl      2005-12-04 22:01:32.000000000
 -0800
 @@ -1360,11 +1360,11 @@
                 return -code error "Error: rsync failed in selfupdate"
         }
 -       # get new darwinports version and write the old version back
 +       # get downloaded darwinports version and write the old version
 back
         set fd [open [file join $dp_base_path dp_version] r]
         gets $fd dp_version_new
         close $fd
 -       ui_msg "New DarwinPorts base version $dp_version_new"
 +       ui_msg "Downloaded DarwinPorts base version $dp_version_new"
         # check if we we need to rebuild base
         if {$dp_version_new > $dp_version_old || $use_the_force_luke ==
 "yes"} {
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/5937#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list