summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-07 20:54:05 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-07 20:54:05 +0000
commitee6a2e9657858c37e768cc37b5c5d67387df3e9a (patch)
treed006ab91ff566f3feaf5db1e6ddec448e3d55f4f /mail-mta/qmail-ldap
parent~amd64 (diff)
downloadhistorical-ee6a2e9657858c37e768cc37b5c5d67387df3e9a.tar.gz
historical-ee6a2e9657858c37e768cc37b5c5d67387df3e9a.tar.bz2
historical-ee6a2e9657858c37e768cc37b5c5d67387df3e9a.zip
Fix use invocation
Diffstat (limited to 'mail-mta/qmail-ldap')
-rw-r--r--mail-mta/qmail-ldap/ChangeLog6
-rw-r--r--mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild6
-rw-r--r--mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild6
3 files changed, 11 insertions, 7 deletions
diff --git a/mail-mta/qmail-ldap/ChangeLog b/mail-mta/qmail-ldap/ChangeLog
index 856955ead635..5f3a21f47e64 100644
--- a/mail-mta/qmail-ldap/ChangeLog
+++ b/mail-mta/qmail-ldap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/qmail-ldap
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail-ldap/ChangeLog,v 1.1 2004/05/30 10:52:45 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail-ldap/ChangeLog,v 1.2 2004/06/07 20:52:11 agriffis Exp $
+
+ 07 Jun 2004; Aron Griffis <agriffis@gentoo.org> qmail-ldap-1.03-r1.ebuild,
+ qmail-ldap-1.03-r2.ebuild:
+ Fix use invocation
*qmail-ldap-1.03-r4 (06 Apr 2004)
diff --git a/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild b/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild
index 9357e83d9e17..b7a79c6ca53e 100644
--- a/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild
+++ b/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.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/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild,v 1.1 2004/05/30 10:52:45 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail-ldap/qmail-ldap-1.03-r1.ebuild,v 1.2 2004/06/07 20:52:11 agriffis Exp $
IUSE="ssl"
@@ -77,7 +77,7 @@ src_unpack() {
#SMTP_AUTH PATCH
epatch ${DISTDIR}/smtp-auth-20030301.patch || die "SMTP_AUTH patch did not apply"
- if [ `use ssl` ]; then
+ if use ssl; then
use ssl && { epatch ${FILESDIR}/tls.patch.bz2 || die "tls+auth patch failed"; }
fi
@@ -310,7 +310,7 @@ pkg_postinst() {
echo -e "\e[32;01m ldap settings and add the qmail.schema to your slapd.conf. For sample ldifs,\033[0m"
echo -e "\e[32;01m please check /usr/share/doc/${PN}-${PV}-${PR}/samples.ldif.gz \033[0m"
- if [ `use ssl` ]; then
+ if use ssl; then
echo "Creating a self-signed ssl-cert:"
/usr/bin/openssl req -new -x509 -nodes -out /var/qmail/control/servercert.pem -days 366 -keyout /var/qmail/control/servercert.pem
chmod 640 /var/qmail/control/servercert.pem
diff --git a/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild b/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild
index 842187a98ae9..f89b9b4e9ed1 100644
--- a/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild
+++ b/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.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/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild,v 1.1 2004/05/30 10:52:45 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail-ldap/qmail-ldap-1.03-r2.ebuild,v 1.2 2004/06/07 20:52:11 agriffis Exp $
IUSE="ssl"
@@ -73,7 +73,7 @@ src_unpack() {
# If you really want, uncomment it yourself, as mail really should be in GMT
#epatch ${DISTDIR}/qmail-date-localtime.patch.txt
- if [ `use ssl` ]; then
+ if use ssl; then
epatch ${DISTDIR}/${P}-r2-tls.patch.bz2 || die "tls+auth patch failed"
fi
@@ -315,7 +315,7 @@ pkg_postinst() {
echo -e "\e[32;01m slapd.conf. For sample ldifs, please check \033[0m"
echo -e "\e[32;01m /usr/share/doc/${PN}-${PV}-${PR}/samples.ldif.gz \033[0m"
- if [ `use ssl` ]; then
+ if use ssl; then
echo "Creating a self-signed ssl-cert:"
/usr/bin/openssl req -new -x509 -nodes -out /var/qmail/control/servercert.pem -days 366 -keyout /var/qmail/control/servercert.pem
chmod 640 /var/qmail/control/servercert.pem