[OpenSIPS-Users] [SOLVED] 3.1 How to build DEB Debian Packages from source (Stretch)

Giovanni Maruzzelli gmaruzz at gmail.com
Sat Jan 16 19:13:35 EST 2021


Hello my friends,

I know I'm slow, it took me much time to find the way to build deb packages
from source.

So, without further ado, my receipt (on Stretch, may works on Buster too)
-BOTH git clone AND wget are required, it is not a typo- :

=========

mkdir /usr/src/OPENSIPS
cd /usr/src/OPENSIPS

git clone https://github.com/OpenSIPS/opensips.git -b 3.1 opensips_3_1
wget https://github.com/OpenSIPS/opensips/archive/3.1.tar.gz -O
opensips_3.1.1.orig.tar.gz

apt-get install bison debhelper default-libmysqlclient-dev dh-systemd
dpkg-dev  flex libconfuse-dev libcurl4-gnutls-dev libdb-dev libexpat1-dev
libmaxminddb-dev libhiredis-dev libjson-c-dev libldap2-dev liblua5.1-0-dev
libmemcached-dev libmicrohttpd-dev libbson-dev base-files libncurses5-dev
libpcre3-dev libperl-dev libpq-dev librabbitmq-dev libradcli-dev
libsctp-dev libsqlite3-dev libssl-dev lsb-release uuid-dev libxml2-dev
pkg-config python python-dev unixodbc-dev xsltproc zlib1g-dev libsnmp-dev
libmongoc-dev

cd opensips_3_1

make deb
cd ..

ls

dpkg -i opensips_3.1.1-1_amd64.deb
opensips-dialplan-module_3.1.1-1_amd64.deb
opensips-http-modules_3.1.1-1_amd64.deb
opensips-lua-module_3.1.1-1_amd64.deb
opensips-memcached-module_3.1.1-1_amd64.deb
opensips-postgres-module_3.1.1-1_amd64.deb
opensips-presence-modules_3.1.1-1_amd64.deb
opensips-redis-module_3.1.1-1_amd64.deb
opensips-regex-module_3.1.1-1_amd64.deb
opensips-restclient-module_3.1.1-1_amd64.deb
opensips-sqlite-module_3.1.1-1_amd64.deb
opensips-tlsmgm-module_3.1.1-1_amd64.deb
opensips-tls-module_3.1.1-1_amd64.deb opensips-wss-module_3.1.1-1_amd64.deb
opensips-xml-module_3.1.1-1_amd64.deb
opensips-xmlrpc-module_3.1.1-1_amd64.deb

=========

Obviously, you can choose which deb packages to install :)

HTH

-giovanni

-- 
Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210116/4a658f3a/attachment.html>


More information about the Users mailing list