Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259962 - net-mail/mlmmj-1.2.16 perl admin webinterface has wrong hardcoded paths
Summary: net-mail/mlmmj-1.2.16 perl admin webinterface has wrong hardcoded paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 02:01 UTC by Florian Streibelt
Modified: 2021-03-11 04:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Streibelt 2009-02-23 02:01:46 UTC
the paths coded into the perlscripts like subscribers.cgi are:

 41 my $mlmmjsub = "/usr/local/bin/mlmmj-sub";
 42 my $mlmmjunsub = "/usr/local/bin/mlmmj-unsub";

although the binaries are installed into /usr/bin/mlmmj-sub by the ebuild

Reproducible: Always

Steps to Reproduce:
Comment 1 Florian Streibelt 2009-02-23 02:11:21 UTC
in addition although you might think the values might be configurable...

later at around line 224 in get_subscribers you will find some more hard coded paths:

227         my @subscribers = `/usr/local/bin/mlmmj-list -L $topdir/$list`;
228         my @digesters = `/usr/local/bin/mlmmj-list -L $topdir/$list -d`;
229         my @nomailsubs = `/usr/local/bin/mlmmj-list -L $topdir/$list -n`;

oh, and, the configuration is loaded above lines 41/42, so paths set there are getting overwritten.
Comment 2 Larry the Git Cow gentoo-dev 2021-03-11 03:08:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eee4970acdaabac4ec5c7d62ea242b46b9fc4f

commit 89eee4970acdaabac4ec5c7d62ea242b46b9fc4f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-11 03:03:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-11 03:08:22 +0000

    net-mail/mlmmj: fix hardcoded paths
    
    Closes: https://bugs.gentoo.org/259962
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/mlmmj/{mlmmj-1.3.0.ebuild => mlmmj-1.3.0-r1.ebuild} | 9 +++++++++
 1 file changed, 9 insertions(+)