Author: pebender
Date: Fri Apr  3 13:46:37 2009
New Revision: 4551

Added:
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-disable_man.patch
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-perl.patch.gar
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-sysinfo.patch
Removed:
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.1-disable_man.patch
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.1-perl.patch.gar
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.1-sysinfo.patch
Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
    trunk/gar-minimyth/script/utils/coreutils/Makefile
    trunk/gar-minimyth/script/utils/coreutils/checksums

Log:
- Updated package utils/coreutils.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Fri Apr  3  
13:46:37 2009
@@ -60,6 +60,7 @@
      Updated net/mount.cifs.
      Updated system/lirc.
      Updated utils/busybox.
+    Updated utils/coreutils.
      Updated utils/m4.
      Updated utils/squashfs-4.0.
      Updated X11/vdpau.

Modified: trunk/gar-minimyth/script/utils/coreutils/Makefile
==============================================================================
--- trunk/gar-minimyth/script/utils/coreutils/Makefile  (original)
+++ trunk/gar-minimyth/script/utils/coreutils/Makefile  Fri Apr  3 13:46:37  
2009
@@ -1,5 +1,5 @@
  GARNAME = coreutils
-GARVERSION = 7.1
+GARVERSION = 7.2
  CATEGORIES = utils
  MASTER_SITES = ftp://ftp.gnu.org/gnu/$(GARNAME)/
  DISTFILES = $(DISTNAME).tar.gz

Modified: trunk/gar-minimyth/script/utils/coreutils/checksums
==============================================================================
--- trunk/gar-minimyth/script/utils/coreutils/checksums (original)
+++ trunk/gar-minimyth/script/utils/coreutils/checksums Fri Apr  3 13:46:37  
2009
@@ -1,4 +1,4 @@
-cbb2b3d1718ee1237b808e00b5c11b1e  download/coreutils-7.1.tar.gz
-8ed056c926f8d7b7792f461abd9af96a  download/coreutils-7.1-perl.patch.gar
-ead1ec8e92c333e95304a72635020e99  download/coreutils-7.1-sysinfo.patch
-010fc5bddeff2b436878a4ea39a97ea3  download/coreutils-7.1-disable_man.patch
+427c2914d3eab956f317c9ec6a45e62a  download/coreutils-7.2.tar.gz
+d3cd552cc21486ad9376447cae516bf2  download/coreutils-7.2-perl.patch.gar
+d0d60abd0fa1bace56ee93544eaa737d  download/coreutils-7.2-sysinfo.patch
+dfbcae71ea8043cea5e4cc2751c59d7c  download/coreutils-7.2-disable_man.patch

Added:  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-disable_man.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-disable_man.patch 
 
Fri Apr  3 13:46:37 2009
@@ -0,0 +1,24 @@
+diff -Naur coreutils-7.2-old/Makefile.am coreutils-7.2-new/Makefile.am
+--- coreutils-7.2-old/Makefile.am      2009-04-02 21:29:53.000000000 -0700
++++ coreutils-7.2-new/Makefile.am      2009-04-02 21:30:36.000000000 -0700
+@@ -15,7 +15,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+ EXTRA_DIST = cfg.mk maint.mk \
+   .prev-version THANKS-to-translators THANKStt.in \
+   .version \
+diff -Naur coreutils-7.2-old/Makefile.in coreutils-7.2-new/Makefile.in
+--- coreutils-7.2-old/Makefile.in      2009-04-02 21:29:53.000000000 -0700
++++ coreutils-7.2-new/Makefile.in      2009-04-02 21:30:36.000000000 -0700
+@@ -931,7 +931,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+ EXTRA_DIST = cfg.mk maint.mk \
+   .prev-version THANKS-to-translators THANKStt.in \
+   .version \

Added:  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-perl.patch.gar
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-perl.patch.gar    
 
Fri Apr  3 13:46:37 2009
@@ -0,0 +1,72 @@
+diff -Naur coreutils-7.2-old/build-aux/announce-gen  
coreutils-7.2-new/build-aux/announce-gen
+--- coreutils-7.2-old/build-aux/announce-gen   2009-03-11 02:57:25.000000000  
-0700
++++ coreutils-7.2-new/build-aux/announce-gen   2009-04-02 21:28:06.000000000  
-0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
+...@gar_build_destdir@@GAR_build_bindir@/perl -w
+ # Generate a release announcement message.
+
+ my $VERSION = '2009-03-05 09:52'; # UTC
+diff -Naur coreutils-7.2-old/build-aux/cvsu  
coreutils-7.2-new/build-aux/cvsu
+--- coreutils-7.2-old/build-aux/cvsu   2009-03-29 10:43:41.000000000 -0700
++++ coreutils-7.2-new/build-aux/cvsu   2009-04-02 21:28:06.000000000 -0700
+@@ -1,4 +1,4 @@
+-#! /usr/bin/perl -w
++#! @GAR_build_DESTDIR@@GAR_build_bindir@/perl -w
+
+ # cvsu - do a quick check to see what files are out of date.
+ #
+diff -Naur coreutils-7.2-old/build-aux/useless-if-before-free  
coreutils-7.2-new/build-aux/useless-if-before-free
+--- coreutils-7.2-old/build-aux/useless-if-before-free 2009-03-11  
02:57:25.000000000 -0700
++++ coreutils-7.2-new/build-aux/useless-if-before-free 2009-04-02  
21:28:06.000000000 -0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
+...@gar_build_destdir@@GAR_build_bindir@ -T
+ # Detect instances of "if (p) free (p);".
+ # Likewise for "if (p != NULL) free (p);".  And with braces.
+ # Also detect "if (NULL != p) free (p);".
+diff -Naur coreutils-7.2-old/man/help2man coreutils-7.2-new/man/help2man
+--- coreutils-7.2-old/man/help2man     2009-03-15 01:12:49.000000000 -0700
++++ coreutils-7.2-new/man/help2man     2009-04-02 21:28:06.000000000 -0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
+...@gar_build_destdir@@GAR_build_bindir@/perl -w
+
+ # Generate a short man page from --help and --version output.
+ # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009
+diff -Naur coreutils-7.2-old/src/dcgen coreutils-7.2-new/src/dcgen
+--- coreutils-7.2-old/src/dcgen        2009-02-27 08:36:00.000000000 -0800
++++ coreutils-7.2-new/src/dcgen        2009-04-02 21:28:06.000000000 -0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
+...@gar_build_destdir@@GAR_build_bindir@/perl -w
+ # dcgen -- convert dircolors.hin to dircolors.h.
+
+ # Copyright (C) 1996, 1998, 2004, 2005, 2006 Free Software Foundation,  
Inc.
+diff -Naur coreutils-7.2-old/src/extract-magic  
coreutils-7.2-new/src/extract-magic
+--- coreutils-7.2-old/src/extract-magic        2009-03-29 10:43:41.000000000 
-0700
++++ coreutils-7.2-new/src/extract-magic        2009-04-02 21:28:06.000000000 
-0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
+...@gar_build_destdir@@GAR_build_bindir@/perl -w
+ # Derive #define directives from specially formatted `case ...:'  
statements.
+
+ # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+diff -Naur coreutils-7.2-old/src/wheel-gen.pl  
coreutils-7.2-new/src/wheel-gen.pl
+--- coreutils-7.2-old/src/wheel-gen.pl 2009-03-29 10:43:41.000000000 -0700
++++ coreutils-7.2-new/src/wheel-gen.pl 2009-04-02 21:28:06.000000000 -0700
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
+...@gar_build_destdir@@GAR_build_bindir@/perl -w
+ # Generate the spokes of a wheel, for wheel factorization.
+
+ # Copyright (C) 2001, 2005 Free Software Foundation, Inc.
+@@ -16,7 +16,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
++eval 'exec @GAR_build_DESTDIR@@GAR_build_bindir@/perl -S $0 ${1+"$@"}'
+   if 0;
+
+ use strict;

Added:  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-sysinfo.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.2-sysinfo.patch     
 
Fri Apr  3 13:46:37 2009
@@ -0,0 +1,56 @@
+diff -Naur coreutils-7.2-old/src/uname.c coreutils-7.2-new/src/uname.c
+--- coreutils-7.2-old/src/uname.c      2009-04-02 21:27:54.000000000 -0700
++++ coreutils-7.2-new/src/uname.c      2009-04-02 21:30:05.000000000 -0700
+@@ -308,6 +308,28 @@
+       if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
+         element = processor;
+       }
++#else
++      {
++      struct utsname u;
++      uname(&u);
++      element = u.machine;
++#ifdef linux
++      if(!strcmp(element, "i686")) { /* Check for Athlon */
++              char cinfo[1024];
++              FILE *f=fopen("/proc/cpuinfo", "r");
++              if(f) {
++                      while(fgets(cinfo, 1024, f)) {
++                              if(!strncmp(cinfo, "vendor_id", 9)) {
++                                      if(strstr(cinfo, "AuthenticAMD"))
++                                              element="athlon";
++                                      break;
++                              }
++                      }
++                      fclose(f);
++              }
++      }
++#endif
++      }
+ #endif
+ #ifdef UNAME_PROCESSOR
+       if (element == unknown)
+@@ -345,7 +367,7 @@
+
+   if (toprint & PRINT_HARDWARE_PLATFORM)
+     {
+-      char const *element = unknown;
++      char *element = unknown;
+ #if HAVE_SYSINFO && defined SI_PLATFORM
+       {
+       static char hardware_platform[257];
+@@ -353,6 +375,14 @@
+                         hardware_platform, sizeof hardware_platform))
+         element = hardware_platform;
+       }
++#else
++      {
++      struct utsname u;
++      uname(&u);
++      element = u.machine;
++      if(strlen(element)==4 && element[0]=='i' && element[2]=='8' &&  
element[3]=='6')
++              element[1]='3';
++      }
+ #endif
+ #ifdef UNAME_HARDWARE_PLATFORM
+       if (element == unknown)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to