diff options
author | 2017-03-27 01:06:18 -0400 | |
---|---|---|
committer | 2017-03-27 01:07:38 -0400 | |
commit | da8c6dde5207a230c73ad433e417f1772697a81a (patch) | |
tree | 99c376b756315dace8c08ceab1fe3991003b8eee /net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch | |
parent | app-emulation/qemu: require app-accessibility/brltty[api], bug #613138 (diff) | |
download | gentoo-da8c6dde5207a230c73ad433e417f1772697a81a.tar.gz gentoo-da8c6dde5207a230c73ad433e417f1772697a81a.tar.bz2 gentoo-da8c6dde5207a230c73ad433e417f1772697a81a.zip |
net-mail/courier-imap: new EAPI=6 version to fix a few bugs.
This new version contains upstream fixes for the ongoing removal of
the SSL3 protocol. That should fix bug 593064, which otherwise would
require SSL3 support in OpenSSL. The new version also renames
"maildirmake" (and its man page) to "courier-maildirmake" to avoid a
collision with mail-mta/netqmail (bug 482098).
During the upgrade, the ebuild was updated to use EAPI=6. The patches
it uses were bumped to be -p1 compatible, and now the PATCHES array
and eapply are used in src_prepare. The eutils and multilib eclasses
were dropped, since they were only used for epatch and get_libdir.
I also tried to clean up a few bits in src_install. I changed one use
of $WORKDIR/tmp to $T, and tried to avoid changing directories so much
(by spelling out the target paths). I removed a recursive dohtml, and
replaced it with a few calls to dodoc. I also fixed a bare "chmod" to
use fperms.
Gentoo-Bug: 482098
Gentoo-Bug: 593064
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch')
-rw-r--r-- | net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch b/net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch new file mode 100644 index 000000000000..e89c5618f842 --- /dev/null +++ b/net-mail/courier-imap/files/courier-imap-4.17-db4-configure.ac.patch @@ -0,0 +1,33 @@ +--- a/configure.ac.orig 2013-09-28 19:44:24.000000000 +0200 ++++ b/configure.ac 2013-11-22 10:46:34.910990069 +0100 +@@ -180,15 +180,21 @@ + if test "$db" != "gdbm" + then + +- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], +- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], +- AC_CHECK_LIB(db, db_env_create, +- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) +- )) +- +- AC_CHECK_FUNC(dbopen, HAVE_BDB=1) +- AC_CHECK_FUNC(db_open, HAVE_BDB=1) +- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1) ++for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db ++ do ++ AC_CHECK_LIB($dbname, db_create_4004, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4003, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], ++ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))))) ++ done ++AC_CHECK_FUNC(db_create_4004, HAVE_BDB=1) ++AC_CHECK_FUNC(db_create_4003, HAVE_BDB=1) ++AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1) ++AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1) ++AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1) ++AC_CHECK_FUNC(db_create, HAVE_BDB=1) + fi + + LIBS="$saveLIBS" |