Re: HELP: two smbfs packages
Ben Pfaff writes:
> Package smbfs-2.0.2 works for kernels 2.0.x and before. To use smbfs
> with the 2.1.x and above kernels, the userland utilities in the Samba
> 1.9.18 and later must be used (smbmount and smbumount). So, I do not
> know how to provide both versions.
>
> Suggestion: Provide smbmount (for example), both versions, in the
> single smbfs (or samba, whatever) package, naming them smbmount-2.0.x
> and smbmount-2.1.x. Use alternatives to manage the `smbmount'
> symlink, with the default pointing to the appropriate version for the
> kernel running when the postinst runs (or just default to 2.0.x if
> this isn't acceptable; 2.1.x users should be knowledgeable enough to
> make symlinks).
I'd prefer the 2.0 would stay the default. A long time ago I had a similar
problem with sudo and was told not to use alternatives inside a package. So
I think the best way is to ask in the postinst and create a direct link
smbmount->smbmount-2.whatever.
Michael
--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes@topsystem.de | Europark A2, Adenauerstr. 20
meskes@debian.org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: