dl5di / OpenDV

Open Digital Voice software for Amateur Radio based on Jonathan Naylor's (G4KLX) "ircDDBGateway" and "PCRepeaterController" for D-Star
GNU General Public License v2.0
107 stars 63 forks source link

DStarRepeater - Add build machinery for debian packages #90

Closed mcdermj closed 8 years ago

mcdermj commented 8 years ago

This PR adds support for a debian package directory which contains all the machinery to build a debian package for the DStarRepeater applications. To build, you can do a:

dpkg-buildpackage -b -j4

to do a parallel build of the binary packages. This is a fairly low-risk change, but there are some source code changes to the source to fix up some path issues on UNIX-like systems. Especially pay attention to commits 0fc6085 bf44275 89739ba that have the possibility of affecting the Windows build.

This package installs systemd files to start the daemon, includes an example configuration in dstarrepeaterd, and includes changes to allow logrotate to intelligently handle log rotation duties.

These packages do not yet install the OpenDV data files that are in /usr/share/opendv, so you won't get voice announcements. This support will be a part of similar work on ircDDBGateway.