commit:     f9b0c391e099a06a88ba5500736391ac20b55418
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 24 07:43:35 2015 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Thu Dec 24 07:43:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b0c391

Fix make check failure due to missing files

Package-Manager: portage-2.2.26

 net-mail/mailutils/files/hdr.at             | 36 ++++++++++++++
 net-mail/mailutils/files/nohdr.at           | 26 ++++++++++
 net-mail/mailutils/files/twomsg.at          | 73 +++++++++++++++++++++++++++++
 net-mail/mailutils/files/weed.at            | 29 ++++++++++++
 net-mail/mailutils/mailutils-2.99.99.ebuild |  3 +-
 5 files changed, 166 insertions(+), 1 deletion(-)

diff --git a/net-mail/mailutils/files/hdr.at b/net-mail/mailutils/files/hdr.at
new file mode 100644
index 0000000..7c9d5e8
--- /dev/null
+++ b/net-mail/mailutils/files/hdr.at
@@ -0,0 +1,36 @@
+# This file is part of GNU Mailutils. -*- Autotest -*-
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc.
+#
+# GNU Mailutils is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3, or (at
+# your option) any later version.
+#
+# GNU Mailutils is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Mailutils.  If not, see <http://www.gnu.org/licenses/>.
+
+READMSGTEST([readmsg -h],[hdr],
+[readmsg -h SOMETHING],
+[0],
+[From [email protected]  Fri Dec 28 23:28:09 2001
+Received: (from [email protected]) 
+       by dontmailme.org id fERKR9N16790
+       for [email protected]; Fri, 28 Dec 2001 22:18:08 +0200
+Date: Fri, 28 Dec 2001 23:28:08 +0200
+From: Bar <[email protected]>
+To: Foo Bar <[email protected]>
+Message-Id: <[email protected]>
+Subject: Re: Jabberwocky
+
+It seems very pretty, but it's *rather* hard to understand!'
+Somehow it seems to fill my head with ideas -- only I don't
+exactly know what they are!  However, SOMEBODY killed SOMETHING:
+that's clear, at any rate...
+
+
+])

diff --git a/net-mail/mailutils/files/nohdr.at 
b/net-mail/mailutils/files/nohdr.at
new file mode 100644
index 0000000..4caf855
--- /dev/null
+++ b/net-mail/mailutils/files/nohdr.at
@@ -0,0 +1,26 @@
+# This file is part of GNU Mailutils. -*- Autotest -*-
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc.
+#
+# GNU Mailutils is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3, or (at
+# your option) any later version.
+#
+# GNU Mailutils is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Mailutils.  If not, see <http://www.gnu.org/licenses/>.
+
+READMSGTEST([readmsg -n],[nohdr],
+[readmsg -n SOMETHING],
+[0],
+[It seems very pretty, but it's *rather* hard to understand!'
+Somehow it seems to fill my head with ideas -- only I don't
+exactly know what they are!  However, SOMEBODY killed SOMETHING:
+that's clear, at any rate...
+
+
+])

diff --git a/net-mail/mailutils/files/twomsg.at 
b/net-mail/mailutils/files/twomsg.at
new file mode 100644
index 0000000..20af661
--- /dev/null
+++ b/net-mail/mailutils/files/twomsg.at
@@ -0,0 +1,73 @@
+# This file is part of GNU Mailutils. -*- Autotest -*-
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc.
+#
+# GNU Mailutils is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3, or (at
+# your option) any later version.
+#
+# GNU Mailutils is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Mailutils.  If not, see <http://www.gnu.org/licenses/>.
+
+READMSGTEST([readmsg 1 2],[twomsg],
+[1 2],
+[0],
+[Date: Fri, 28 Dec 2001 22:18:08 +0200
+From: Foo Bar <[email protected]>
+To: Bar <[email protected]>
+Subject: Jabberwocky
+
+`Twas brillig, and the slithy toves
+Did gyre and gimble in the wabe;
+All mimsy were the borogoves,
+And the mome raths outgrabe.
+
+`Beware the Jabberwock, my son!
+The jaws that bite, the claws that catch!
+Beware the Jujub bird, and shun
+The frumious Bandersnatch!'
+
+He took his vorpal sword in hand:
+Long time the manxome foe he sought --
+So rested he by the Tumtum gree,
+And stood awhile in thought.
+
+And as in uffish thought he stood,
+The Jabberwock, with eyes of flame,
+Came whiffling through the tulgey wook,
+And burbled as it came!
+
+One, two!  One, two!  And through and through
+The vorpal blade went snicker-snack!
+He left it dead, and with its head
+He went galumphing back.
+
+`And has thou slain the Jabberwock?
+Come to my arms, my beamish boy!
+O frabjous day!  Calloh!  Callay!
+He chortled in his joy.
+
+`Twas brillig, and the slithy toves
+Did gyre and gimble in the wabe;
+All mimsy were the borogoves,
+And the mome raths outgrabe.
+
+
+Date: Fri, 28 Dec 2001 23:28:08 +0200
+From: Bar <[email protected]>
+To: Foo Bar <[email protected]>
+Subject: Re: Jabberwocky
+
+It seems very pretty, but it's *rather* hard to understand!'
+Somehow it seems to fill my head with ideas -- only I don't
+exactly know what they are!  However, SOMEBODY killed SOMETHING:
+that's clear, at any rate...
+
+
+])
+

diff --git a/net-mail/mailutils/files/weed.at b/net-mail/mailutils/files/weed.at
new file mode 100644
index 0000000..ec82c6c
--- /dev/null
+++ b/net-mail/mailutils/files/weed.at
@@ -0,0 +1,29 @@
+# This file is part of GNU Mailutils. -*- Autotest -*-
+# Copyright (C) 2007-2012, 2014-2015 Free Software Foundation, Inc.
+#
+# GNU Mailutils is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3, or (at
+# your option) any later version.
+#
+# GNU Mailutils is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Mailutils.  If not, see <http://www.gnu.org/licenses/>.
+
+READMSGTEST([readmsg -w],[weed],
+[-w date,subject SOMETHING],
+[0],
+[Date: Fri, 28 Dec 2001 23:28:08 +0200
+Subject: Re: Jabberwocky
+
+It seems very pretty, but it's *rather* hard to understand!'
+Somehow it seems to fill my head with ideas -- only I don't
+exactly know what they are!  However, SOMEBODY killed SOMETHING:
+that's clear, at any rate...
+
+
+])

diff --git a/net-mail/mailutils/mailutils-2.99.99.ebuild 
b/net-mail/mailutils/mailutils-2.99.99.ebuild
index 28d0255..4b550a1 100644
--- a/net-mail/mailutils/mailutils-2.99.99.ebuild
+++ b/net-mail/mailutils/mailutils-2.99.99.ebuild
@@ -62,6 +62,8 @@ src_prepare() {
        epatch "${FILESDIR}/${PN}-tcp_wrappers.patch"
        # bug 567976
        sed -i -e /AM_GNU_GETTEXT_VERSION/s/0.18/0.19/ configure.ac || die
+       # add missing tests so that make check doesn't fail
+       cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die
        if use mysql; then
                sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
                        sql/Makefile.am || die
@@ -73,7 +75,6 @@ src_configure() {
        append-flags -fno-strict-aliasing
 
        # maildir is the Gentoo default
-       # but fails tests. So set it in config file instead.
        econf MU_DEFAULT_SCHEME=maildir \
                CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
                $(use_with berkdb berkeley-db) \

Reply via email to