r2145 - jhalfs/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Nov 1 04:13:15 PST 2005


Author: jhuntwork
Date: 2005-11-01 05:13:13 -0700 (Tue, 01 Nov 2005)
New Revision: 2145

Modified:
   jhalfs/trunk/jhalfs-0.2-debian_31_as_host-1.patch
Log:
Some minor tweaks to included patch. Might as well make it apply clean, too.

Modified: jhalfs/trunk/jhalfs-0.2-debian_31_as_host-1.patch
===================================================================
--- jhalfs/trunk/jhalfs-0.2-debian_31_as_host-1.patch	2005-11-01 12:07:25 UTC (rev 2144)
+++ jhalfs/trunk/jhalfs-0.2-debian_31_as_host-1.patch	2005-11-01 12:13:13 UTC (rev 2145)
@@ -1,30 +1,30 @@
-Submitted By: Jhon Kelly (jakelly at shtc dot net)
+Submitted By: John Kelly (jakelly at shtc dot net)
 Date: 2005-09-26
 Initial Package Version: 0.2
 Origin: alfs-discuss
 Upstream Status: Optional
 Description: Allow jhalfs to work with a md5sum program
-that don't accept - as filename, like the one shipped with
+that doesn't accept '-' as a filename, like the one shipped with
 Debian 3.1 stable.
 
---- jhalfs.orig 2005-09-25 17:17:15.000000000 -0400
-+++ jhalfs  2005-09-25 19:12:12.000000000 -0400
-@@ -189,9 +189,12 @@
-   DIR=`echo $1 | sed 's at -doc@@'`
-
+--- jhalfs.orig	2005-11-01 07:10:00.104763416 -0500
++++ jhalfs	2005-11-01 07:10:02.472416413 -0500
+@@ -192,9 +192,12 @@
+   DIR=`echo $1 | sed -e 's at -doc@@' -e 's at -linuxthreads@@' -e 's at -libidn@@'`
+ 
    # Find the md5 sum for this package.
 -  if [ $2 != MD5SUMS ] ; then MD5=`grep "  $2" MD5SUMS` ; fi
 +  if [ $2 != MD5SUMS ] ; then
 +    MD5=$(grep " $2" MD5SUMS | sed -r -e 's/^[[:blank:]]+//;s/[[:blank:]]+$//;s/[[:blank:]]+/ /g')
 +    md5_file=${MD5#* } ; md5_chksum=${MD5% *}
 +  fi
-
+ 
 -  if [ ! -f $2 ] ; then
 +  if [ ! -f $2 -o $2 == MD5SUMS ] ; then
      case $DL in
        wget )
          wget $HTTP/$DIR/$2
-@@ -203,7 +206,7 @@
+@@ -206,7 +209,7 @@
          echo "$DL not supported at this time."
          ;;
      esac
@@ -33,7 +33,7 @@
      case $DL in
        wget )
          wget -c $HTTP/$DIR/$2
-@@ -216,8 +219,11 @@
+@@ -219,8 +222,11 @@
          ;;
      esac
    fi
@@ -46,5 +46,4 @@
 +     fi
    fi
  }
-
-
+ 




More information about the alfs-log mailing list