1 |
sping 12/01/08 16:48:58 |
2 |
|
3 |
Added: mpack-1.6-filenames.patch mpack-1.6-usage.patch |
4 |
Log: |
5 |
net-mail/mpack: Apply bugfix patches |
6 |
|
7 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-mail/mpack/files/mpack-1.6-filenames.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-filenames.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-filenames.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mpack-1.6-filenames.patch |
16 |
=================================================================== |
17 |
From 10aad11d7baf7044328fff616b9c6f1859bd2cbd Mon Sep 17 00:00:00 2001 |
18 |
From: Sebastian Pipping <sebastian@×××××××.org> |
19 |
Date: Sun, 8 Jan 2012 17:36:20 +0100 |
20 |
Subject: [PATCH 1/2] Use actual filenames for unpacking (rather than |
21 |
"part[0-9]+") |
22 |
|
23 |
Example: |
24 |
# curl http://pbot.rmdir.de/b224d87617c5d76d6cd938bd4410fabf | ./munpack |
25 |
--- |
26 |
decode.c | 4 ++-- |
27 |
1 files changed, 2 insertions(+), 2 deletions(-) |
28 |
|
29 |
diff --git a/decode.c b/decode.c |
30 |
index 8b8df56..7349abd 100644 |
31 |
--- a/decode.c |
32 |
+++ b/decode.c |
33 |
@@ -546,8 +546,8 @@ getDispositionFilename(char *disposition) |
34 |
SkipWhitespace(&disposition); |
35 |
if (!disposition) return 0; |
36 |
|
37 |
- /* If we're looking at a ";", we found what we're looking for */ |
38 |
- if (*disposition++ == ';') break; |
39 |
+ /* If we're looking at a "=", we found what we're looking for */ |
40 |
+ if (*disposition++ == '=') break; |
41 |
} |
42 |
|
43 |
SkipWhitespace(&disposition); |
44 |
-- |
45 |
1.7.8.3 |
46 |
|
47 |
|
48 |
|
49 |
|
50 |
1.1 net-mail/mpack/files/mpack-1.6-usage.patch |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-usage.patch?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mpack/files/mpack-1.6-usage.patch?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: mpack-1.6-usage.patch |
56 |
=================================================================== |
57 |
From 74fd172db4961ab07f134a60cd88955fb170f11d Mon Sep 17 00:00:00 2001 |
58 |
From: Sebastian Pipping <sebastian@×××××××.org> |
59 |
Date: Sun, 8 Jan 2012 17:39:51 +0100 |
60 |
Subject: [PATCH 2/2] Mention parameter -t in usage output |
61 |
|
62 |
--- |
63 |
unixunpk.c | 2 +- |
64 |
1 files changed, 1 insertions(+), 1 deletions(-) |
65 |
|
66 |
diff --git a/unixunpk.c b/unixunpk.c |
67 |
index 0f5fa85..1320b70 100644 |
68 |
--- a/unixunpk.c |
69 |
+++ b/unixunpk.c |
70 |
@@ -101,7 +101,7 @@ int main(int argc, char **argv) |
71 |
|
72 |
void usage(void) { |
73 |
fprintf(stderr, "munpack version %s\n", MPACK_VERSION); |
74 |
- fprintf(stderr, "usage: munpack [-f] [-q] [-C directory] [files...]\n"); |
75 |
+ fprintf(stderr, "usage: munpack [-f] [-q] [-t] [-C directory] [files...]\n"); |
76 |
exit(1); |
77 |
} |
78 |
|
79 |
-- |
80 |
1.7.8.3 |