diff options
author | Fabian Groffen <grobian@gentoo.org> | 2013-11-01 19:55:09 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2013-11-01 19:55:09 +0000 |
commit | ec83e6663f60f0dae1e2bd6beef61c3c7ef9b755 (patch) | |
tree | ef1876512fcabc897f347738a139b11fc09bd120 /mail-mta | |
parent | Remove old. (diff) | |
download | gentoo-2-ec83e6663f60f0dae1e2bd6beef61c3c7ef9b755.tar.gz gentoo-2-ec83e6663f60f0dae1e2bd6beef61c3c7ef9b755.tar.bz2 gentoo-2-ec83e6663f60f0dae1e2bd6beef61c3c7ef9b755.zip |
Make support for PKCS#11 optional with USE=gnutls, cleanup some legacy code
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/exim/ChangeLog | 6 | ||||
-rw-r--r-- | mail-mta/exim/exim-4.82.ebuild | 18 | ||||
-rw-r--r-- | mail-mta/exim/metadata.xml | 1 |
3 files changed, 12 insertions, 13 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog index 47f947e8c6a8..7aee4d9199e5 100644 --- a/mail-mta/exim/ChangeLog +++ b/mail-mta/exim/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/exim # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.268 2013/10/30 00:59:22 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.269 2013/11/01 19:55:09 grobian Exp $ + + 01 Nov 2013; Fabian Groffen <grobian@gentoo.org> exim-4.82.ebuild, + metadata.xml: + Make support for PKCS#11 optional with USE=gnutls, cleanup some legacy code 30 Oct 2013; Jeroen Roovers <jer@gentoo.org> exim-4.82.ebuild: Marked ~hppa (bug #489676). diff --git a/mail-mta/exim/exim-4.82.ebuild b/mail-mta/exim/exim-4.82.ebuild index bb12d27962f4..a91c872b46b7 100644 --- a/mail-mta/exim/exim-4.82.ebuild +++ b/mail-mta/exim/exim-4.82.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.82.ebuild,v 1.2 2013/10/30 00:59:22 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.82.ebuild,v 1.3 2013/11/01 19:55:09 grobian Exp $ -EAPI="4" +EAPI="5" inherit eutils toolchain-funcs multilib pam systemd -IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb perl mbx X nis selinux syslog spf srs gnutls sqlite doc dovecot-sasl radius maildir +dkim dcc dsn dlfunc dmarc" -REQUIRED_USE="spf? ( exiscan-acl ) srs? ( exiscan-acl ) dmarc? ( spf dkim )" +IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb perl mbx X nis selinux syslog spf srs gnutls pkcs11 sqlite doc dovecot-sasl radius maildir +dkim dcc dsn dlfunc dmarc" +REQUIRED_USE="spf? ( exiscan-acl ) srs? ( exiscan-acl ) dmarc? ( spf dkim ) pkcs11? ( gnutls )" DSN_EXIM_V=482 # local version patched by us DSN_V=1_3 @@ -31,7 +31,7 @@ COMMON_DEPEND=">=sys-apps/sed-4.0.5 pam? ( virtual/pam ) tcpd? ( sys-apps/tcp-wrappers ) ssl? ( dev-libs/openssl ) - gnutls? ( net-libs/gnutls[pkcs11] + gnutls? ( net-libs/gnutls[pkcs11?] dev-libs/libtasn1 ) ldap? ( >=net-nds/openldap-2.0.7 ) mysql? ( virtual/mysql ) @@ -95,13 +95,6 @@ src_prepare() { epatch "${FILESDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch fi - if use ipv6 ; then - # set a sensible default, bug #448314 - sed -i \ - -e '/^hostlist\s\+relay_from_hosts/s/\(127.0.0.1\)/\1 : ::::1/' \ - src/configure.default || die - fi - # user Exim believes it should be MAILUSER=mail MAILGROUP=mail @@ -215,6 +208,7 @@ src_configure() { if use gnutls; then echo "USE_GNUTLS=yes" >> Makefile echo "USE_GNUTLS_PC=gnutls" >> Makefile + use pkcs11 || echo "AVOID_GNUTLS_PKCS11=yes" >> Makefile else echo "USE_OPENSSL_PC=openssl" >> Makefile fi diff --git a/mail-mta/exim/metadata.xml b/mail-mta/exim/metadata.xml index ea108d678bca..e7809e9adbc8 100644 --- a/mail-mta/exim/metadata.xml +++ b/mail-mta/exim/metadata.xml @@ -35,6 +35,7 @@ <flag name='mbx'>Adds support for UW's mbx format</flag> <flag name='spf'>Adds support for Sender Policy Framework</flag> <flag name='srs'>Adds support for Sender Rewriting Scheme</flag> + <flag name='pkcs11'>Require pkcs11 support in <pkg>net-libs/gnutls</pkg> with USE=gnutls</flag> </use> <upstream> <bugs-to>http://bugs.exim.org/</bugs-to> |