Le jeudi 23 février 2006 à 07:04 +1000, Kel Modderman a écrit : > Kel Modderman wrote: > > > Julien Valroff wrote: > > > >> Package: madwifi-source > >> Version: 0.svn20060207 > >> Severity: wishlist > >> > >> As 2 build methods are clearly supported and explained in > >> README.Debian, I think madwifi-source > >> should only recommend module-assistant (and not depend). > >> > >> As an alternative, the package could depend on m-a OR kernel-package. > >> > > > > debian/rules.modules:- > > > > #!/usr/bin/make -f > > > > PACKAGE := madwifi-modules > > MA_DIR ?= /usr/share/modass > > -include $(MA_DIR)/include/generic.make > > -include $(MA_DIR)/include/common-rules.make > > . . . > > > > The package clearly depends on module-assistant. > > > > Thanks, Kel. > > > > That is not a strict dependency, however, I personally do not really > want to demote module-assistant to Recommends, as most of the > documentation I have written externally > (http://madwifi.org/wiki/UserDocs/Distro/Debian) primarily describes > module-assistant.
Thanks for answering quickly. I understand your point of view, but as aptitude pulls up recommended packages, and I think Synaptics does the same, m-a would be installed anyway in most cases, and people (like me) who don't use m-a could simply uninstall it. Regarding the documentation, maybe it would be good to insist on the kernel-package method too. I think the best thing is then to put a conditional dependency (Depends: module-assistant|kernel-package <...>). In this case, if none of the packages is already on the system, the first listed will be installed by apt. What do you think? Cheers, Julien