Re: dpkg install-info bug
Max Horn <[email protected]>
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Message-ID | <[email protected]> |
On 10.07.2012, at 00:58, Alexander Hansen wrote: > On 7/9/12 11:08 AM, Max Horn wrote: [...] >> Anyway, so /sw/sbin/install-info from dpkg contains this code: >> ... >> $infodir='/usr/share/info'; >> $maxwidth=79; >> $Text::Wrap::columns=$maxwidth; >> $backup='/var/backups/infodir.bak'; >> $default='/usr/share/base-files/info.dir'; >> ... >> >> It is telling that Fink itself works around this by always invoking install-info with an "--infodir=%p/share/info" argument... I really wonder why that was done, instead of patching install-info... ? Anyway, here is the suggested patch: >> >> -$infodir='/usr/share/info'; >> +$infodir='@PREFIX@/share/info'; >> $maxwidth=79; >> $Text::Wrap::columns=$maxwidth; >> -$backup='/var/backups/infodir.bak'; >> -$default='/usr/share/base-files/info.dir'; >> +$backup='@PREFIX@/var/backups/infodir.bak'; >> +$default='@PREFIX@/share/base-files/dir-base'; >> >> >> Now I could push this change to 10.4 and 10.7 as well as the fink package manager module. But since this is a central piece of our infrastructure, of course I am not going to make such a change before getting some feedback. So, feedback away, please :). >> >> >> Cheers, >> Max > > Or, you could push it to a branch of fink master and people could check > it out and test it. :-) Did this now: <https://github.com/fink/fink/pull/37> Unlike the other dpkg work that is going on, this is a very minimalistic and non-invasive cleanup of some of our base packages. So unless the new dpkg is merged very soon, I think we should merge this pull request anyway. Of course it would be good if people tried to bootstrap it across various systems. And if we merge it, then 10.[47]/base/ in CVS should of course be synced and also receive the same fixes. I was also thinking about updating gzip from 1.4 to 1.5 while at it, but have not (yet?) done so. Bye, Max ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ fink-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core