Update of /cvsroot/fink/experimental/thesin/finkinfo
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv17345
Modified Files:
dpkg.info dpkg.patch
Log Message:
* Add simulated binary mode to md5sum for ffmpeg, md5sum wrapper will likely
be deprecated in the future so do not depend on this wrapper. Also binary
mode is simulated it can't actually determine if it's binary, I just add
an asterisk in front of the file name when -b is passed.
Index: dpkg.patch
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/dpkg.patch,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- dpkg.patch 21 May 2013 20:49:24 -0000 1.18
+++ dpkg.patch 28 May 2013 14:34:15 -0000 1.19
@@ -1,7 +1,7 @@
diff -ruN dpkg-1.16.10.orig/fink/md5sum dpkg-1.16.10/fink/md5sum
--- dpkg-1.16.10.orig/fink/md5sum 1969-12-31 17:00:00.000000000 -0700
-+++ dpkg-1.16.10/fink/md5sum 2012-07-02 16:14:45.000000000 -0600
-@@ -0,0 +1,313 @@
++++ dpkg-1.16.10/fink/md5sum 2013-05-28 08:30:00.000000000 -0600
+@@ -0,0 +1,322 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
@@ -14,6 +14,7 @@
+# GNU General Public License version 2.
+
+my $md5_bin = "/sbin/md5";
++my $binary_mode = "";
+my $check_mode = 0;
+my $quiet = 0;
+my $warn = 0;
@@ -49,7 +50,7 @@
+ if( $file eq "-" and $stdin_done )
+ {
+ # second - is empty, so md5sum is of the empty string
-+ print "d41d8cd98f00b204e9800998ecf8427e -\n";
++ print "d41d8cd98f00b204e9800998ecf8427e $binary_mode-\n";
+ next;
+ }
+
@@ -60,7 +61,7 @@
+ }
+
+ # the old md5sum, nor md5, understand binary mode, so...
-+ print "$checksum $file\n";
++ print "$checksum $binary_mode$file\n";
+
+ if( $file eq "-" )
+ {
@@ -132,10 +133,14 @@
+ {
+ version_and_exit();
+ }
-+ elsif( $opt eq "binary" or $opt eq "text" )
++ elsif( $opt eq "text" )
+ {
+ # ignore
+ }
++ elsif( $opt eq "binary" )
++ {
++ $binary_mode = "*";
++ }
+ elsif( $opt eq "check" )
+ {
+ $check_mode = 1;
@@ -165,10 +170,14 @@
+ {
+ my @opts = split //, $1;
+ for(@opts) {
-+ if( $_ eq "b" or $_ eq "t" )
++ if( $_ eq "t" )
+ {
+ # ignore
+ }
++ elsif( $_ eq "b" )
++ {
++ $binary_mode = "*";
++ }
+ elsif( $_ eq "c" )
+ {
+ $check_mode = 1;
Index: dpkg.info
===================================================================
RCS file: /cvsroot/fink/experimental/thesin/finkinfo/dpkg.info,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- dpkg.info 21 May 2013 20:49:24 -0000 1.42
+++ dpkg.info 28 May 2013 14:34:15 -0000 1.43
@@ -36,7 +36,7 @@
Source-MD5: a20a06a5272717274a8b009368f237da
PatchFile: dpkg.patch
-PatchFile-MD5: 76944f14e19764a76461b084c0cc8af9
+PatchFile-MD5: 30d353628371c0eb464812cf25384122
PatchScript: <<
sed -e 's,@FINKPREFIX@,%p,g' %{PatchFile} | patch -p1
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs