[68094] trunk/dports/shells/bash

raimue at macports.org raimue at macports.org
Wed May 26 09:03:39 PDT 2010


Revision: 68094
          http://trac.macports.org/changeset/68094
Author:   raimue at macports.org
Date:     2010-05-26 09:03:35 -0700 (Wed, 26 May 2010)
Log Message:
-----------
shells/bash:
Remove extra checksums_patch file

Modified Paths:
--------------
    trunk/dports/shells/bash/Portfile
    trunk/dports/shells/bash/files/checksums_patch

Modified: trunk/dports/shells/bash/Portfile
===================================================================
--- trunk/dports/shells/bash/Portfile	2010-05-26 15:59:19 UTC (rev 68093)
+++ trunk/dports/shells/bash/Portfile	2010-05-26 16:03:35 UTC (rev 68094)
@@ -27,27 +27,21 @@
                     sha1    3bd1ec9c66f3689f6b3495bdaaf9077b2e5dc150 \
                     rmd160  554c7ecb4a63da431768caed1f958c06b8fa7207
 
-eval {
-  set low 1
-  while {$low <= $bash_patchlevel} {
-    set high [expr $low + 99];
-    if {$high < $bash_patchlevel} {
-
-      ###
-      # disabled because there haven't been a hundred patches for bash yet
-      # and there's no way to tell the format in advance
-
-      # patchfiles-append [format "%s.%03d-%03d.gz" $bash_version $low $high]
-      # incr low 100
-
-    } else {
-      patchfiles-append \
-        [format "%s%s-%03d" $name [strsed ${bash_version} {g/\.//}] $low]
-      incr low 1
-    }
-  }
+# Generate patchfiles
+for {set i 1} {$i <= $bash_patchlevel} {incr i} {
+    patchfiles-append \
+        [format "%s%s-%03d" $name [strsed ${bash_version} {g/\.//}] $i]
 }
 
+checksums-append \
+    bash41-001 sha1 41e176f9de749e432bebb8fac5d033a3936045f6 \
+    bash41-002 sha1 72a9ad2e08d35e02ac1417f3aedf39db4cb4c66f \
+    bash41-003 sha1 31ae7f511d99ea336ba2299c10e493c21512e3ad \
+    bash41-004 sha1 469dff697b7ac1c157dcc625d9333a1dcdb88ae2 \
+    bash41-005 sha1 c8400b7d3ddb2f8c7159bbbd238b22fc10504e12 \
+    bash41-006 sha1 9707fc6a92d4de907016584074187c1aaca25f2a \
+    bash41-007 sha1 614e46128d6f9867132b31765f60a514b395ae43
+
 depends_build           bin:grep:grep \
                         bin:bison:bison
 depends_lib             port:gettext \
@@ -62,8 +56,6 @@
     configure.args-append "CFLAGS_FOR_BUILD=\"${configure.universal_cflags}\""
 }
 
-include checksums_patch
-
 livecheck.type          master_sites
 livecheck.url           http://ftp.gnu.org/gnu/${name}/${name}-${bash_version}-patches/?C=M&O=D
 livecheck.version       [format %03d ${bash_patchlevel}]

Modified: trunk/dports/shells/bash/files/checksums_patch
===================================================================
--- trunk/dports/shells/bash/files/checksums_patch	2010-05-26 15:59:19 UTC (rev 68093)
+++ trunk/dports/shells/bash/files/checksums_patch	2010-05-26 16:03:35 UTC (rev 68094)
@@ -1,8 +1 @@
-checksums-append \
-    bash41-001 sha1 41e176f9de749e432bebb8fac5d033a3936045f6 \
-    bash41-002 sha1 72a9ad2e08d35e02ac1417f3aedf39db4cb4c66f \
-    bash41-003 sha1 31ae7f511d99ea336ba2299c10e493c21512e3ad \
-    bash41-004 sha1 469dff697b7ac1c157dcc625d9333a1dcdb88ae2 \
-    bash41-005 sha1 c8400b7d3ddb2f8c7159bbbd238b22fc10504e12 \
-    bash41-006 sha1 9707fc6a92d4de907016584074187c1aaca25f2a \
-    bash41-007 sha1 614e46128d6f9867132b31765f60a514b395ae43
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100526/2852e333/attachment.html>


More information about the macports-changes mailing list