Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53054 Details for
Bug 84708
mailman INSTALLDIR only partially supported
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove hardcoded paths in favor of INSTALLDIR
mailman-installdir.patch (text/plain), 1.63 KB, created by
Tero Pelander
on 2005-03-09 23:51:48 UTC
(
hide
)
Description:
remove hardcoded paths in favor of INSTALLDIR
Filename:
MIME Type:
Creator:
Tero Pelander
Created:
2005-03-09 23:51:48 UTC
Size:
1.63 KB
patch
obsolete
>--- mailman-2.1.5-r4.ebuild 2005-02-16 22:07:33.000000000 +0200 >+++ /tmp/mailman-2.1.5-r4.ebuild 2005-03-10 08:33:28.442154144 +0200 >@@ -83,28 +83,20 @@ > dodoc contrib/virtusertable contrib/mailman.mc > > cp build/contrib/*.py contrib/majordomo2mailman.pl contrib/auto \ >- contrib/mm-handler* ${D}/usr/local/mailman/bin >+ contrib/mm-handler* ${ID}/bin > > # Save the old config into the new package as CONFIG_PROTECT > # doesn't work for this package. >- if [ -f ${ROOT}/var/mailman/Mailman/mm_cfg.py ]; then >- cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ >- ${D}/usr/local/mailman/Mailman/mm_cfg.py >- einfo "Your old config has been saved as mm_cfg.py" >- einfo "A new config has been installed as mm_cfg.dist" >- fi >- if [ -f ${ROOT}/home/mailman/Mailman/mm_cfg.py ]; then >- cp ${ROOT}/home/mailman/Mailman/mm_cfg.py \ >- ${D}/usr/local/mailman/Mailman/mm_cfg.py >- einfo "Your old config has been saved as mm_cfg.py" >- einfo "A new config has been installed as mm_cfg.py.dist" >- fi >- if [ -f ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py ]; then >- cp ${ROOT}/usr/local/mailman/Mailman/mm_cfg.py \ >- ${D}/usr/local/mailman/Mailman/mm_cfg.py >- einfo "Your old config has been saved as mm_cfg.py" >- einfo "A new config has been installed as mm_cfg.py.dist" >- fi >+ for i in ${ROOT}/var/mailman ${ROOT}/home/mailman \ >+ ${ROOT}/usr/local/mailman ${INSTALLDIR} >+ do >+ if [ -f ${i}/Mailman/mm_cfg.py ]; then >+ cp ${i}/Mailman/mm_cfg.py \ >+ ${ID}/Mailman/mm_cfg.py >+ einfo "Your old config has been saved as mm_cfg.py" >+ einfo "A new config has been installed as mm_cfg.dist" >+ fi >+ done > > exeinto /etc/init.d > newexe ${FILESDIR}/mailman.rc mailman
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 84708
: 53054 |
102495