summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Smutny <js@excello.cz>2024-01-31 19:44:18 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-02-16 19:03:49 +0100
commit8808d3bd887dcc90f4dd1b307089c8e3c8f95331 (patch)
treed778297fe1df3e35a9a982cf4f244ef563fb1065 /mail-filter
parentdev-libs/oneDNN: add 3.3.4 (diff)
downloadgentoo-8808d3bd887dcc90f4dd1b307089c8e3c8f95331.tar.gz
gentoo-8808d3bd887dcc90f4dd1b307089c8e3c8f95331.tar.bz2
gentoo-8808d3bd887dcc90f4dd1b307089c8e3c8f95331.zip
mail-filter/maildrop: fix conflict with netqmail
When the "tools" USE flag is disabled, remove these files conflicting with netqmail: * /usr/share/man/man5/maildir.5.bz2 * /usr/share/man/man1/maildirwatch.1.bz2 * /usr/share/man/man1/maildirmake.1.bz2 Additionally, remove the maildirwatch and maildirmake binaries, as these shouldn't be installed when "tools" USE flag is disabled. Signed-off-by: Jan Smutný <smutnja3@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35119 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/maildrop-3.1.6-r2.ebuild (renamed from mail-filter/maildrop/maildrop-3.1.6-r1.ebuild)9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail-filter/maildrop/maildrop-3.1.6-r1.ebuild b/mail-filter/maildrop/maildrop-3.1.6-r2.ebuild
index bd2206b3e40d..0bdf1c83bc3e 100644
--- a/mail-filter/maildrop/maildrop-3.1.6-r1.ebuild
+++ b/mail-filter/maildrop/maildrop-3.1.6-r2.ebuild
@@ -133,6 +133,15 @@ src_install() {
dodoc libs/maildir/AUTHORS libs/maildir/INSTALL \
libs/maildir/README*.txt libs/maildir/*.html
+ # bugs 61116, 639124
+ if ! use tools ; then
+ for tool in "maildirmake" "maildirwatch"; do
+ rm "${D}/usr/bin/${tool}" || die
+ rm "${D}/usr/share/man/man"[0-9]"/${tool}."[0-9] || die
+ done
+ rm "${D}/usr/share/man/man5/maildir.5" || die
+ fi
+
insinto /etc
doins "${FILESDIR}"/maildroprc