Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
Cheers, Jonas
Hello,
On 18.11.2009 0:26 Uhr, Jonas Bergler wrote:
Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
many thanks! I cannot test it right now but I committed so others can use it meanwhile.
Cheers, Daniel
Hello,
i tried to compile the debian packages and now it seems there are some errors while copying to binarys to the correct location. make deb seems to try to install the binarys into the system instead
# Add here commands to install the package into debian/kamailio # kamailio base package #CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install skip_modules="db_mysql db_postgres db_unixodbc jabber cpl-c auth_radius misc_radius peering presence presence_xml presence_mwi presence_dialoginfo pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo xcap_client rls mi_xmlrpc perl perlvdb snmpstats xmpp carrierroute db_berkeley ldap h350 utils dialplan regex lcr purple memcached pa osp" \ CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install \ basedir=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ prefix=/usr \ cfg-prefix=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ cfg-target=/etc/kamailio/ \ doc-dir=share/doc/kamailio Makefile.defs defs skipped make[2]: Entering directory `/usr/local/src/kamailio-3.0.0/kamailio' touch /usr/local/sbin//kamailio touch: cannot touch `/usr/local/sbin//kamailio': Permission denied make[2]: *** [install-bin] Error 1 make[2]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2 make: [deb] Error 2 (ignored)
Greetings,
Mike van Stijn
Think before you print.
Gesetzliche Pflichtangaben:
Schoenland Online GmbH, Sitz der Gesellschaft ist Köln, Amtsgericht Köln HRB 59449, WEEE-Reg.-Nr.: DE57403598; Geschäftsführer: Daniel Schoenland, Henning Keil; Zuständige Aufsichtsbehörde: Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen Tulpenfeld 4, 53113 Bonn
Wie Sie wissen, können über das Internet versandte E-Mails leicht unter fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen und Äußerungen ausschließen, soweit wir mit Ihnen keine anders lautenden Vereinbarungen getroffen haben. Die für die Schoenland Online GmbH geltenden Regelungen über die Verbindlichkeit von Willenserklärungen bleiben unberührt.
-----Ursprüngliche Nachricht----- Von: sr-dev-bounces@lists.sip-router.org [mailto:sr-dev-bounces@lists.sip-router.org] Im Auftrag von Daniel-Constantin Mierla Gesendet: Mittwoch, 18. November 2009 08:59 An: Jonas Bergler Cc: sr-dev@lists.sip-router.org Betreff: Re: [sr-dev] Patch for 3.0.0-rc2 for kamailio debian packaging
Hello,
On 18.11.2009 0:26 Uhr, Jonas Bergler wrote:
Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
many thanks! I cannot test it right now but I committed so others can use it meanwhile.
Cheers, Daniel
Hello,
what command did you use to make the debs?
Right now the deb spec file for sip-router is used by default. The Kamailio specific specs are in pkg/kamailio/debing not in pkg/debian. I will update soon so make deb for K 3.0 use the kamailio specs.
Cheers, Daniel
On 18.11.2009 12:29 Uhr, van Stijn, Mike wrote:
Hello,
i tried to compile the debian packages and now it seems there are some errors while copying to binarys to the correct location. make deb seems to try to install the binarys into the system instead
# Add here commands to install the package into debian/kamailio # kamailio base package #CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install skip_modules="db_mysql db_postgres db_unixodbc jabber cpl-c auth_radius misc_radius peering presence presence_xml presence_mwi presence_dialoginfo pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo xcap_client rls mi_xmlrpc perl perlvdb snmpstats xmpp carrierroute db_berkeley ldap h350 utils dialplan regex lcr purple memcached pa osp" \ CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install \ basedir=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ prefix=/usr \ cfg-prefix=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ cfg-target=/etc/kamailio/ \ doc-dir=share/doc/kamailio Makefile.defs defs skipped make[2]: Entering directory `/usr/local/src/kamailio-3.0.0/kamailio' touch /usr/local/sbin//kamailio touch: cannot touch `/usr/local/sbin//kamailio': Permission denied make[2]: *** [install-bin] Error 1 make[2]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2 make: [deb] Error 2 (ignored)
Greetings,
Mike van Stijn
Think before you print.
Gesetzliche Pflichtangaben:
Schoenland Online GmbH, Sitz der Gesellschaft ist Köln, Amtsgericht Köln HRB 59449, WEEE-Reg.-Nr.: DE57403598; Geschäftsführer: Daniel Schoenland, Henning Keil; Zuständige Aufsichtsbehörde: Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen Tulpenfeld 4, 53113 Bonn
Wie Sie wissen, können über das Internet versandte E-Mails leicht unter fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen und Äußerungen ausschließen, soweit wir mit Ihnen keine anders lautenden Vereinbarungen getroffen haben. Die für die Schoenland Online GmbH geltenden Regelungen über die Verbindlichkeit von Willenserklärungen bleiben unberührt.
-----Ursprüngliche Nachricht----- Von: sr-dev-bounces@lists.sip-router.org [mailto:sr-dev-bounces@lists.sip-router.org] Im Auftrag von Daniel-Constantin Mierla Gesendet: Mittwoch, 18. November 2009 08:59 An: Jonas Bergler Cc: sr-dev@lists.sip-router.org Betreff: Re: [sr-dev] Patch for 3.0.0-rc2 for kamailio debian packaging
Hello,
On 18.11.2009 0:26 Uhr, Jonas Bergler wrote:
Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
many thanks! I cannot test it right now but I committed so others can use it meanwhile.
Cheers, Daniel
Hello,
i set a symbolic link from pkg/kamailio/debian-lenny to debian to force the correct rules file. After that I simply used make deb
Freundliche Grüße
Mike van Stijn
Schoenland Online GmbH Technology Operations System Engineer Professional Tel. 0221 / 8455-1866 Fax 0221 / 8455-2428 mike.vanstijn@schoenland.net www.schoenland.net
Think before you print.
Gesetzliche Pflichtangaben:
Schoenland Online GmbH, Sitz der Gesellschaft ist Köln, Amtsgericht Köln HRB 59449, WEEE-Reg.-Nr.: DE57403598; Geschäftsführer: Daniel Schoenland, Henning Keil; Zuständige Aufsichtsbehörde: Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen Tulpenfeld 4, 53113 Bonn
Wie Sie wissen, können über das Internet versandte E-Mails leicht unter fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen und Äußerungen ausschließen, soweit wir mit Ihnen keine anders lautenden Vereinbarungen getroffen haben. Die für die Schoenland Online GmbH geltenden Regelungen über die Verbindlichkeit von Willenserklärungen bleiben unberührt.
-----Ursprüngliche Nachricht----- Von: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Gesendet: Mittwoch, 18. November 2009 13:10 An: van Stijn, Mike Cc: sr-dev@lists.sip-router.org Betreff: Re: [sr-dev] Patch for 3.0.0-rc2 for kamailio debian packaging
Hello,
what command did you use to make the debs?
Right now the deb spec file for sip-router is used by default. The Kamailio specific specs are in pkg/kamailio/debing not in pkg/debian. I will update soon so make deb for K 3.0 use the kamailio specs.
Cheers, Daniel
On 18.11.2009 12:29 Uhr, van Stijn, Mike wrote:
Hello,
i tried to compile the debian packages and now it seems there are some errors while copying to binarys to the correct location. make deb seems to try to install the binarys into the system instead
# Add here commands to install the package into debian/kamailio # kamailio base package #CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install skip_modules="db_mysql db_postgres db_unixodbc jabber cpl-c auth_radius misc_radius peering presence presence_xml presence_mwi presence_dialoginfo pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo xcap_client rls mi_xmlrpc perl perlvdb snmpstats xmpp carrierroute db_berkeley ldap h350 utils dialplan regex lcr purple memcached pa osp" \ CC="gcc" CFLAGS="-Wall -g -O2" TLS= /usr/bin/make install \ basedir=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ prefix=/usr \ cfg-prefix=/usr/local/src/kamailio-3.0.0/kamailio/debian/kamailio \ cfg-target=/etc/kamailio/ \ doc-dir=share/doc/kamailio Makefile.defs defs skipped make[2]: Entering directory `/usr/local/src/kamailio-3.0.0/kamailio' touch /usr/local/sbin//kamailio touch: cannot touch `/usr/local/sbin//kamailio': Permission denied make[2]: *** [install-bin] Error 1 make[2]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/local/src/kamailio-3.0.0/kamailio' dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2 make: [deb] Error 2 (ignored)
Greetings,
Mike van Stijn
Think before you print.
Gesetzliche Pflichtangaben:
Schoenland Online GmbH, Sitz der Gesellschaft ist Köln, Amtsgericht Köln HRB 59449, WEEE-Reg.-Nr.: DE57403598; Geschäftsführer: Daniel Schoenland, Henning Keil; Zuständige Aufsichtsbehörde: Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen Tulpenfeld 4, 53113 Bonn
Wie Sie wissen, können über das Internet versandte E-Mails leicht unter fremden Namen erstellt oder manipuliert werden. Aus diesem Grunde bitten wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen und Äußerungen ausschließen, soweit wir mit Ihnen keine anders lautenden Vereinbarungen getroffen haben. Die für die Schoenland Online GmbH geltenden Regelungen über die Verbindlichkeit von Willenserklärungen bleiben unberührt.
-----Ursprüngliche Nachricht----- Von: sr-dev-bounces@lists.sip-router.org [mailto:sr-dev-bounces@lists.sip-router.org] Im Auftrag von Daniel-Constantin Mierla Gesendet: Mittwoch, 18. November 2009 08:59 An: Jonas Bergler Cc: sr-dev@lists.sip-router.org Betreff: Re: [sr-dev] Patch for 3.0.0-rc2 for kamailio debian packaging
Hello,
On 18.11.2009 0:26 Uhr, Jonas Bergler wrote:
Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
many thanks! I cannot test it right now but I committed so others can use it meanwhile.
Cheers, Daniel
On Nov 18, 2009 at 08:59, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
On 18.11.2009 0:26 Uhr, Jonas Bergler wrote:
Hi All,
I have updated the pkg/kamailio/debian-lenny packaging files to work with 3.0.0-rc2. Patch is attached if someone would like to look over it and commit it.
many thanks! I cannot test it right now but I committed so others can use it meanwhile.
I would highly recommend taking sr_3.0 debian packaging and modifying it for kamailio (a few path fixes and some searh & replace), rather then taking old kamailio packaging scripts and trying to adapt them to the new makefile system, modules directories a.s.o. sr_3.0 debian/rules is more cleanly written, is about half of old k or ser debian/rules and makes use of modules groups defined in the main Makefile.
Andrei