diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2005-10-19 19:51:54 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2005-10-19 19:51:54 +0000 |
commit | a15110df510aa955a8cae6a8a8e0810cb80ecd8c (patch) | |
tree | aa292b9a2291d185e6985522a3fd1f80c6555eba /mail-mta | |
parent | Marked stable on amd64 (diff) | |
download | historical-a15110df510aa955a8cae6a8a8e0810cb80ecd8c.tar.gz historical-a15110df510aa955a8cae6a8a8e0810cb80ecd8c.tar.bz2 historical-a15110df510aa955a8cae6a8a8e0810cb80ecd8c.zip |
Added the gencertdaily use flag to only generate the SSL certificates daily.
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/qmail/ChangeLog | 5 | ||||
-rw-r--r-- | mail-mta/qmail/Manifest | 4 | ||||
-rw-r--r-- | mail-mta/qmail/qmail-1.03-r16.ebuild | 16 |
3 files changed, 17 insertions, 8 deletions
diff --git a/mail-mta/qmail/ChangeLog b/mail-mta/qmail/ChangeLog index c82b0116f7b0..2ee653b981c6 100644 --- a/mail-mta/qmail/ChangeLog +++ b/mail-mta/qmail/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for mail-mta/qmail # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.64 2005/10/17 20:29:14 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.65 2005/10/19 19:51:54 hansmi Exp $ + + 19 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> qmail-1.03-r16.ebuild: + Added the gencertdaily use flag to only generate the SSL certificates daily. 17 Oct 2005; Michael Hanselmann <hansmi@gentoo.org> qmail-1.03-r15.ebuild, qmail-1.03-r16.ebuild: diff --git a/mail-mta/qmail/Manifest b/mail-mta/qmail/Manifest index d32b9b70b8d5..1176639edff3 100644 --- a/mail-mta/qmail/Manifest +++ b/mail-mta/qmail/Manifest @@ -1,4 +1,4 @@ -MD5 8294d44e49e1552c471d227dc7da0108 ChangeLog 31731 +MD5 23e7888ba5bd3f91cbd7a64cec487c31 ChangeLog 31888 MD5 cc5c84d3a0837007b8af4a1f2e657872 files/1.03-r14/auth-after-tls-only.patch 2151 MD5 3eb989291a872a5ff2f5d40d6eba92d8 files/1.03-r14/maildir-quota-fix.patch 547 MD5 b8f5d6adfb941c184715695cc58a5c72 files/1.03-r14/nullenvsender-recipcount.tls.patch 1616 @@ -68,4 +68,4 @@ MD5 2d3271eba444e0c0ad2bd39626ba9156 files/tcp.qmtp.sample 821 MD5 fe86ebf974cc7cb1aaddff8311ae89bc files/tcp.smtp.sample 4166 MD5 e60e7e9ed6a2c7d3a2ebcee6a6af429e metadata.xml 277 MD5 0529d296e1768b0fd380db59728d053a qmail-1.03-r15.ebuild 18774 -MD5 8e3a4fc19def388bbf8a45408b4e8b17 qmail-1.03-r16.ebuild 21555 +MD5 52798d851a1ffe5ba66897eb63d9f553 qmail-1.03-r16.ebuild 21661 diff --git a/mail-mta/qmail/qmail-1.03-r16.ebuild b/mail-mta/qmail/qmail-1.03-r16.ebuild index 5d1553b88b5c..430854bdb556 100644 --- a/mail-mta/qmail/qmail-1.03-r16.ebuild +++ b/mail-mta/qmail/qmail-1.03-r16.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.40 2005/10/17 20:29:14 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.41 2005/10/19 19:51:54 hansmi Exp $ inherit toolchain-funcs eutils fixheadtails flag-o-matic -IUSE="ssl noauthcram notlsbeforeauth selinux logmail mailwrapper" +IUSE="ssl noauthcram notlsbeforeauth selinux logmail mailwrapper gencertdaily" DESCRIPTION="A modern replacement for sendmail which uses maildirs and includes SSL/TLS, AUTH SMTP, and queue optimization" HOMEPAGE="http://www.qmail.org/ http://members.elysium.pl/brush/qmail-smtpd-auth/ @@ -69,6 +69,12 @@ MY_PVR=${PV}-r14 TCPRULES_DIR=/etc/tcprules.d +if use gencertdaily; then + CRON_FOLDER=cron.daily +else + CRON_FOLDER=cron.hourly +fi + src_unpack() { # unpack the initial stuff unpack ${P}.tar.gz @@ -456,9 +462,9 @@ src_install() { einfo "SSL Certificate creation script" dobin ${FILESDIR}/mkservercert einfo "RSA key generation cronjob" - insinto /etc/cron.hourly + insinto /etc/${CRON_FOLDER} doins ${FILESDIR}/qmail-genrsacert.sh - chmod +x ${D}/etc/cron.hourly/qmail-genrsacert.sh + chmod +x ${D}/etc/${CRON_FOLDER}/qmail-genrsacert.sh # for some files keepdir /var/qmail/control/tlshosts/ @@ -616,7 +622,7 @@ pkg_config() { if use ssl; then ebegin "Generating RSA keys for SSL/TLS, this can take some time" - ${ROOT}etc/cron.hourly/qmail-genrsacert.sh + ${ROOT}etc/${CRON_FOLDER}/qmail-genrsacert.sh eend $? einfo "Creating a self-signed ssl-certificate:" /var/qmail/bin/mkservercert |