[Mono-list] Binaries naming

Fawad Halim fawad@fawad.net
Tue, 14 Oct 2003 14:15:29 -0500


Hi,
    At least Debian and Redhat (8,9, Fedora) have the alternatives (man 
8 alternatives) system. It essentially contains a list of packages that 
provide the same facility (like Sendmail and Postfix on Redhat) and 
links that need to be shuffled around to switch from one to the other. 
For example, on my machine

# alternatives --display mta
mta - status is manual.
 link currently points to /usr/sbin/sendmail.postfix
/usr/sbin/sendmail.sendmail - priority 90
 slave mta-mailq: /usr/bin/mailq.sendmail
 slave mta-newaliases: /usr/bin/newaliases.sendmail
 slave mta-rmail: /usr/bin/rmail.sendmail
 slave mta-mailqman: /usr/share/man/man1/mailq.sendmail.1.gz
 slave mta-newaliasesman: /usr/share/man/man1/newaliases.sendmail.1.gz
 slave mta-aliasesman: /usr/share/man/man5/aliases.sendmail.5.gz
/usr/sbin/sendmail.postfix - priority 30
 slave mta-mailq: /usr/bin/mailq.postfix
 slave mta-newaliases: /usr/bin/newaliases.postfix
 slave mta-rmail: /usr/bin/rmail.postfix
 slave mta-mailqman: /usr/share/man/man1/mailq.postfix.1.gz
 slave mta-newaliasesman: /usr/share/man/man1/newaliases.postfix.1.gz
 slave mta-aliasesman: /usr/share/man/man5/aliases.postfix.5.gz
Current `best' version is /usr/sbin/sendmail.sendmail.

It should be pretty easy to have the alternatives system maintain 
symlinks for choosing between mono and pnet alternatives.

Regards
-fawad

Miguel de Icaza wrote:

>Hello,
>
>  
>
>>Mono and pnet will still block each other, but at least Mono will have a
>>consistent naming and easy for newbie people.
>>
>>I really don't mind that mono blocks pnet because I'm planning to use only
>>Mono, but as a Linux user I would prefer to have open alternatives. That's
>>why I love Linux, because the possibility of choosing. 
>>    
>>
>
>That is a packaging issue though.  The same happens with mail for
>example, /usr/lib/sendmail has been hardcoded in every application, and
>distributions still work around this problem without a hitch.
>
>Miguel
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>  
>