Hi Marc, Please generate a patch including the changes and upload the patch on the tracker (see http://www.opensips.org/index.php?n=Development.Tracker)
Thanks and regards, Bogdan Marc Leurent wrote: > Hello developpers, > Please read the messsage below! > Thanks, > > Best Regards! > > > ---------- Message transmis ---------- > > Sujet : Re: [OpenSIPS-Users] OpenSIPs 1.4.4 rpm on CentOS - patch OK - should > > be uploaded in SVN repo! > Date : jeudi, 26 février 2009 > De : Julian Yap <[email protected]> > À : Marc Leurent <[email protected]> > > Hi Marc, > > That's great news. Just wanted to give something back to the > community :P I know a lot of people use CentOS such as myself. > > Committers, please test and add with Changelog comment: > Thu Feb 26 2009 Julian Yap <[email protected]> > * Update spec to OpenSIPS version 1.4.4. Rename database module > names. Rename PUA module. Fix dependencies. Minor build fixes. > Additional files and new modules. > > Thanks, > Julian > > On Thu, Feb 26, 2009 at 1:19 AM, Marc Leurent > <[email protected]> wrote: > >> It's working! I have done exactly the same thing but without sorting >> > sections > >> in alphabetical order... >> For me this patch is great and should be added in svn repository! >> No error, no warning!! >> >> Julian, You should add a comment in the changelog! >> >> >> Checking for unpackaged >> file(s): /usr/lib/rpm/check-files /var/tmp/opensips-1.4.4-buildroot >> Wrote: /usr/src/redhat/RPMS/i386/opensips-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-mysql-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-postgres-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-unixodbc-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-jabber-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-cpl-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-pua-1.4.4-0.i386.rpm >> Wrote: /usr/src/redhat/RPMS/i386/opensips-radius-1.4.4-0.i386.rpm >> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.33568 >> >> Have a nice day >> >> Le Thursday 26 February 2009 11.47:07 Julian Yap, vous avez écrit : >> >>> Marc, >>> >>> Try this updated patch file. >>> >>> - Julian >>> >>> On Wed, Feb 25, 2009 at 11:41 PM, Marc Leurent >>> >>> <[email protected]> wrote: >>> >>>> Hello, >>>> Thank you for the patch, I was closed to it :-) >>>> I have applied the patch and launched the following compilation command: >>>> rpmbuild -bb opensips.spec-4.4-julian >>>> >>>> >>>>> /root/opensips-compilation-spec-4.4-julian.log >>>>> >>>> 2> /root/opensips-compilation-spec-4.4-julian-error.log >>>> >>>> and I have some strange error, >>>> I'm compiling it on >>>> CentOS 5.2 >>>> Linux 2.6.18-92.1.22.el5PAE >>>> gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) >>>> >>>> Please find enclosed the error log >>>> Any clue? I do not understand! >>>> >>>> Best Regards! >>>> >>>> Le Wednesday 25 February 2009 22.33:34 Julian Yap, vous avez écrit : >>>> >>>>> Hi Marc, >>>>> >>>>> I took a look at fixing the spec file. >>>>> >>>>> Try the attached patch file. Builds fine for me on CentOS 5.x 32-bit. >>>>> >>>>> Developers, please test and accept the patch! >>>>> >>>>> Thanks, >>>>> Julian >>>>> >>>>> On Wed, Feb 25, 2009 at 6:04 AM, Marc Leurent >>>>> >>>>> <[email protected]> wrote: >>>>> >>>>>> Thank you for your answer, >>>>>> I have seen that you wrote this spec and I thank you for this, but, >>>>>> in the code retrieved from the opensips website: >>>>>> http://www.opensips.org/pub/opensips/1.4.4/src/opensips-1.4.4-tls_src. >>>>>> tar .gz the packaging/rpm/asterisk.spec-4.1 defines a 1.4.0 version >>>>>> >>>>>> here is the problem I had and how I solve them: >>>>>> 1) the version parameter was 1.4.0, I have replaced it with 1.4.4 >>>>>> 2) the download URL has changed from >>>>>> http://opensips.org/pub/opensips/stable/%{name}-%{ver}_src.tar.gz >>>>>> to >>>>>> http://www.opensips.org/pub/opensips/%{ver}/src/%{name}-%{ver}-tls_src >>>>>> .ta r.gz 3) The name of the mysql module has change to db_mysql, so I >>>>>> had to change some lines into the spec file,... >>>>>> 4) the name of some build dependencies have changed on centOS, like >>>>>> unixODBC-devel, not unixodbc-dev,... >>>>>> >>>>>> Even without modifying the code to retrieve the 1.4.0 version, it >>>>>> wasn't working on centOS because of the download URL and the name of >>>>>> mysql module >>>>>> >>>>>> Unfortunatly, I cannot use Debian like I used to and its great >>>>>> packaging system, so I'm a little bit stuck... >>>>>> >>>>>> Thank you for your time. >>>>>> Have a nice afternoon! >>>>>> >>>>>> Le Wednesday 25 February 2009 15.05:22 Bogdan-Andrei Iancu, vous avez >>>>>> >>>> écrit : >>>> >>>>>>> Hi Marc, >>>>>>> >>>>>>> even if the name of the spec is misleading, it will build the 4.4 >>>>>>> (the code you downloaded)....so, have you tried without changing the >>>>>>> script itself? >>>>>>> >>>>>>> Regards, >>>>>>> Bogdan >>>>>>> >>>>>>> Marc Leurent wrote: >>>>>>> >>>>>>>> Hello everybody, >>>>>>>> I had to migrate from debian to centOS and I would like to build >>>>>>>> rpm packages of opensips on a CentOS dev server. >>>>>>>> I have retrieved the opensips.spec-4.1 file from the packaging >>>>>>>> folder in opensips source code and I'm trying to adapt it to >>>>>>>> opensips-4.4. I would be very grateful if someone that have already >>>>>>>> done that could help me... >>>>>>>> >>>>>>>> Best Regards, >>>>>>>> >>>>>>>> When compiling, I have some path error I'm trying to fix. >>>>>>>> >>>>>>>> rpmbuild -bb opensips.spec-4.4 >>>>>>>> .... >>>>>>>> .... >>>>>>>> .... >>>>>>>> RPM build errors: >>>>>>>> File not found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/sbin/opensips/opensipsctl File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.mysql >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/mysql.so File >>>>>>>> not found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_mysql.sh File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.mysql >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.postgres >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/postgres.so >>>>>>>> File not found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/sbin/opensips_postgres.sh File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/lib/opensipsctl/opensipsctl.pgsql >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.unixodbc >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/unixodbc.so >>>>>>>> File not >>>>>>>> found: >>>>>>>> /var/tmp/opensips-1.4.4-root/usr/share/doc/opensips/README.pa File >>>>>>>> not >>>>>>>> found: /var/tmp/opensips-1.4.4-root/usr/lib/opensips/modules/pa.so >>>>>>>> >>>>>> -- >>>>>> -- -- >>>>>> Marc LEURENT >>>>>> Ingénieur VoIP >>>>>> >>>>>> DECKPOINT SA >>>>>> Une société du groupe VTX Telecom >>>>>> ================================================================ >>>>>> Rue Eugène-Marziano 15 - 1227 Les Acacias >>>>>> http://www.vtx.ch - [email protected] >>>>>> ---------------------------------------------------------------- >>>>>> VTX, votre partenaire telecom proche de vous ! >>>>>> ================================================================ >>>>>> >>>>>> _______________________________________________ >>>>>> Users mailing list >>>>>> [email protected] >>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>>>> >>>> -- >>>> -- -- >>>> Marc LEURENT >>>> Ingénieur VoIP >>>> >>>> DECKPOINT SA >>>> Une société du groupe VTX Telecom >>>> ================================================================ >>>> Rue Eugène-Marziano 15 - 1227 Les Acacias >>>> http://www.vtx.ch - [email protected] >>>> ---------------------------------------------------------------- >>>> VTX, votre partenaire telecom proche de vous ! >>>> ================================================================ >>>> >> >> -- >> -- -- >> Marc LEURENT >> Ingénieur VoIP >> >> DECKPOINT SA >> Une société du groupe VTX Telecom >> ================================================================ >> Rue Eugène-Marziano 15 - 1227 Les Acacias >> http://www.vtx.ch - [email protected] >> ---------------------------------------------------------------- >> VTX, votre partenaire telecom proche de vous ! >> ================================================================ >> >> > > ------------------------------------------------------- > > _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
