Replace UU encoded files in CGI with their binary originals
Steve Hay [Sat, 10 Oct 2009 10:55:42 +0000 (11:55 +0100)]
There is no longer any need to avoid having binary files in the perl
distribution, and these files are not UU encoded in CGI on CPAN.

MANIFEST
cpan/CGI/examples/RunMeFirst [deleted file]
cpan/CGI/examples/dna.small.gif [new file with mode: 0644]
cpan/CGI/examples/dna_small_gif.uu [deleted file]
cpan/CGI/examples/wilogo.gif [new file with mode: 0644]
cpan/CGI/examples/wilogo_gif.uu [deleted file]

index 3a568c0..35e1072 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -163,14 +163,14 @@ cpan/B-Lint/lib/B/Lint/Debug.pm                   Adds debugging stringification to B::
 cpan/B-Lint/lib/B/Lint.pm                      Compiler Lint backend
 cpan/B-Lint/t/lint.t                           See if B::Lint works
 cpan/B-Lint/t/pluglib/B/Lint/Plugin/Test.pm    See if B::Lint works
-cpan/CGI/Changes               Changelog for CGI.pm
+cpan/CGI/Changes                       Changelog for CGI.pm
 cpan/CGI/examples/caution.xbm          CGI example
 cpan/CGI/examples/clickable_image.cgi  CGI example
 cpan/CGI/examples/cookie.cgi           CGI example
 cpan/CGI/examples/crash.cgi            CGI example
 cpan/CGI/examples/customize.cgi                CGI example
 cpan/CGI/examples/diff_upload.cgi      CGI example
-cpan/CGI/examples/dna_small_gif.uu     Small image for CGI examples
+cpan/CGI/examples/dna_small_gif                Small image for CGI examples
 cpan/CGI/examples/file_upload.cgi      CGI example
 cpan/CGI/examples/frameset.cgi         CGI example
 cpan/CGI/examples/index.html           Index page for CGI examples
@@ -182,10 +182,9 @@ cpan/CGI/examples/multiple_forms.cgi       CGI example
 cpan/CGI/examples/nph-clock.cgi                CGI example
 cpan/CGI/examples/nph-multipart.cgi    CGI example
 cpan/CGI/examples/popup.cgi            CGI example
-cpan/CGI/examples/RunMeFirst           Setup script for CGI examples
 cpan/CGI/examples/save_state.cgi       CGI example
 cpan/CGI/examples/tryit.cgi            CGI example
-cpan/CGI/examples/wilogo_gif.uu                CGI example
+cpan/CGI/examples/wilogo_gif           CGI example
 cpan/CGI/lib/CGI/Apache.pm             Support for Apache's Perl module
 cpan/CGI/lib/CGI/Carp.pm               Log server errors with helpful context
 cpan/CGI/lib/CGI/Cookie.pm             Interface to Netscape Cookies
diff --git a/cpan/CGI/examples/RunMeFirst b/cpan/CGI/examples/RunMeFirst
deleted file mode 100755 (executable)
index 018b11b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/usr/local/bin/perl
-
-# Make a world-writeable directory for saving state.
-$ww = 'WORLD_WRITABLE';
-unless (-w $ww) {
-    $u = umask 0;
-    mkdir $ww, 0777;
-    umask $u;
-}
-
-# Decode the sample image.
-for $uu (<*.uu>) {
-    unless (open UU, "<$uu") { warn "Can't open $uu: $!\n"; next }
-    while (<UU>) {
-        chomp;
-       if (/^begin\s+\d+\s+(.+)$/) {
-           $bin = $1;
-           last;
-       }
-    }
-    unless (open BIN, "> $bin") { warn "Can't create $bin: $!\n"; next }
-    binmode BIN;
-    while (<UU>) {
-       chomp;
-       last if /^end/;
-       print BIN unpack "u", $_;
-    }
-    close BIN;
-    close UU;
-}
-
-# Create symlinks from *.txt to *.cgi for documentation purposes.
-foreach (<*.cgi>) {
-    ($target = $_) =~ s/cgi$/txt/i;
-    symlink $_, $target unless -e $target;
-}
diff --git a/cpan/CGI/examples/dna.small.gif b/cpan/CGI/examples/dna.small.gif
new file mode 100644 (file)
index 0000000..acf788e
Binary files /dev/null and b/cpan/CGI/examples/dna.small.gif differ
diff --git a/cpan/CGI/examples/dna_small_gif.uu b/cpan/CGI/examples/dna_small_gif.uu
deleted file mode 100644 (file)
index 1745c73..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-begin 444 dna_small.gif
-M1TE&.#=A)0`J`.<``+9%&Y<R0M<F'ID\,!<07%<G1:P<0Q`A2Q`P;"L9/L$:
-M,"480N5"&RL7:4LD0T,G144[7BHL2B4?3\0I+"</)BQ.9KD0/S878\96$Z\@
-M(:\1*RL:3L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1N&T0Q<,$$$%*!``BR1A5$PPPH<74$%]*`#$.RA
-M`(VP@#`X$(`7``(%T=@`.5Q`C@:0`P[)D$4'$H`."MB#"908Q=X@,01B9$(7
-MG'A%`#8!"QSL@PUAL,0==M"")CQCP4)0QQUDP806H&,!T]A!`EH@AC2P`P,^
-MT`,*NN%-&&T!&L@X!!Y^<(4.D(,%E>A`,T20C#IXL`6-:,`5F+"#!W"@'%OH
-MA`IJ$5(#;`(;AV/'FA103(EV+(,>GHB&&ZJ`!D'<X0[-N$(N@)$+4$C@`<(`
-M$(&/<8Q;7$,1UT"``+>P!57`X1F9D`4<W$`"4MP@$ZYX\B-"004Y2$`.HT@%
-M)@IAB#><0!]FB(<I.(&`(7P"%GPPQ3)F`0YB0"$0@8"")L!Q!RH`8A&AL,8L
-BR!$$,@@#&5OX!1V.\85XA.,.,A##!T2!AP@LXP#;"`@`.P``
-end
diff --git a/cpan/CGI/examples/wilogo.gif b/cpan/CGI/examples/wilogo.gif
new file mode 100644 (file)
index 0000000..a7c309e
Binary files /dev/null and b/cpan/CGI/examples/wilogo.gif differ
diff --git a/cpan/CGI/examples/wilogo_gif.uu b/cpan/CGI/examples/wilogo_gif.uu
deleted file mode 100644 (file)
index c5d1042..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-begin 444 wilogo.gif
-M1TE&.#=A7@!$`(```'X2F?___RP`````7@!$```"_D2.J<#MKF)ZU,A3,[OO
-M(IUY']A%9"6AW$F)+#2]Y:BNLF6_\;WMH<?#I72^VP+D"@*)F&"O25KRDM&B
-M[%C-7;4_J)*6'4ZE&O`W8"1OQ5UGPWRBIKDPM!MW9J]-[;LUKL;$5W.'YQ3(
-M(O<&-^>F*(A55\BX%UEI^;<VB0BH1RFX2=<IELE4^*0'N?-I>OJ8N%(*Z^4G
-M.OJJ>8HZ.(>;JRMD><E[!KQHB^3;:APL6Z8\RKPK/)O:*-WLW&7]*\UYR]J)
-M?<P=1MR-_6VN76,WGAV^32W^3CZ_SCY3;W__C-R^CU^\%M#T!9PVL(ZZ&>X"
-M%A1XSM]!A?T8/C0T$1XMJG\B&G+,"-&C/(VS0(842;`)M'S>_OE8F#"=2S#*
-M8LHLAS'D1Y,42UGY9O,F-T:X@@JEE@D1RW>/D@8R.DZ-+*E0CQ:9JJ5JU!SQ
-MR&BU2D.;E*4'ER0TNY%G2A/Y.G[=VG%81+5K_UG$21<A6;=YP9'5B++O7:@7
-M\]J5]]?DX7:)%<]5%=B/55>-GQW55;$8L\RW6J8-9>QM7<^A/SMZK!ESY$,+
-(KPA.EJ```#L`
-end