First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 84708
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Hanno Boeck <hanno@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tero Pelander <tpeland@tkukoulu.fi>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mailman-installdir.patch remove hardcoded paths in favor of INSTALLDIR patch Tero Pelander 2005-03-09 23:51 0000 1.63 KB Details | Diff
mailman.list.bz2 Ubuntu's mailman... application/x-bzip2 Norberto Bensa 2006-11-21 15:29 0000 8.78 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 84708 depends on: Show dependency tree
Bug 84708 blocks: 106622
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-09 23:50 0000
The INSTALLDIR setting in the beginning of mailman ebuild isn't really
effective as some of the paths are hardcoded in the rest of the ebuild. This
means that for example INSTALLDIR=/opt/mailman causes the local configuration
to be overwriten  and some of the tools from contribute directory are not
installed.

Actually distributions shouldn't use /usr/local. If I remember correctly LSB
reserves that for local admin. Most of the other "odd" packages in gentoo use
/opt instead. Examples: dev-java/blackdown-jdk, www-servers/tomcat

------- Comment #1 From Tero Pelander 2005-03-09 23:51:48 0000 -------
Created an attachment (id=53054) [details]
remove hardcoded paths in favor of INSTALLDIR

------- Comment #2 From Tuan Van (RETIRED) 2005-03-10 10:08:12 0000 -------
I want to get rid of INSTALLDIR and default it to a permanent location, but it
seems that noone agrees on one. Originallly (way before I've touched mailman)
it was in /var then moved to /home, bug #14974. Then after that it've moved to
/usr/local, bug # 21037. Personally I want to rework mailman, have it install
in /var/lib/mailman and the web related files installed by webapp.eclass. I am
short in time and not very good with webapp. Elfyn McBratney and I discuss
about it a bit. Hopefully, he will have something very shortly.

------- Comment #3 From Elfyn McBratney (beu) (RETIRED) 2005-03-10 15:20:01 0000 -------
I'm on the net-mail@ alias so I've dropped myself from the Cc, thanks for
adding me though. :)

As Tuan noted, I'm going to hammer something out soon to get the mailman
package in portage webapp'ised.  If the net-mail crew are okay with it, I'll
also get my teeth into migrating mailman away from /usr/local, too - but that's
a big job, so I'd like it if those two tasks were separate. :p

I'll post a link when I have something more complete.

------- Comment #4 From Matteo Settenvini 2005-04-22 15:37:49 0000 -------
Some applications also needs the mailman binaries to be systemwide accessible
(Savane comes to mind), expecially the "newlist" command to create new lists.

e.g. Savane uses an hardcoded path (probably because it's in use in Debian
systems) like "/usr/sbin/newlist". That makes sense, imho (to have binaries in
/usr/sbin, I mean).

------- Comment #5 From Tim Keitt 2005-05-01 11:51:28 0000 -------
Package systems should not touch /usr/local at all (at least by default). Would
be great to see this re-homed to /var/lib or other location.

------- Comment #6 From Martin Holzer (RETIRED) 2005-07-07 03:58:28 0000 -------
*** Bug 97466 has been marked as a duplicate of this bug. ***

------- Comment #7 From Jakub Moc (RETIRED) 2006-01-31 08:57:30 0000 -------
*** Bug 121064 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2006-02-08 05:18:26 0000 -------
*** Bug 122078 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2006-02-08 05:19:54 0000 -------
*** Bug 96015 has been marked as a duplicate of this bug. ***

------- Comment #10 From Hanno Boeck 2006-03-22 04:35:31 0000 -------
I see that it would probably be better to make this use webapp-config, but as
long as it doesn't, the attached patch looks sane to me (and I have similar
changes done on my own system).

If nobody crys "no" within the next day, I'll go ahead and apply that changes
to consistently use the INSTALLDIR var.

------- Comment #11 From Hanno Boeck 2006-05-08 05:31:25 0000 -------
applied

------- Comment #12 From Norberto Bensa 2006-11-21 15:28:59 0000 -------
Any news on this one? I mount /usr read-only so mailman as packaged by Gentoo
is unusable for me.

Ubuntu on the other hand, puts mailman in 
/usr/lib/mailman 
/usr/lib/cgi-bin
/var/lib/mailman
/usr/sbin
...etc...

Attached the output of "dpkg -L mailman" in Ubuntu Edgy

------- Comment #13 From Norberto Bensa 2006-11-21 15:29:53 0000 -------
Created an attachment (id=102495) [details]
Ubuntu's mailman...

------- Comment #14 From Jakub Moc (RETIRED) 2007-01-11 23:12:24 0000 -------
INSTALLDIR should *not* default to /usr/local, period. Also, there's no way to
configure it without editing the ebuild, as it sets the value unconditionally,
whether INSTALLDIR is defined or not by the user.

------- Comment #15 From Hanno Boeck 2007-09-13 21:57:29 0000 -------
We now have installation variables (MAILMAN_INSTALLDIR and MAILMAN_VAR_PREFIX)
that can be used for customized install paths. Beside, we have more sane
defaults (no more /usr/local).

WARNING: Your installation will not work if you update and don't move your
lists around.

------- Comment #16 From Norberto Bensa 2007-09-14 00:33:51 0000 -------
Can we have a little documentation about these variables? Besides, the ebuild
2.1.9-r1 has /usr/local hardcoded. Am I missing something?

First Last Prev Next    No search results available      Search page      Enter new bug