summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-04-16 20:36:25 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-04-16 20:36:25 +0000
commitdee38171bf200982915da560321f76f13ee5f0aa (patch)
treef0d0b10655f949dd9b496c2b8bac93599ae3ff40 /app-arch
parentFixed the patch. (diff)
downloadgentoo-2-dee38171bf200982915da560321f76f13ee5f0aa.tar.gz
gentoo-2-dee38171bf200982915da560321f76f13ee5f0aa.tar.bz2
gentoo-2-dee38171bf200982915da560321f76f13ee5f0aa.zip
patch fix. (again)
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/bsdsfv/files/bsdsfv-1.14-gentoo.diff61
-rw-r--r--app-arch/bsdsfv/files/digest-bsdsfv-1.143
2 files changed, 14 insertions, 50 deletions
diff --git a/app-arch/bsdsfv/files/bsdsfv-1.14-gentoo.diff b/app-arch/bsdsfv/files/bsdsfv-1.14-gentoo.diff
index b9c395dc594f..80c411ea6612 100644
--- a/app-arch/bsdsfv/files/bsdsfv-1.14-gentoo.diff
+++ b/app-arch/bsdsfv/files/bsdsfv-1.14-gentoo.diff
@@ -1,15 +1,10 @@
--- bsdsfv.c.orig 2003-04-16 16:05:16.000000000 -0400
-+++ bsdsfv.c 2003-04-16 16:09:50.000000000 -0400
-@@ -34,12 +34,20 @@
-
- *************************************************************************/
++++ bsdsfv.c 2003-04-16 16:32:35.000000000 -0400
+@@ -36,3 +36,2 @@
-
#define FNAMELEN 250
- #define MAXSFVFILE 1024
--#define BSDSFV_VERSION "BSDSFV for UNiX, $Revision: 1.2 $"
-+#define BSDSFV_VERSION "BSDSFV for UNiX, Revision: 1.14"
- #define MISSINGTAG ".missing"
+@@ -42,2 +41,11 @@
#define BADTAG ".bad"
+#define OPENBRACKET "\e[34;01m[\e[0m"
+#define CLOSEBRACKET "\e[34;01m]\e[0m"
@@ -21,37 +16,22 @@
+#define MISSINGMSG "MISSING"
+
- typedef struct sfvtable
- {
-@@ -523,7 +531,7 @@
-
- if (listedcrc == mycrc)
+@@ -525,3 +533,3 @@
{
- printf ("OK\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, OKCOLOR, OKMSG, CLOSEBRACKET);
if (glftpdmode)
- {
- sprintf (crap, "%s%s", sfvTable[0].filename,
-@@ -535,7 +543,7 @@
- }
- else
+@@ -537,3 +545,3 @@
{
- printf ("BAD\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, BADCOLOR, BADMSG, CLOSEBRACKET);
badfiles++;
- if (glftpdmode)
- {
-@@ -549,16 +557,18 @@
- }
- else
+@@ -551,3 +559,3 @@
{
- printf ("MISSING\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, MISSINGCOLOR, MISSINGMSG, CLOSEBRACKET);
missingfiles++;
- }
- numfiles++;
- paramcnt++;
- }
+@@ -558,5 +566,7 @@
- printf ("\n%d file(s) tested - %d OK - %d bad - %d missing...\n",
- numfiles, numfiles - badfiles - missingfiles, badfiles,
@@ -62,33 +42,22 @@
+ OPENBRACKET, BADCOLOR, badfiles, BADMSG, CLOSEBRACKET,
+ OPENBRACKET, MISSINGCOLOR, missingfiles, MISSINGMSG, CLOSEBRACKET);
- if (badfiles || missingfiles)
- return 1;
-@@ -635,18 +645,18 @@
-
- if (mycrc == sfvTable[cnt].crc)
+@@ -637,3 +647,3 @@
{
- printf ("OK\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, OKCOLOR, OKMSG, CLOSEBRACKET);
}
- else
- {
- if (mycrc == 0xffffffff)
+@@ -643,3 +653,3 @@
{
- printf ("MISSING\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, MISSINGCOLOR, MISSINGMSG, CLOSEBRACKET);
missingfiles++;
- }
- else
+@@ -648,3 +658,3 @@
{
- printf ("BAD\n");
+ printf ("%s %s%s %s\n", OPENBRACKET, BADCOLOR, BADMSG, CLOSEBRACKET);
badfiles++;
- }
- }
-@@ -668,8 +678,9 @@
- }
- else
+@@ -670,4 +680,5 @@
{
- printf ("Testing %s ... listed = 0x%08X ... Local = MISSING",
- sfvTable[cnt].filename, sfvTable[cnt].crc);
@@ -96,11 +65,7 @@
+ sfvTable[cnt].filename, sfvTable[cnt].crc,
+ OPENBRACKET, MISSINGCOLOR, MISSINGMSG, CLOSEBRACKET);
missingfiles++;
- if (glftpdmode)
- {
-@@ -714,10 +725,12 @@
- }
- printf ("Completion Status: %s\n", NEWTAG);
+@@ -716,6 +727,8 @@
}
-
- printf ("\n%d file(s) tested - %d OK - %d bad - %d missing ...\n\n",
@@ -113,5 +78,3 @@
+ OPENBRACKET, BADCOLOR, badfiles, BADMSG, CLOSEBRACKET,
+ OPENBRACKET, MISSINGCOLOR, missingfiles, MISSINGMSG, CLOSEBRACKET);
- if (missingfiles)
- return 2;
diff --git a/app-arch/bsdsfv/files/digest-bsdsfv-1.14 b/app-arch/bsdsfv/files/digest-bsdsfv-1.14
index 8ec1c73ad119..935f10a12667 100644
--- a/app-arch/bsdsfv/files/digest-bsdsfv-1.14
+++ b/app-arch/bsdsfv/files/digest-bsdsfv-1.14
@@ -1,3 +1,4 @@
-MD5 4b7390ad47f107463d15e50759bcd70c /files/bsdsfv-1.14-gentoo.diff 3594
+MD5 3d92ff95b6d078f2d3dd727fdae1a95f /files/bak 3595
+MD5 ad16b5ad77db0fedcc150d4e30e15f60 /files/bsdsfv-1.14-gentoo.diff 2863
MD5 83353376a16d2197aac29b4760a26e39 /bsdsfv-1.14.ebuild 620
MD5 67caa8503a2506b68aaf53aa655a9f04 bsdsfv.1.14.tar.gz 13327