diff --git a/debian/control b/debian/control index 7eacc18..cb69bbf 100644 --- a/debian/control +++ b/debian/control @@ -1,28 +1,28 @@ Source: callcontrol Section: net Priority: optional Maintainer: Dan Pascu Uploaders: Tijmen de Mes -Build-Depends: debhelper (>= 11), python (>= 2.7) +Build-Depends: debhelper (>= 11), dh-python, python Standards-Version: 3.9.8 Package: callcontrol Architecture: all Depends: ${python:Depends}, ${misc:Depends}, lsb-base, python-application (>= 2.8.0), python-gnutls (>= 3.0.0), python-twisted-core, python-sqlobject, python-systemd Description: Call Control prepaid application for OpenSIPS Call Control is a prepaid application that can be used together with OpenSIPS call_control module and CDRTool rating engine to limit the duration of SIP sessions based on a prepaid balance. It can also be used to limit the duration of any session to a predefined maximum value without debiting a balance. . Call Control achieves this by maintaining a timer for each session and sending BYE messages to both SIP end-points, if the session exceeds its maximum session limit or if the Call Control receives a command to forcefully close the call from outside. diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index b5032ef..b2e78c2 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,15 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 %: - dh $@ --with python2 + dh $@ --with python2 --buildsystem=pybuild override_dh_clean: dh_clean rm -rf build dist MANIFEST -override_dh_install: - dh_install - install -m 0644 config.ini.sample debian/callcontrol/etc/callcontrol/config.ini +override_dh_auto_install: + dh_auto_install + mv debian/callcontrol/etc/callcontrol/config.ini.sample debian/callcontrol/etc/callcontrol/config.ini -.PHONY: override_dh_clean override_dh_install