Author: pebender
Date: Sun May  3 19:30:33 2009
New Revision: 4702

Added:
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-disable_man.patch
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-perl.patch.gar
     
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-sysinfo.patch
Removed:
     
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
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     Sun May  3  
19:30:33 2009
@@ -62,6 +62,7 @@
      Updated system/acpid.
      Updated system/irserver.
      Updated system/zoneinfo.
+    Updated utils/coreutils.
      Updated utils/file.
      Updated utils/findutils.
      Updated utils/mod-init-tools.

Modified: trunk/gar-minimyth/script/utils/coreutils/Makefile
==============================================================================
--- trunk/gar-minimyth/script/utils/coreutils/Makefile  (original)
+++ trunk/gar-minimyth/script/utils/coreutils/Makefile  Sun May  3 19:30:33  
2009
@@ -1,10 +1,10 @@
  GARNAME = coreutils
-GARVERSION = 7.2
+GARVERSION = 7.3
  CATEGORIES = utils
  MASTER_SITES = ftp://ftp.gnu.org/gnu/$(GARNAME)/
  DISTFILES = $(DISTNAME).tar.gz
  PATCHFILES = $(DISTNAME)-perl.patch.gar $(DISTNAME)-sysinfo.patch  
$(DISTNAME)-disable_man.patch
-LICENSE = GPL2
+LICENSE = GPL3

  DESCRIPTION =
  define BLURB

Modified: trunk/gar-minimyth/script/utils/coreutils/checksums
==============================================================================
--- trunk/gar-minimyth/script/utils/coreutils/checksums (original)
+++ trunk/gar-minimyth/script/utils/coreutils/checksums Sun May  3 19:30:33  
2009
@@ -1,4 +1,4 @@
-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
+b72c35e4872cf04c2b7642ef8248d0ea  download/coreutils-7.3.tar.gz
+c04e02e963f62857ff6ddf3f04ff6405  download/coreutils-7.3-perl.patch.gar
+772038388c0b43e52ca132e25ba168c6  download/coreutils-7.3-sysinfo.patch
+fa267429f768e047ae563af52520b961  download/coreutils-7.3-disable_man.patch

Added:  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-disable_man.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-disable_man.patch 
 
Sun May  3 19:30:33 2009
@@ -0,0 +1,24 @@
+diff -Naur coreutils-7.3-old/Makefile.am coreutils-7.3-new/Makefile.am
+--- coreutils-7.3-old/Makefile.am      2009-05-03 16:21:07.000000000 -0700
++++ coreutils-7.3-new/Makefile.am      2009-05-03 16:22:19.000000000 -0700
+@@ -17,7 +17,7 @@
+
+ ALL_RECURSIVE_TARGETS =
+
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+
+ changelog_etc =                               \
+   ChangeLog-2005                      \
+diff -Naur coreutils-7.3-old/Makefile.in coreutils-7.3-new/Makefile.in
+--- coreutils-7.3-old/Makefile.in      2009-05-03 16:21:07.000000000 -0700
++++ coreutils-7.3-new/Makefile.in      2009-05-03 16:22:32.000000000 -0700
+@@ -934,7 +934,7 @@
+
+ # Some tests always need root privileges, others need them only sometimes.
+ ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src doc po tests gnulib-tests
+ changelog_etc = \
+   ChangeLog-2005                      \
+   ChangeLog-2006                      \

Added:  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-perl.patch.gar
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-perl.patch.gar    
 
Sun May  3 19:30:33 2009
@@ -0,0 +1,72 @@
+diff -Naur coreutils-7.3-old/build-aux/announce-gen  
coreutils-7.3-new/build-aux/announce-gen
+--- coreutils-7.3-old/build-aux/announce-gen   2009-03-11 02:57:25.000000000  
-0700
++++ coreutils-7.3-new/build-aux/announce-gen   2009-05-03 16:20:11.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.3-old/build-aux/cvsu  
coreutils-7.3-new/build-aux/cvsu
+--- coreutils-7.3-old/build-aux/cvsu   2009-04-24 05:41:19.000000000 -0700
++++ coreutils-7.3-new/build-aux/cvsu   2009-05-03 16:20:11.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.3-old/build-aux/useless-if-before-free  
coreutils-7.3-new/build-aux/useless-if-before-free
+--- coreutils-7.3-old/build-aux/useless-if-before-free 2009-04-24  
05:49:59.000000000 -0700
++++ coreutils-7.3-new/build-aux/useless-if-before-free 2009-05-03  
16:20:11.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.3-old/man/help2man coreutils-7.3-new/man/help2man
+--- coreutils-7.3-old/man/help2man     2009-03-15 01:12:49.000000000 -0700
++++ coreutils-7.3-new/man/help2man     2009-05-03 16:20:11.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.3-old/src/dcgen coreutils-7.3-new/src/dcgen
+--- coreutils-7.3-old/src/dcgen        2009-02-27 08:36:00.000000000 -0800
++++ coreutils-7.3-new/src/dcgen        2009-05-03 16:20:11.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.3-old/src/extract-magic  
coreutils-7.3-new/src/extract-magic
+--- coreutils-7.3-old/src/extract-magic        2009-04-24 05:41:19.000000000 
-0700
++++ coreutils-7.3-new/src/extract-magic        2009-05-03 16:20:11.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.3-old/src/wheel-gen.pl  
coreutils-7.3-new/src/wheel-gen.pl
+--- coreutils-7.3-old/src/wheel-gen.pl 2009-04-24 05:41:19.000000000 -0700
++++ coreutils-7.3-new/src/wheel-gen.pl 2009-05-03 16:20:11.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.3-sysinfo.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/utils/coreutils/files/coreutils-7.3-sysinfo.patch     
 
Sun May  3 19:30:33 2009
@@ -0,0 +1,56 @@
+diff -Naur coreutils-7.3-old/src/uname.c coreutils-7.3-new/src/uname.c
+--- coreutils-7.3-old/src/uname.c      2009-05-03 16:19:56.000000000 -0700
++++ coreutils-7.3-new/src/uname.c      2009-05-03 16:21:19.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