1 |
commit: f9b0c391e099a06a88ba5500736391ac20b55418 |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 07:43:35 2015 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 07:43:35 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b0c391 |
7 |
|
8 |
Fix make check failure due to missing files |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-mail/mailutils/files/hdr.at | 36 ++++++++++++++ |
13 |
net-mail/mailutils/files/nohdr.at | 26 ++++++++++ |
14 |
net-mail/mailutils/files/twomsg.at | 73 +++++++++++++++++++++++++++++ |
15 |
net-mail/mailutils/files/weed.at | 29 ++++++++++++ |
16 |
net-mail/mailutils/mailutils-2.99.99.ebuild | 3 +- |
17 |
5 files changed, 166 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/net-mail/mailutils/files/hdr.at b/net-mail/mailutils/files/hdr.at |
20 |
new file mode 100644 |
21 |
index 0000000..7c9d5e8 |
22 |
--- /dev/null |
23 |
+++ b/net-mail/mailutils/files/hdr.at |
24 |
@@ -0,0 +1,36 @@ |
25 |
+# This file is part of GNU Mailutils. -*- Autotest -*- |
26 |
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc. |
27 |
+# |
28 |
+# GNU Mailutils is free software; you can redistribute it and/or |
29 |
+# modify it under the terms of the GNU General Public License as |
30 |
+# published by the Free Software Foundation; either version 3, or (at |
31 |
+# your option) any later version. |
32 |
+# |
33 |
+# GNU Mailutils is distributed in the hope that it will be useful, but |
34 |
+# WITHOUT ANY WARRANTY; without even the implied warranty of |
35 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
36 |
+# General Public License for more details. |
37 |
+# |
38 |
+# You should have received a copy of the GNU General Public License |
39 |
+# along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. |
40 |
+ |
41 |
+READMSGTEST([readmsg -h],[hdr], |
42 |
+[readmsg -h SOMETHING], |
43 |
+[0], |
44 |
+[From bar@××××××××××.org Fri Dec 28 23:28:09 2001 |
45 |
+Received: (from bar@××××××××××.org) |
46 |
+ by dontmailme.org id fERKR9N16790 |
47 |
+ for foobar@×××××××××××.net; Fri, 28 Dec 2001 22:18:08 +0200 |
48 |
+Date: Fri, 28 Dec 2001 23:28:08 +0200 |
49 |
+From: Bar <bar@××××××××××.org> |
50 |
+To: Foo Bar <foobar@×××××××××××.net> |
51 |
+Message-Id: <200112232808.fERKR9N16790@××××××××××.org> |
52 |
+Subject: Re: Jabberwocky |
53 |
+ |
54 |
+It seems very pretty, but it's *rather* hard to understand!' |
55 |
+Somehow it seems to fill my head with ideas -- only I don't |
56 |
+exactly know what they are! However, SOMEBODY killed SOMETHING: |
57 |
+that's clear, at any rate... |
58 |
+ |
59 |
+ |
60 |
+]) |
61 |
|
62 |
diff --git a/net-mail/mailutils/files/nohdr.at b/net-mail/mailutils/files/nohdr.at |
63 |
new file mode 100644 |
64 |
index 0000000..4caf855 |
65 |
--- /dev/null |
66 |
+++ b/net-mail/mailutils/files/nohdr.at |
67 |
@@ -0,0 +1,26 @@ |
68 |
+# This file is part of GNU Mailutils. -*- Autotest -*- |
69 |
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc. |
70 |
+# |
71 |
+# GNU Mailutils is free software; you can redistribute it and/or |
72 |
+# modify it under the terms of the GNU General Public License as |
73 |
+# published by the Free Software Foundation; either version 3, or (at |
74 |
+# your option) any later version. |
75 |
+# |
76 |
+# GNU Mailutils is distributed in the hope that it will be useful, but |
77 |
+# WITHOUT ANY WARRANTY; without even the implied warranty of |
78 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
79 |
+# General Public License for more details. |
80 |
+# |
81 |
+# You should have received a copy of the GNU General Public License |
82 |
+# along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. |
83 |
+ |
84 |
+READMSGTEST([readmsg -n],[nohdr], |
85 |
+[readmsg -n SOMETHING], |
86 |
+[0], |
87 |
+[It seems very pretty, but it's *rather* hard to understand!' |
88 |
+Somehow it seems to fill my head with ideas -- only I don't |
89 |
+exactly know what they are! However, SOMEBODY killed SOMETHING: |
90 |
+that's clear, at any rate... |
91 |
+ |
92 |
+ |
93 |
+]) |
94 |
|
95 |
diff --git a/net-mail/mailutils/files/twomsg.at b/net-mail/mailutils/files/twomsg.at |
96 |
new file mode 100644 |
97 |
index 0000000..20af661 |
98 |
--- /dev/null |
99 |
+++ b/net-mail/mailutils/files/twomsg.at |
100 |
@@ -0,0 +1,73 @@ |
101 |
+# This file is part of GNU Mailutils. -*- Autotest -*- |
102 |
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc. |
103 |
+# |
104 |
+# GNU Mailutils is free software; you can redistribute it and/or |
105 |
+# modify it under the terms of the GNU General Public License as |
106 |
+# published by the Free Software Foundation; either version 3, or (at |
107 |
+# your option) any later version. |
108 |
+# |
109 |
+# GNU Mailutils is distributed in the hope that it will be useful, but |
110 |
+# WITHOUT ANY WARRANTY; without even the implied warranty of |
111 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
112 |
+# General Public License for more details. |
113 |
+# |
114 |
+# You should have received a copy of the GNU General Public License |
115 |
+# along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. |
116 |
+ |
117 |
+READMSGTEST([readmsg 1 2],[twomsg], |
118 |
+[1 2], |
119 |
+[0], |
120 |
+[Date: Fri, 28 Dec 2001 22:18:08 +0200 |
121 |
+From: Foo Bar <foobar@×××××××××××.net> |
122 |
+To: Bar <bar@××××××××××.org> |
123 |
+Subject: Jabberwocky |
124 |
+ |
125 |
+`Twas brillig, and the slithy toves |
126 |
+Did gyre and gimble in the wabe; |
127 |
+All mimsy were the borogoves, |
128 |
+And the mome raths outgrabe. |
129 |
+ |
130 |
+`Beware the Jabberwock, my son! |
131 |
+The jaws that bite, the claws that catch! |
132 |
+Beware the Jujub bird, and shun |
133 |
+The frumious Bandersnatch!' |
134 |
+ |
135 |
+He took his vorpal sword in hand: |
136 |
+Long time the manxome foe he sought -- |
137 |
+So rested he by the Tumtum gree, |
138 |
+And stood awhile in thought. |
139 |
+ |
140 |
+And as in uffish thought he stood, |
141 |
+The Jabberwock, with eyes of flame, |
142 |
+Came whiffling through the tulgey wook, |
143 |
+And burbled as it came! |
144 |
+ |
145 |
+One, two! One, two! And through and through |
146 |
+The vorpal blade went snicker-snack! |
147 |
+He left it dead, and with its head |
148 |
+He went galumphing back. |
149 |
+ |
150 |
+`And has thou slain the Jabberwock? |
151 |
+Come to my arms, my beamish boy! |
152 |
+O frabjous day! Calloh! Callay! |
153 |
+He chortled in his joy. |
154 |
+ |
155 |
+`Twas brillig, and the slithy toves |
156 |
+Did gyre and gimble in the wabe; |
157 |
+All mimsy were the borogoves, |
158 |
+And the mome raths outgrabe. |
159 |
+ |
160 |
+ |
161 |
+Date: Fri, 28 Dec 2001 23:28:08 +0200 |
162 |
+From: Bar <bar@××××××××××.org> |
163 |
+To: Foo Bar <foobar@×××××××××××.net> |
164 |
+Subject: Re: Jabberwocky |
165 |
+ |
166 |
+It seems very pretty, but it's *rather* hard to understand!' |
167 |
+Somehow it seems to fill my head with ideas -- only I don't |
168 |
+exactly know what they are! However, SOMEBODY killed SOMETHING: |
169 |
+that's clear, at any rate... |
170 |
+ |
171 |
+ |
172 |
+]) |
173 |
+ |
174 |
|
175 |
diff --git a/net-mail/mailutils/files/weed.at b/net-mail/mailutils/files/weed.at |
176 |
new file mode 100644 |
177 |
index 0000000..ec82c6c |
178 |
--- /dev/null |
179 |
+++ b/net-mail/mailutils/files/weed.at |
180 |
@@ -0,0 +1,29 @@ |
181 |
+# This file is part of GNU Mailutils. -*- Autotest -*- |
182 |
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc. |
183 |
+# |
184 |
+# GNU Mailutils is free software; you can redistribute it and/or |
185 |
+# modify it under the terms of the GNU General Public License as |
186 |
+# published by the Free Software Foundation; either version 3, or (at |
187 |
+# your option) any later version. |
188 |
+# |
189 |
+# GNU Mailutils is distributed in the hope that it will be useful, but |
190 |
+# WITHOUT ANY WARRANTY; without even the implied warranty of |
191 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
192 |
+# General Public License for more details. |
193 |
+# |
194 |
+# You should have received a copy of the GNU General Public License |
195 |
+# along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. |
196 |
+ |
197 |
+READMSGTEST([readmsg -w],[weed], |
198 |
+[-w date,subject SOMETHING], |
199 |
+[0], |
200 |
+[Date: Fri, 28 Dec 2001 23:28:08 +0200 |
201 |
+Subject: Re: Jabberwocky |
202 |
+ |
203 |
+It seems very pretty, but it's *rather* hard to understand!' |
204 |
+Somehow it seems to fill my head with ideas -- only I don't |
205 |
+exactly know what they are! However, SOMEBODY killed SOMETHING: |
206 |
+that's clear, at any rate... |
207 |
+ |
208 |
+ |
209 |
+]) |
210 |
|
211 |
diff --git a/net-mail/mailutils/mailutils-2.99.99.ebuild b/net-mail/mailutils/mailutils-2.99.99.ebuild |
212 |
index 28d0255..4b550a1 100644 |
213 |
--- a/net-mail/mailutils/mailutils-2.99.99.ebuild |
214 |
+++ b/net-mail/mailutils/mailutils-2.99.99.ebuild |
215 |
@@ -62,6 +62,8 @@ src_prepare() { |
216 |
epatch "${FILESDIR}/${PN}-tcp_wrappers.patch" |
217 |
# bug 567976 |
218 |
sed -i -e /AM_GNU_GETTEXT_VERSION/s/0.18/0.19/ configure.ac || die |
219 |
+ # add missing tests so that make check doesn't fail |
220 |
+ cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die |
221 |
if use mysql; then |
222 |
sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ |
223 |
sql/Makefile.am || die |
224 |
@@ -73,7 +75,6 @@ src_configure() { |
225 |
append-flags -fno-strict-aliasing |
226 |
|
227 |
# maildir is the Gentoo default |
228 |
- # but fails tests. So set it in config file instead. |
229 |
econf MU_DEFAULT_SCHEME=maildir \ |
230 |
CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ |
231 |
$(use_with berkdb berkeley-db) \ |