1 |
commit: ef0a9fa9d811fedff9e83a2a5577a3fcf43cb25d |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Dec 13 20:25:54 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 22 15:46:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0a9fa9 |
7 |
|
8 |
mail-filter/milter-regex: remove unused patches |
9 |
|
10 |
.../files/milter-regex-1.7-gentoo.patch | 52 --------- |
11 |
.../files/milter-regex-1.7-rules.patch | 11 -- |
12 |
.../milter-regex/files/milter-regex-1.7-yacc.patch | 12 -- |
13 |
.../files/milter-regex-1.8-gentoo.patch | 129 --------------------- |
14 |
.../files/milter-regex-1.8-rules.patch | 12 -- |
15 |
5 files changed, 216 deletions(-) |
16 |
|
17 |
diff --git a/mail-filter/milter-regex/files/milter-regex-1.7-gentoo.patch b/mail-filter/milter-regex/files/milter-regex-1.7-gentoo.patch |
18 |
deleted file mode 100644 |
19 |
index bd5d926..00000000 |
20 |
--- a/mail-filter/milter-regex/files/milter-regex-1.7-gentoo.patch |
21 |
+++ /dev/null |
22 |
@@ -1,52 +0,0 @@ |
23 |
-diff -Nru milter-regex-1.7.orig/Makefile.linux milter-regex-1.7/Makefile.linux |
24 |
---- milter-regex-1.7.orig/Makefile.linux 2007-01-11 17:49:52.000000000 +0200 |
25 |
-+++ milter-regex-1.7/Makefile.linux 2008-02-18 10:17:35.000000000 +0200 |
26 |
-@@ -6,13 +6,12 @@ |
27 |
- # see milter-regex.init for an init script for RedHat/Fedora |
28 |
- # (contributed by admin@××××××××.ru) |
29 |
- |
30 |
--CFLAGS= -g |
31 |
--LDFLAGS= -lmilter -lpthread |
32 |
-+LIBS= -lmilter -lpthread |
33 |
- |
34 |
- all: milter-regex milter-regex.cat8 |
35 |
- |
36 |
- milter-regex: milter-regex.o eval.o strlcpy.o y.tab.o |
37 |
-- gcc -o milter-regex milter-regex.o eval.o strlcpy.o y.tab.o $(LDFLAGS) |
38 |
-+ gcc $(LDFLAGS) -o milter-regex milter-regex.o eval.o strlcpy.o y.tab.o $(LIBS) |
39 |
- |
40 |
- milter-regex.o: milter-regex.c eval.h |
41 |
- gcc $(CFLAGS) -c milter-regex.c |
42 |
-@@ -27,7 +26,7 @@ |
43 |
- gcc $(CFLAGS) -c y.tab.c |
44 |
- |
45 |
- y.tab.c: parse.y |
46 |
-- yacc -d parse.y |
47 |
-+ yacc -d -y parse.y |
48 |
- |
49 |
- milter-regex.cat8: milter-regex.8 |
50 |
- nroff -Tascii -mandoc milter-regex.8 > milter-regex.cat8 |
51 |
-diff -Nru milter-regex-1.7.orig/parse.y milter-regex-1.7/parse.y |
52 |
---- milter-regex-1.7.orig/parse.y 2007-01-11 17:49:52.000000000 +0200 |
53 |
-+++ milter-regex-1.7/parse.y 2008-02-18 10:16:02.000000000 +0200 |
54 |
-@@ -71,6 +71,7 @@ |
55 |
- } v; |
56 |
- int lineno; |
57 |
- } YYSTYPE; |
58 |
-+#define YYSTYPE_IS_DECLARED 1 |
59 |
- |
60 |
- %} |
61 |
- |
62 |
-@@ -481,9 +482,9 @@ |
63 |
- *r = rs; |
64 |
- return (0); |
65 |
- } |
66 |
--#ifdef __linux__ |
67 |
-- (void)&yyrcsid; /* warning about yyrcsid declared but unused */ |
68 |
--#endif |
69 |
-+//#ifdef __linux__ |
70 |
-+// (void)&yyrcsid; /* warning about yyrcsid declared but unused */ |
71 |
-+//#endif |
72 |
- } |
73 |
- |
74 |
- static int |
75 |
|
76 |
diff --git a/mail-filter/milter-regex/files/milter-regex-1.7-rules.patch b/mail-filter/milter-regex/files/milter-regex-1.7-rules.patch |
77 |
deleted file mode 100644 |
78 |
index 2e85be4..00000000 |
79 |
--- a/mail-filter/milter-regex/files/milter-regex-1.7-rules.patch |
80 |
+++ /dev/null |
81 |
@@ -1,11 +0,0 @@ |
82 |
---- rules~ 2007-01-11 08:49:52.000000000 -0700 |
83 |
-+++ rules 2008-01-28 11:52:49.629153456 -0700 |
84 |
-@@ -21,7 +21,7 @@ |
85 |
- header /From/ /ebay\.com/i |
86 |
- header /From/ /sabresfc11@aol\.com/i |
87 |
- header /From/ /ictp\.ch/i |
88 |
--header /From/ /(sgi.org.uk/ei |
89 |
-+header /From/ /(sgi.org.uk)/ei |
90 |
- header /From/ /tera-byte/i |
91 |
- header /From/ /google\.com/i |
92 |
- header /Subject/ /item/i |
93 |
|
94 |
diff --git a/mail-filter/milter-regex/files/milter-regex-1.7-yacc.patch b/mail-filter/milter-regex/files/milter-regex-1.7-yacc.patch |
95 |
deleted file mode 100644 |
96 |
index 880f05d..00000000 |
97 |
--- a/mail-filter/milter-regex/files/milter-regex-1.7-yacc.patch |
98 |
+++ /dev/null |
99 |
@@ -1,12 +0,0 @@ |
100 |
-diff -Nru milter-regex-1.7.orig/Makefile.linux milter-regex-1.7/Makefile.linux |
101 |
---- milter-regex-1.7.orig/Makefile.linux 2008-12-11 20:54:05.000000000 +0000 |
102 |
-+++ milter-regex-1.7/Makefile.linux 2008-12-11 20:54:22.000000000 +0000 |
103 |
-@@ -26,7 +26,7 @@ |
104 |
- gcc $(CFLAGS) -c y.tab.c |
105 |
- |
106 |
- y.tab.c: parse.y |
107 |
-- yacc -d -y parse.y |
108 |
-+ yacc -d parse.y |
109 |
- |
110 |
- milter-regex.cat8: milter-regex.8 |
111 |
- nroff -Tascii -mandoc milter-regex.8 > milter-regex.cat8 |
112 |
|
113 |
diff --git a/mail-filter/milter-regex/files/milter-regex-1.8-gentoo.patch b/mail-filter/milter-regex/files/milter-regex-1.8-gentoo.patch |
114 |
deleted file mode 100644 |
115 |
index 27caafb..00000000 |
116 |
--- a/mail-filter/milter-regex/files/milter-regex-1.8-gentoo.patch |
117 |
+++ /dev/null |
118 |
@@ -1,129 +0,0 @@ |
119 |
-diff -Nru milter-regex-1.8.orig/Makefile.linux milter-regex-1.8/Makefile.linux |
120 |
---- milter-regex-1.8.orig/Makefile.linux 2007-01-11 16:49:52.000000000 +0100 |
121 |
-+++ milter-regex-1.8/Makefile.linux 2010-09-24 22:33:19.000000000 +0200 |
122 |
-@@ -6,13 +6,12 @@ |
123 |
- # see milter-regex.init for an init script for RedHat/Fedora |
124 |
- # (contributed by admin@××××××××.ru) |
125 |
- |
126 |
--CFLAGS= -g |
127 |
--LDFLAGS= -lmilter -lpthread |
128 |
-+LIBS= -lmilter -lpthread |
129 |
- |
130 |
- all: milter-regex milter-regex.cat8 |
131 |
- |
132 |
--milter-regex: milter-regex.o eval.o strlcpy.o y.tab.o |
133 |
-- gcc -o milter-regex milter-regex.o eval.o strlcpy.o y.tab.o $(LDFLAGS) |
134 |
-+milter-regex: milter-regex.o eval.o strlcpy.o strlcat.o y.tab.o |
135 |
-+ gcc $(LDFLAGS) -o milter-regex milter-regex.o eval.o strlcpy.o strlcat.o y.tab.o $(LIBS) |
136 |
- |
137 |
- milter-regex.o: milter-regex.c eval.h |
138 |
- gcc $(CFLAGS) -c milter-regex.c |
139 |
-@@ -22,7 +21,10 @@ |
140 |
- |
141 |
- strlcpy.o: strlcpy.c |
142 |
- gcc $(CFLAGS) -c strlcpy.c |
143 |
-- |
144 |
-+ |
145 |
-+strlcat.o: strlcat.c |
146 |
-+ gcc $(CFLAGS) -c strlcat.c |
147 |
-+ |
148 |
- y.tab.o: y.tab.c |
149 |
- gcc $(CFLAGS) -c y.tab.c |
150 |
- |
151 |
-diff -Nru milter-regex-1.8.orig/parse.y milter-regex-1.8/parse.y |
152 |
---- milter-regex-1.8.orig/parse.y 2007-01-11 16:49:52.000000000 +0100 |
153 |
-+++ milter-regex-1.8/parse.y 2010-09-24 22:33:19.000000000 +0200 |
154 |
-@@ -71,6 +71,7 @@ |
155 |
- } v; |
156 |
- int lineno; |
157 |
- } YYSTYPE; |
158 |
-+#define YYSTYPE_IS_DECLARED 1 |
159 |
- |
160 |
- %} |
161 |
- |
162 |
-@@ -481,9 +482,9 @@ |
163 |
- *r = rs; |
164 |
- return (0); |
165 |
- } |
166 |
--#ifdef __linux__ |
167 |
-- (void)&yyrcsid; /* warning about yyrcsid declared but unused */ |
168 |
--#endif |
169 |
-+//#ifdef __linux__ |
170 |
-+// (void)&yyrcsid; /* warning about yyrcsid declared but unused */ |
171 |
-+//#endif |
172 |
- } |
173 |
- |
174 |
- static int |
175 |
-diff -Nru milter-regex-1.8.orig/strlcat.c milter-regex-1.8/strlcat.c |
176 |
---- milter-regex-1.8.orig/strlcat.c 1970-01-01 01:00:00.000000000 +0100 |
177 |
-+++ milter-regex-1.8/strlcat.c 2010-09-24 22:34:31.000000000 +0200 |
178 |
-@@ -0,0 +1,69 @@ |
179 |
-+/* $OpenBSD: strlcat.c,v 1.2 1999/06/17 16:28:58 millert Exp $ */ |
180 |
-+ |
181 |
-+/*- |
182 |
-+ * Copyright (c) 1998 Todd C. Miller <Todd.Miller@×××××××××.com> |
183 |
-+ * All rights reserved. |
184 |
-+ * |
185 |
-+ * Redistribution and use in source and binary forms, with or without |
186 |
-+ * modification, are permitted provided that the following conditions |
187 |
-+ * are met: |
188 |
-+ * 1. Redistributions of source code must retain the above copyright |
189 |
-+ * notice, this list of conditions and the following disclaimer. |
190 |
-+ * 2. Redistributions in binary form must reproduce the above copyright |
191 |
-+ * notice, this list of conditions and the following disclaimer in the |
192 |
-+ * documentation and/or other materials provided with the distribution. |
193 |
-+ * 3. The name of the author may not be used to endorse or promote products |
194 |
-+ * derived from this software without specific prior written permission. |
195 |
-+ * |
196 |
-+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
197 |
-+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
198 |
-+ * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL |
199 |
-+ * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
200 |
-+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
201 |
-+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
202 |
-+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
203 |
-+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
204 |
-+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
205 |
-+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
206 |
-+ */ |
207 |
-+ |
208 |
-+#include <sys/types.h> |
209 |
-+#include <string.h> |
210 |
-+ |
211 |
-+/* |
212 |
-+ * Appends src to string dst of size siz (unlike strncat, siz is the |
213 |
-+ * full size of dst, not space left). At most siz-1 characters |
214 |
-+ * will be copied. Always NUL terminates (unless siz <= strlen(dst)). |
215 |
-+ * Returns strlen(src) + MIN(siz, strlen(initial dst)). |
216 |
-+ * If retval >= siz, truncation occurred. |
217 |
-+ */ |
218 |
-+size_t |
219 |
-+strlcat(dst, src, siz) |
220 |
-+ char *dst; |
221 |
-+ const char *src; |
222 |
-+ size_t siz; |
223 |
-+{ |
224 |
-+ char *d = dst; |
225 |
-+ const char *s = src; |
226 |
-+ size_t n = siz; |
227 |
-+ size_t dlen; |
228 |
-+ |
229 |
-+ /* Find the end of dst and adjust bytes left but don't go past end */ |
230 |
-+ while (n-- != 0 && *d != '\0') |
231 |
-+ d++; |
232 |
-+ dlen = d - dst; |
233 |
-+ n = siz - dlen; |
234 |
-+ |
235 |
-+ if (n == 0) |
236 |
-+ return(dlen + strlen(s)); |
237 |
-+ while (*s != '\0') { |
238 |
-+ if (n != 1) { |
239 |
-+ *d++ = *s; |
240 |
-+ n--; |
241 |
-+ } |
242 |
-+ s++; |
243 |
-+ } |
244 |
-+ *d = '\0'; |
245 |
-+ |
246 |
-+ return(dlen + (s - src)); /* count does not include NUL */ |
247 |
-+} |
248 |
|
249 |
diff --git a/mail-filter/milter-regex/files/milter-regex-1.8-rules.patch b/mail-filter/milter-regex/files/milter-regex-1.8-rules.patch |
250 |
deleted file mode 100644 |
251 |
index 7103e7e..00000000 |
252 |
--- a/mail-filter/milter-regex/files/milter-regex-1.8-rules.patch |
253 |
+++ /dev/null |
254 |
@@ -1,12 +0,0 @@ |
255 |
-diff -Nru milter-regex-1.8.orig/rules milter-regex-1.8/rules |
256 |
---- milter-regex-1.8.orig/rules 2007-01-11 16:49:52.000000000 +0100 |
257 |
-+++ milter-regex-1.8/rules 2010-09-24 22:11:46.000000000 +0200 |
258 |
-@@ -21,7 +21,7 @@ |
259 |
- header /From/ /ebay\.com/i |
260 |
- header /From/ /sabresfc11@aol\.com/i |
261 |
- header /From/ /ictp\.ch/i |
262 |
--header /From/ /(sgi.org.uk/ei |
263 |
-+header /From/ /(sgi.org.uk)/ei |
264 |
- header /From/ /tera-byte/i |
265 |
- header /From/ /google\.com/i |
266 |
- header /Subject/ /item/i |