mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
FS-9075 [Debian Packaging] #resolve freeswitch-all package rework
the freeswitch-all package should be operationally the same as freeswitch-meta-all it should not conflict with any other freeswitch pacakge it should install them all via dependancy. This patch does just that... There is probably a better way to do it, but this is needed to avoid issues where a dep may have been added to a sub-module (say mod_av, but it was not added to the freeswitch-all package. This will also allow for someone to install freeswitch-all or any part there of without forcing a deinstall of other parts of the over all FreeSWITCH software package.
This commit is contained in:
Vendored
-17
@@ -100,23 +100,6 @@ override_dh_auto_install:
|
||||
dh_auto_install -- -C libs/esl pymod-install
|
||||
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
|
||||
|
||||
override_dh_installinit:
|
||||
if [ `cat debian/freeswitch-init.provided_by` = freeswitch-systemd ]; then \
|
||||
dh_systemd_enable -pfreeswitch-systemd --name=freeswitch; \
|
||||
dh_systemd_start -pfreeswitch-systemd --name=freeswitch; \
|
||||
dh_systemd_enable -pfreeswitch-all --name=freeswitch; \
|
||||
dh_systemd_start -pfreeswitch-all --name=freeswitch; \
|
||||
else \
|
||||
dh_installinit -pfreeswitch-sysvinit --name=freeswitch; \
|
||||
dh_installinit -pfreeswitch-all --name=freeswitch; \
|
||||
fi
|
||||
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs
|
||||
sed \
|
||||
-e '/^libfreeswitch 1/{s/freeswitch-all/libfreeswitch1/g}' \
|
||||
-i debian/freeswitch-all/DEBIAN/shlibs
|
||||
|
||||
debian-bootstrap: debian/.stamp-bootstrap
|
||||
debian/.stamp-bootstrap:
|
||||
(cd debian && ./bootstrap.sh)
|
||||
|
||||
Reference in New Issue
Block a user