Update of /cvsroot/fink/fink/perlmod/Fink
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5524

Modified Files:
        ChangeLog SelfUpdate.pm 
Log Message:
lay groundwork for dropping 10.4 (with retention of support for last viable 
state)


Index: SelfUpdate.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/SelfUpdate.pm,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -d -r1.131 -r1.132
--- SelfUpdate.pm       6 Jan 2010 23:47:53 -0000       1.131
+++ SelfUpdate.pm       21 Nov 2010 21:01:54 -0000      1.132
@@ -312,6 +312,29 @@
 sub finish {
        my (@elist);
 
+       # Make sure using the special tree for 10.4 systems need to do
+       # this now (and re-selfupdate using it) because other Essential
+       # packages may have been updated beyond that tree and don't want
+       # "newer" packages to leak back into it. We are currently running
+       # the "new" fink, but hopefully it will remain compatible with
+       # 10.4's dpkg and other core things and won't matter if user has
+       # the new one even if it's not in 10.4's distro.
+       if ($config->param('distribution') eq '10.4'
+               && $config->has_param('SelfUpdateMethod') ne '10.4'
+               && $config->has_param('SelfUpdateMethod') ne 'point'
+               && 0                                    # XXX REMOVE THIS TO 
ACTIVATE
+       ) {
+               print_breaking <<EOMSG;
+You appear to be on OS X 10.4. This version of the operating system is
+no longer supported by the fink project. To maintain usability, you
+must use a special selfupdate method that contains the last collection
+of packges expected to work well on 10.4. Now running 'fink selfupdate
+--method=10.4' to try to do that for you...
+EOMSG
+               exec "$basepath/bin/fink selfupdate --method=10.4";
+               die "re-executing fink failed, run 'fink selfupdate 
--method=10.4' manually\n";
+       }
+
        # determine essential packages
        @elist = Fink::Package->list_essential_packages();
 

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1686
retrieving revision 1.1687
diff -u -d -r1.1686 -r1.1687
--- ChangeLog   12 Nov 2010 04:28:02 -0000      1.1686
+++ ChangeLog   21 Nov 2010 21:01:54 -0000      1.1687
@@ -1,3 +1,9 @@
+2010-11-21  Daniel Macks  <dma...@netspace.org>
+
+       * SelfUpdate.pm: 10.4 folks auto-switched to "10.4"
+       selfupdatemethod that will contain snapshot/branch of finkinfo/ at
+       the point we stop supporting it
+
 2010-11-11  Daniel Macks  <dma...@netspace.org>
 
        * Package.pm: Also re-cache .info whose timestamp has gone


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to