mail-filter/spamdyke: rename USE=tls to ssl for consistency.
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 11 Oct 2015 01:00:20 +0000 (21:00 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 11 Oct 2015 01:00:20 +0000 (21:00 -0400)
Package-Manager: portage-2.2.20.1

mail-filter/spamdyke/metadata.xml
mail-filter/spamdyke/spamdyke-4.3.0-r1.ebuild
mail-filter/spamdyke/spamdyke-4.3.0.ebuild

index 151d9449c37c7deecd19df5956ec88bbf92f6293..e8a572fa95e40dc5d8388a11ab678875483ba5da 100644 (file)
@@ -13,6 +13,6 @@ features to enhance qmail.
 Best of all, using spamdyke does not require patching or recompiling qmail!
 </longdescription>
 <use>
-       <flag name='tls'>Enables TLS protocol for spamdyke</flag>
+       <flag name='ssl'>Enables TLS protocol for spamdyke</flag>
 </use>
 </pkgmetadata>
index 28f444895cb2fc38f0ef08befc1547ee95b70dbd..a37bc83aa85fbce868e131e7dc4238b6b4196d81 100644 (file)
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI="5"
+
 inherit eutils autotools
 
 DESCRIPTION="A drop-in connection-time spam filter for qmail"
@@ -12,10 +13,10 @@ SRC_URI="http://www.spamdyke.org/releases/${P}.tgz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="libressl +tls"
+IUSE="libressl +ssl"
 
 DEPEND="
-       tls? (
+       ssl? (
                !libressl? ( dev-libs/openssl:0 )
                libressl? ( dev-libs/libressl )
        )"
@@ -27,7 +28,7 @@ S=${WORKDIR}/${P}/${PN}
 src_prepare() {
        epatch "${FILESDIR}"/${P}-gcc46.patch
        echo "# Configuration option for ${PN}" > ${PN}.conf
-       if use tls; then
+       if use ssl; then
                echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \
                        >> ${PN}.conf
        fi
@@ -45,7 +46,7 @@ src_prepare() {
 
 src_configure() {
        econf \
-               $(use_enable tls) || die "econf failed"
+               $(use_enable ssl tls) || die "econf failed"
        cd ../utils
        econf || die "econf failed in utils"
 }
index e3491cace8b0bbc6af02f96bf3abd0e31c4687dd..18dbbc7848c429e54e8736d265058cfa493b4cda 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI="5"
+
 inherit eutils autotools
 
 DESCRIPTION="A drop-in connection-time spam filter for qmail"
@@ -12,9 +13,9 @@ SRC_URI="http://www.spamdyke.org/releases/${P}.tgz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="+tls"
+IUSE="+ssl"
 
-DEPEND="tls? ( dev-libs/openssl )"
+DEPEND="ssl? ( dev-libs/openssl )"
 RDEPEND="${DEPEND}
        virtual/qmail"
 
@@ -23,7 +24,7 @@ S=${WORKDIR}/${P}/${PN}
 src_prepare() {
        epatch "${FILESDIR}"/${P}-gcc46.patch
        echo "# Configuration option for ${PN}" > ${PN}.conf
-       if use tls; then
+       if use ssl; then
                echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \
                        >> ${PN}.conf
        fi
@@ -41,7 +42,7 @@ src_prepare() {
 
 src_configure() {
        econf \
-               $(use_enable tls) || die "econf failed"
+               $(use_enable ssl tls) || die "econf failed"
        cd ../utils
        econf || die "econf failed in utils"
 }