summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-11-23 08:22:16 +0000
committerNick Hadaway <raker@gentoo.org>2002-11-23 08:22:16 +0000
commit1b3134c3e040781d161ff8ae1a80ae7bb37859bb (patch)
tree579fb9b04399204984e6d7aaeaa6d69f06241d33 /net-mail/qmail
parentintial ebuild #10912 (diff)
downloadgentoo-2-1b3134c3e040781d161ff8ae1a80ae7bb37859bb.tar.gz
gentoo-2-1b3134c3e040781d161ff8ae1a80ae7bb37859bb.tar.bz2
gentoo-2-1b3134c3e040781d161ff8ae1a80ae7bb37859bb.zip
Small fix0r to only unpack ldap patch if ldap is in USE.
Diffstat (limited to 'net-mail/qmail')
-rw-r--r--net-mail/qmail/ChangeLog9
-rw-r--r--net-mail/qmail/qmail-1.03-r9.ebuild12
2 files changed, 17 insertions, 4 deletions
diff --git a/net-mail/qmail/ChangeLog b/net-mail/qmail/ChangeLog
index 197a7807e436..93cef7dc102b 100644
--- a/net-mail/qmail/ChangeLog
+++ b/net-mail/qmail/ChangeLog
@@ -1,9 +1,16 @@
# ChangeLog for net-mail/qmail
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/ChangeLog,v 1.7 2002/09/27 13:23:03 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/ChangeLog,v 1.8 2002/11/23 08:22:16 raker Exp $
*qmail-1.03-r9 (11 Sep 2002)
+ 23 Nov 2002; Nick Hadaway <raker@gentoo.org> qmail-1.03-r9.ebuild :
+ Cosmetic fix to only unpack ldap patch if ldap in USE.
+
+ 19 Nov 2002; Nick Hadaway <raker@gentoo.org> qmail-1.03-r9.ebuild :
+ Added fix for ssl enabled builds as noted in bug #10961. Thanks to
+ Andrey Ulanov for noticing the problem.
+
27 Sep 2002; Nick Hadaway <raker@gentoo.org>
files/1.03-r9/run-qmailsmtpd :
Changed softlimit from 2MB to 8MB due to the ssl enabled ucspi-tcp.
diff --git a/net-mail/qmail/qmail-1.03-r9.ebuild b/net-mail/qmail/qmail-1.03-r9.ebuild
index 85e80519af2e..8f758fd2e9fe 100644
--- a/net-mail/qmail/qmail-1.03-r9.ebuild
+++ b/net-mail/qmail/qmail-1.03-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r9.ebuild,v 1.3 2002/10/05 05:39:23 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r9.ebuild,v 1.4 2002/11/23 08:22:16 raker Exp $
IUSE="ssl ldap"
@@ -42,7 +42,9 @@ KEYWORDS="x86 ppc sparc sparc64"
src_unpack() {
unpack qmail-1.03.tar.gz
- unpack qmail-ldap-1.03-20020901.patch.gz
+
+ use ldap && unpack qmail-ldap-1.03-20020901.patch.gz
+
cd ${S}
echo "Applying big-todo patch..."
@@ -68,7 +70,11 @@ src_unpack() {
use ssl && patch < ${FILESDIR}/${PV}-${PR}/qmail-1.03-starttls-smtp-auth.patch || die "tls+auth patch failed"
fi
- echo "gcc ${CFLAGS}" > conf-cc
+ if [ `use ssl` ]; then
+ echo "gcc ${CFLAGS} -DTLS" > conf-cc
+ else
+ echo "gcc ${CFLAGS}" > conf-cc
+ fi
echo "gcc" > conf-ld
echo "500" > conf-spawn