1 |
vapier 14/12/30 22:27:16 |
2 |
|
3 |
Modified: 0.88-bigendian.patch 0.88-errno.patch |
4 |
0.88-tcprules.patch |
5 |
Log: |
6 |
Clean up documentation on a few patches. |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sys-apps/ucspi-tcp/files/0.88-bigendian.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-bigendian.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-bigendian.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-bigendian.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: 0.88-bigendian.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-bigendian.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- 0.88-bigendian.patch 6 Jan 2005 20:10:25 -0000 1.1 |
22 |
+++ 0.88-bigendian.patch 30 Dec 2014 22:27:16 -0000 1.2 |
23 |
@@ -1,11 +1,15 @@ |
24 |
---- ucspi-tcp-0.88.orig/tcpserver.c 2005-01-06 20:51:16.590777128 +0100 |
25 |
-+++ ucspi-tcp-0.88/tcpserver.c 2005-01-06 20:52:34.075997584 +0100 |
26 |
+https://bugs.gentoo.org/18892 |
27 |
+ |
28 |
+patch by Michael Hanselmann <hansmi@g.o> |
29 |
+ |
30 |
+--- a/tcpserver.c |
31 |
++++ b/tcpserver.c |
32 |
@@ -422,7 +422,11 @@ |
33 |
se = getservbyname(x,"tcp"); |
34 |
if (!se) |
35 |
strerr_die3x(111,FATAL,"unable to figure out port number for ",x); |
36 |
+#if __BYTE_ORDER == __BIG_ENDIAN || BYTE_ORDER == BIG_ENDIAN |
37 |
-+ localport = ntohs(se->s_port); |
38 |
++ localport = ntohs(se->s_port); |
39 |
+#else |
40 |
uint16_unpack_big((char*)&se->s_port,&localport); |
41 |
+#endif |
42 |
|
43 |
|
44 |
|
45 |
1.3 sys-apps/ucspi-tcp/files/0.88-errno.patch |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-errno.patch?rev=1.3&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-errno.patch?rev=1.3&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-errno.patch?r1=1.2&r2=1.3 |
50 |
|
51 |
Index: 0.88-errno.patch |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-errno.patch,v |
54 |
retrieving revision 1.2 |
55 |
retrieving revision 1.3 |
56 |
diff -u -r1.2 -r1.3 |
57 |
--- 0.88-errno.patch 17 Nov 2008 22:50:43 -0000 1.2 |
58 |
+++ 0.88-errno.patch 30 Dec 2014 22:27:16 -0000 1.3 |
59 |
@@ -1,5 +1,7 @@ |
60 |
---- a/error.h 2000-03-18 10:18:42.000000000 -0500 |
61 |
-+++ b/error.h 2003-03-05 15:36:47.000000000 -0500 |
62 |
+http://bugs.gentoo.org/16804 |
63 |
+ |
64 |
+--- a/error.h |
65 |
++++ b/error.h |
66 |
@@ -1,7 +1,7 @@ |
67 |
#ifndef ERROR_H |
68 |
#define ERROR_H |
69 |
|
70 |
|
71 |
|
72 |
1.2 sys-apps/ucspi-tcp/files/0.88-tcprules.patch |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-tcprules.patch?rev=1.2&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-tcprules.patch?rev=1.2&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-tcprules.patch?r1=1.1&r2=1.2 |
77 |
|
78 |
Index: 0.88-tcprules.patch |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/ucspi-tcp/files/0.88-tcprules.patch,v |
81 |
retrieving revision 1.1 |
82 |
retrieving revision 1.2 |
83 |
diff -u -r1.1 -r1.2 |
84 |
--- 0.88-tcprules.patch 15 Oct 2005 21:54:54 -0000 1.1 |
85 |
+++ 0.88-tcprules.patch 30 Dec 2014 22:27:16 -0000 1.2 |
86 |
@@ -1,12 +1,16 @@ |
87 |
---- tcprules.c.orig 2005-09-12 00:44:11.000000000 +0200 |
88 |
-+++ tcprules.c 2005-09-12 00:58:11.000000000 +0200 |
89 |
+https://bugs.gentoo.org/90679 |
90 |
+ |
91 |
+patch by Michael Hanselmann <hansmi@g.o> |
92 |
+ |
93 |
+--- a/tcprules.c |
94 |
++++ b/tcprules.c |
95 |
@@ -127,6 +127,9 @@ |
96 |
for (;;) { |
97 |
int tmp; |
98 |
tmp = byte_chr(x + colon,len - colon,':'); |
99 |
-+ if(colon == 0 && tmp == len) { |
100 |
-+ strerr_die2x(111, FATAL, "Unable to find colon on non-empty line."); |
101 |
-+ } |
102 |
++ if (colon == 0 && tmp == len) { |
103 |
++ strerr_die2x(111, FATAL, "Unable to find colon on non-empty line."); |
104 |
++ } |
105 |
colon += tmp; |
106 |
if (colon == len) continue; |
107 |
if (byte_equal(x+colon+1,4,"deny") || byte_equal(x+colon+1,5,"allow")) break; |