diff options
author | Max Kalika <max@gentoo.org> | 2004-01-28 15:38:10 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2004-01-28 15:38:10 +0000 |
commit | 99ebebfbe0c11167ca092908057ad7d59d734573 (patch) | |
tree | 3ab3cd0796573461c4283dfdb44b016e9729134c /dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild | |
parent | Version bumped (diff) | |
download | gentoo-2-99ebebfbe0c11167ca092908057ad7d59d734573.tar.gz gentoo-2-99ebebfbe0c11167ca092908057ad7d59d734573.tar.bz2 gentoo-2-99ebebfbe0c11167ca092908057ad7d59d734573.zip |
Fix default port name for the rimap authentication mechanism (Gentoo uses 'imap2' instead of 'imap'). Fixes bug 34272.
Diffstat (limited to 'dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild')
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild index 9afc15aa70ac..816c8e094b2b 100644 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.4 2004/01/28 14:17:44 max Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.5 2004/01/28 15:38:10 max Exp $ inherit eutils flag-o-matic @@ -32,7 +32,12 @@ src_unpack() { unpack ${A} && cd "${S}" # Fix broken include. - sed -e 's:sasl/sasl.h:sasl.h:' -i saslauthd/lak.c || die "sed failed" + sed -e 's:sasl/sasl.h:sasl.h:' \ + -i saslauthd/lak.c || die "sed failed" + + # Fix default port name for rimap auth mechanism. + sed -e '/define DEFAULT_REMOTE_SERVICE/s:imap:imap2:' \ + -i saslauthd/auth_rimap.c || die "sed failed" # DB4 detection and versioned symbols. epatch "${FILESDIR}/cyrus-sasl-2.1.17-db4.patch" |