summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-12-11 16:35:41 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-12-11 16:35:41 +0000
commitd1dbadeaaedee81a9f51edf798a453b44c69009f (patch)
treef8bbe12feab59ea47065b98e8fd3023d959b0504 /net-mail
parentinstall_cert already takes care of ROOT (diff)
downloadgentoo-2-d1dbadeaaedee81a9f51edf798a453b44c69009f.tar.gz
gentoo-2-d1dbadeaaedee81a9f51edf798a453b44c69009f.tar.bz2
gentoo-2-d1dbadeaaedee81a9f51edf798a453b44c69009f.zip
install_cert already takes care of ROOT
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/cyrus-imapd/ChangeLog6
-rw-r--r--net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild10
2 files changed, 9 insertions, 7 deletions
diff --git a/net-mail/cyrus-imapd/ChangeLog b/net-mail/cyrus-imapd/ChangeLog
index 9b67b13c894d..6421068d7b85 100644
--- a/net-mail/cyrus-imapd/ChangeLog
+++ b/net-mail/cyrus-imapd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/cyrus-imapd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.111 2007/12/09 19:35:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.112 2007/12/11 16:35:41 dertobi123 Exp $
+
+ 11 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ cyrus-imapd-2.3.9-r1.ebuild:
+ install_cert already takes care of ROOT
09 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
cyrus-imapd-2.3.9-r1.ebuild:
diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild
index a416c74488d6..e0c1e3eb1078 100644
--- a/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild
+++ b/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild,v 1.2 2007/12/09 19:35:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.3.9-r1.ebuild,v 1.3 2007/12/11 16:35:41 dertobi123 Exp $
inherit autotools eutils ssl-cert fixheadtails pam
@@ -220,11 +220,9 @@ src_install() {
pkg_postinst() {
# do not install server.{key,pem) if they are exist.
use ssl && {
- if [ ! -f "${ROOT:-/}"etc/ssl/cyrus/server.key ]; then
- dodir "${ROOT:-/}"etc/ssl/cyrus
- insinto "${ROOT:-/}"etc/ssl/cyrus/
- install_cert "${ROOT:-/}"etc/ssl/cyrus/server
- chown cyrus:mail "${ROOT:-/}"etc/ssl/cyrus/server.{key,pem}
+ if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then
+ install_cert /etc/ssl/cyrus/server
+ chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem}
fi
}