Installing mailman 2.1.12 gives me the following error: [....] Compiling /var/tmp/portage/net-mail/mailman-2.1.12/image//usr/lib/mailman/Mailman/versions.py ... chown: invalid user: `apache:mailman' >>> Completed installing mailman-2.1.12 into /var/tmp/portage/net-mail/mailman-2.1.12/image/ [....] I have no user apache on my system since I use nginx: theia / # grep ^HTTPD_ /etc/make.conf HTTPD_USER="nginx" HTTPD_GROUP="nginx" theia / # The ebuild should check for HTTPD_USER/HTTPD_GROUP and use that for chowning the files. I know that I can use 'MAILMAN_CGIUID="nginx" MAILMAN_CGIGID="nginx" emerge mailman' but why supplying something by hand when it is already there in make.conf and it's used by other ebuilds? Reproducible: Always
Just realized another issue with the mailman ebuild: ------ theia / # grep -iR apache /var/db/pkg/net-mail/mailman-2.1.12/CONTENTS dir /etc/apache2 dir /etc/apache2/modules.d obj /etc/apache2/modules.d/50_mailman.conf 64e1a6f932e8c266694f7ad18e336859 1251889054 theia / # ------ I don't want that thing to install Apache related stuff. I have not set the Apache use flag nor have I installed Apache nor have I instructed my Gentoo system to install any Apache related configuration options. Why does the ebuild install then the Apache related configuration? Is not the "apache2" use flag made for such things? If not then the mailman ebuild should force me to install Apache and have a hard dependency to Apache. But it does not have that. Can we please not make the ebuild to work with the "apache2" use flag and only install Apache related configuration options if one is using Apache?
Affects obsolete mailman2 package.