Comment 23 for bug 183840

Revision history for this message
In , Daniel Pocock (daniel-pocock) wrote : General solution needed

I completely understand the Debian position on this issue. It is likely
that issues like this will continue to come up in future, not just in
FreeRADIUS.

What would be really nice is to have `optional' components in
debian/rules. A user would be able to specify which `options' they want
when running dpkg-buildpackage. The package maintainer would then be
able to provide an official way of building the binary that he is unable
to distribute.

This could be done now by providing some additional targets in
debian/rules, e.g. a deb-eap target. If this was implemented, someone
could potentially type:

  apt-get source freeradius
  cd freeradius.....
  debian/rules deb-eap

To make it even more useful, it would be nice to be able to pass options
to apt-get. If apt-get couldn't find a binary built with the desired
option, it would build one for you.

Finally, the dpkg database should remember the options chosen for a
given package, so that if the package is automatically upgraded (e.g.
apt-get upgrade), the options can be preserved by rebuilding on each
upgrade.

Regards,

Daniel