packaging: use valid debian version number format
packaging: use valid debian version number format

Before this commit, we had debian version numbers like this:

    <MostRecentTag>-<CommitsSinceThen>-g<GitHash>

    In pre-releases (such as "2.5.0-pre1"), the "-" was replaced with "~",
    so it would sort as younger than the actual release (such as "2.5.0").

    An example version number is: 2.5.0~pre1-537-g3748da4

After this commit, we will have debian version numbers like this:

    <MostRecentTag>+<CommitsSinceThen>.g<GitHash>

    Again with the "-" replaced with "~".

    An example version number is: 2.5.0~pre1+538.g08d3fe2

Rationale:

We have a "native" debian package: a piece of software that's distributed
with its own debian packaging setup.

Debian version numbers are governed by the Debian Policy Manual.  Section
5.6.12 of version 3.8.4.0 (and other sections of earlier versions, going
back to the very beginning I think) specify that native debian packages
may not contain the "-" (dash) character in their version numbers.

The dash character is normally used to separate the upstream version
number from the debian packaging version number, and as a native package
we have no such division.

Details here:
<http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version>

mhaberler/machinekit,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,bobvanderlinden/machinekit,unseenlaser/linuxcnc,mhaberler/machinekit,ianmcmahon/linuxcnc-mirror,strahlex/machinekit,narogon/linuxcnc,cnc-club/linuxcnc,aschiffler/linuxcnc,EqAfrica/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit,ikcalB/linuxcnc-mirror,kinsamanka/machinekit,kinsamanka/machinekit,cdsteinkuehler/MachineKit,bmwiedemann/linuxcnc-mirror,ArcEye/MK-Qt5,aschiffler/linuxcnc,RunningLight/machinekit,EqAfrica/machinekit,araisrobo/linuxcnc,cnc-club/linuxcnc,unseenlaser/machinekit,ianmcmahon/linuxcnc-mirror,narogon/linuxcnc,ikcalB/linuxcnc-mirror,RunningLight/machinekit,EqAfrica/machinekit,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,Cid427/machinekit,ArcEye/MK-Qt5,RunningLight/machinekit,cnc-club/linuxcnc,mhaberler/machinekit,ArcEye/machinekit-testing,unseenlaser/linuxcnc,bmwiedemann/linuxcnc-mirror,ArcEye/machinekit-testing,ArcEye/machinekit-testing,cdsteinkuehler/MachineKit,unseenlaser/linuxcnc,araisrobo/linuxcnc,strahlex/machinekit,Cid427/machinekit,bmwiedemann/linuxcnc-mirror,RunningLight/machinekit,cdsteinkuehler/MachineKit,ikcalB/linuxcnc-mirror,kinsamanka/machinekit,RunningLight/machinekit,bmwiedemann/linuxcnc-mirror,araisrobo/machinekit,unseenlaser/machinekit,ianmcmahon/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,unseenlaser/machinekit,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,aschiffler/linuxcnc,ArcEye/machinekit-testing,unseenlaser/machinekit,bmwiedemann/linuxcnc-mirror,kinsamanka/machinekit,strahlex/machinekit,mhaberler/machinekit,unseenlaser/machinekit,ikcalB/linuxcnc-mirror,cnc-club/linuxcnc,ArcEye/MK-Qt5,bobvanderlinden/machinekit,jaguarcat79/ILC-with-LinuxCNC,unseenlaser/machinekit,strahlex/machinekit,cdsteinkuehler/linuxcnc,ArcEye/MK-Qt5,cdsteinkuehler/linuxcnc,Cid427/machinekit,EqAfrica/machinekit,RunningLight/machinekit,kinsamanka/machinekit,araisrobo/machinekit,strahlex/machinekit,cdsteinkuehler/linuxcnc,Cid427/machinekit,araisrobo/machinekit,cnc-club/linuxcnc,EqAfrica/machinekit,ianmcmahon/linuxcnc-mirror,bobvanderlinden/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit,EqAfrica/machinekit,jaguarcat79/ILC-with-LinuxCNC,cdsteinkuehler/MachineKit,unseenlaser/linuxcnc,bobvanderlinden/machinekit,bobvanderlinden/machinekit,RunningLight/machinekit,araisrobo/machinekit,ArcEye/MK-Qt5,strahlex/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,jaguarcat79/ILC-with-LinuxCNC,Cid427/machinekit,kinsamanka/machinekit,mhaberler/machinekit,bobvanderlinden/machinekit,jaguarcat79/ILC-with-LinuxCNC,cnc-club/linuxcnc,narogon/linuxcnc,mhaberler/machinekit,araisrobo/machinekit,strahlex/machinekit,araisrobo/linuxcnc,araisrobo/machinekit,araisrobo/linuxcnc,EqAfrica/machinekit,mhaberler/machinekit,araisrobo/machinekit,ArcEye/machinekit-testing,cdsteinkuehler/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,ikcalB/linuxcnc-mirror,unseenlaser/machinekit,aschiffler/linuxcnc,bobvanderlinden/machinekit,cnc-club/linuxcnc,mhaberler/machinekit,RunningLight/machinekit,araisrobo/linuxcnc,EqAfrica/machinekit,Cid427/machinekit,narogon/linuxcnc,kinsamanka/machinekit,araisrobo/machinekit,cdsteinkuehler/MachineKit,Cid427/machinekit,cdsteinkuehler/MachineKit,narogon/linuxcnc,ArcEye/MK-Qt5,unseenlaser/linuxcnc,Cid427/machinekit,aschiffler/linuxcnc