mail-mta/netqmail: drop USE=authcram

The net-mail/cmd5checkpw no longer exists in the tree. It was
treecleaned in commit 5fb2f02da4 ("net-mail/cmd5checkpw: treeclean")
almost two years ago. Therefore, authcram USE flag is no longer working.
Time to remove it, it is already masked anyway.

Bug: https://bugs.gentoo.org/833292
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2024-10-25 11:27:06 +02:00
parent facd834872
commit 8d6ff4eacc
4 changed files with 6 additions and 21 deletions

View File

@@ -10,7 +10,6 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="authcram">Enable AUTHCRAM support</flag>
<flag name="gencertdaily">Generate SSL certificates daily instead of
hourly</flag>
<flag name="highvolume">Prepare netqmail for high volume servers</flag>

View File

@@ -41,7 +41,7 @@ SRC_URI="http://qmail.org/${P}.tar.gz
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc64 ~s390 sparc x86"
IUSE="authcram gencertdaily highvolume pop3 qmail-spp ssl vanilla"
IUSE="gencertdaily highvolume pop3 qmail-spp ssl vanilla"
REQUIRED_USE="vanilla? ( !ssl !qmail-spp !highvolume )"
RESTRICT="test"
@@ -65,7 +65,6 @@ RDEPEND="${DEPEND}
sys-apps/ucspi-tcp
virtual/checkpassword
virtual/daemontools
authcram? ( >=net-mail/cmd5checkpw-0.30 )
!mail-mta/courier
!mail-mta/esmtp
!mail-mta/exim
@@ -134,12 +133,8 @@ src_prepare() {
qmail_src_postunpack
# Fix bug #33818 but for netqmail (Bug 137015)
if ! use authcram; then
einfo "Disabled CRAM_MD5 support"
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die
else
einfo "Enabled CRAM_MD5 support"
fi
einfo "Disabled CRAM_MD5 support"
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die
ht_fix_file Makefile*
}

View File

@@ -41,7 +41,7 @@ SRC_URI="http://qmail.org/${P}.tar.gz
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~s390 ~sparc ~x86"
IUSE="authcram gencertdaily highvolume pop3 qmail-spp ssl vanilla"
IUSE="gencertdaily highvolume pop3 qmail-spp ssl vanilla"
REQUIRED_USE="vanilla? ( !ssl !qmail-spp !highvolume )"
RESTRICT="test"
@@ -63,7 +63,6 @@ DEPEND="
"
RDEPEND="${DEPEND}
sys-apps/ucspi-tcp
authcram? ( >=net-mail/cmd5checkpw-0.30 )
!mail-mta/courier
!mail-mta/esmtp
!mail-mta/exim
@@ -135,12 +134,8 @@ src_prepare() {
qmail_src_postunpack
# Fix bug #33818 but for netqmail (Bug 137015)
if ! use authcram; then
einfo "Disabled CRAM_MD5 support"
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die
else
einfo "Enabled CRAM_MD5 support"
fi
einfo "Disabled CRAM_MD5 support"
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c || die
ht_fix_file Makefile*
}

View File

@@ -341,10 +341,6 @@ net-libs/gssdp man
# Needs long-EOL dev-lang/spidermonkey:60 (which also needs python:2.7).
media-libs/coin javascript
# Michał Górny <mgorny@gentoo.org> (2022-11-19)
# Requires packages masked for removal.
mail-mta/netqmail authcram
# Matt Turner <mattst88@gentoo.org> (2022-11-16)
# gnome-music and gnome-photos have not been ported to libsoup:3.0, while
# other non-slotted dependencies have been.