Re: Kannel 1.5.0 Debian packages

2011-03-24 Thread Milan P. Stanic
Hi,

[ Sorry for X-post ]

On Thu, 2011-03-24 at 10:26, Alan McNatty wrote:
 Hi Alex,
 
 Thanks for rolling us a new deb.
 
 Thanks also for building with Postgres support - that will save me
 rolling my own :)
 
 Just a couple of questions:
 
 1) I notice we have the usual binaries ... but I thought there was talk
 of run_kannel_box being deprecated since we have --parachute --daemonize
 capability. What are people doing these days by default - see attached
 init.d script for example. 

I built it to be as close as possible to official Debian package because
I don't want to 'surprise' users/admins during upgrade from stable.

 2) (this is likely a longer term / roadmap question) Any chance sqlbox
 (and possibly others, e.g smppbox) could be included as a binary as
 well? 

sqlbox (0.7.2 version) is shipped with Debian stable. I have made sqlbox
deb from SVN package just for test but didn't posted it because I don't
know how it works because I never tried to use or play with it.

 It is sounded like more and more folk are using these as standard and it
 would be advantageous to the project to have them included in standard
 deb. 

I built Opensmppbox deb packages few months age for me to play with it
but didn't posted it to Alex because I'm not sure how SVN version is
good to put on Kannel site for download.

 I realise they are not in the standard build so possibly this is a
 question more around when the source / build trees might be merged (i.e
 --enable-sqlbox, etc)? So likely some work involved here - and best of
 all likely involves autoconf, etc compiler magic that troubles many of
 us.
 
 Cheers,
 Alan
 
 p.s sorry for the cross-post .. just reply-all'ing
 
 On Wed, 2011-03-23 at 12:20 +0100, Alexander Malysh wrote:
  Hi All,
  
  
  just uploaded debs for 1.5.0
  to https://redmine.kannel.org/projects/kannel/files
  please check and give me/Milan feedback.
  
  
  Thanks,
  Alexander Malysh
  
  Am 22.03.2011 um 16:24 schrieb Milan P. Stanic:
  
   Hi Alex,
   
   On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
Hi Milan,

as far as I see, configuration should be fine. Could you please
upload debs and diff tar to some place
and we will push it to download section then.
   
   I will upload it later and send the URL to you in private mail.
   
Thanks,
Alexander Malysh

Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:

 Hi Alex,
 
 On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
  Hi Milan,
  
  that would be great to have debian packages for 1.5.0
 
 I forgot to mention in original post that I sent these packages
 to
 someone in Romania who is tried it on Ubuntu. He told me that
 the same
 binary packages which I run on Debian also works well on Ubuntu
 but I
 forget which release he runs.
 
  could you please answer some questions:
  - how these packages compiled
 
 I patched 1.5.0 source with official Debian diff (actually tar
 file)
 because my intention is that the packages I build shouldn't
 differ a lot
 from Debian shipped packages. It is because of that if someone
 upgrade
 it from official Debian release to newly built packages s/he
 doesn't
 have to change anything in configuration files.
 
  - which DB support is enabled
 
 Sqlite3, Postgresql and MySQL.
 
  - compiler/configure flags used
 
 Here is the relevant section from debian/rules files:
 ./configure \
   --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) \
   --enable-warnings \
   --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --infodir=\$${prefix}/share/info \
   --enable-docs --enable-pam --enable-pcre \
   --enable-ssl --with-ssl=/usr \
   --with-mysql --with-mysql-dir=/usr \
   --with-sqlite3 \
   --with-pgsql --with-pgsql-dir=/usr
 
 
 And here is relevant section from Makefile:
 
 
 LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt
 -lresolv
 -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre
 -L/usr/lib
 -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
 -L/usr/local/lib -lsqlite3 -L/usr/lib
 
 CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE
 -D_LARGE_FILES= -I/usr/include/libxml2  -Wall
 -Wmissing-prototypes
 -Wmissing-declarations -Wnested-externs -Winline -Wformat
 -Wformat-security -Wmissing-format-attribute -I/usr/include
 -I/usr/include/mysql -I/usr/include/postgresql
 
 LDFLAGS= -rdynamic
 
  Do you have some place to upload packages and we will push
  those then to download section?
 
 Yes, I can upload it but would like to know first if the
 configuration
 above is correct. If not, I can rebuild it with your (or someone
 else)
 suggestions.
 
  Thanks,
  Alexander Malysh
  

Re: Kannel 1.5.0 Debian packages

2011-03-24 Thread Milan P. Stanic
Hi,

On Wed, 2011-03-23 at 18:23, adolfo maltez wrote:
 The official mantainer for kannel package in debian are:
 
 Paul Dwerryhouse p...@dwerryhouse.com.au - p...@dwerryhouse.com.au

I know. Last year I tried to contact him by mail two times to convince
him to put new (1.5.0) version in the Debian but he didn't answer to me.

 Jonas Smedegaard d...@jones.dk - d...@jones.dk

Yes, I know. I talked with him on debian-devel mailing list.

You can see my post here:

http://lists.debian.org/debian-devel/2010/01/msg00329.html

and full thread is here:

http://www.linux-archive.org/debian-development/310690-paul-dwerryhouse-mia.html
 
 http://packages.debian.org/wheezy/kannel

It is old 1.4.3 version, as you can see there.

 2011/3/21 Milan P. Stanic m...@arvanta.net
  I have noticed on us...@kannel.org list that some user have a problem
  how to build Kannel on Debian/Ubuntu systems.
 
  On the Kannel site in download section Debian packages are outdated
  (1.4.1 version for Debian sarge). Current Debian stable release is
  shipped with with Kannel 1.4.3 version which is old as we all know.
 
  I have built Kannel 1.5.0 (development release) for Debian squeeze
  (current stable) and for i386 and amd64 architectures. It works without
  problem for more than three or four months.
 
  IMHO it would be useful for users to update Kannel download section
  and put new Debian packages there. I'm ready to upload them but I don't
  know where or whom to send these packages.
 
  P.S.
  I'm not sure who is the site admin so I write to list.

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel 1.5.0 Debian packages

2011-03-23 Thread Alexander Malysh
Hi All,

just uploaded debs for 1.5.0 to https://redmine.kannel.org/projects/kannel/files
please check and give me/Milan feedback.

Thanks,
Alexander Malysh

Am 22.03.2011 um 16:24 schrieb Milan P. Stanic:

 Hi Alex,
 
 On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
 Hi Milan,
 
 as far as I see, configuration should be fine. Could you please upload debs 
 and diff tar to some place
 and we will push it to download section then.
 
 I will upload it later and send the URL to you in private mail.
 
 Thanks,
 Alexander Malysh
 
 Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
 
 Hi Alex,
 
 On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
 Hi Milan,
 
 that would be great to have debian packages for 1.5.0
 
 I forgot to mention in original post that I sent these packages to
 someone in Romania who is tried it on Ubuntu. He told me that the same
 binary packages which I run on Debian also works well on Ubuntu but I
 forget which release he runs.
 
 could you please answer some questions:
 - how these packages compiled
 
 I patched 1.5.0 source with official Debian diff (actually tar file)
 because my intention is that the packages I build shouldn't differ a lot
 from Debian shipped packages. It is because of that if someone upgrade
 it from official Debian release to newly built packages s/he doesn't
 have to change anything in configuration files.
 
 - which DB support is enabled
 
 Sqlite3, Postgresql and MySQL.
 
 - compiler/configure flags used
 
 Here is the relevant section from debian/rules files:
 ./configure \
   --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) \
   --enable-warnings \
   --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --infodir=\$${prefix}/share/info \
   --enable-docs --enable-pam --enable-pcre \
   --enable-ssl --with-ssl=/usr \
   --with-mysql --with-mysql-dir=/usr \
   --with-sqlite3 \
   --with-pgsql --with-pgsql-dir=/usr
 
 
 And here is relevant section from Makefile:
 
 
 LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
 -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
 -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
 -L/usr/local/lib -lsqlite3 -L/usr/lib
 
 CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
 -Wmissing-declarations -Wnested-externs -Winline -Wformat
 -Wformat-security -Wmissing-format-attribute -I/usr/include
 -I/usr/include/mysql -I/usr/include/postgresql
 
 LDFLAGS= -rdynamic
 
 Do you have some place to upload packages and we will push those then to 
 download section?
 
 Yes, I can upload it but would like to know first if the configuration
 above is correct. If not, I can rebuild it with your (or someone else)
 suggestions.
 
 Thanks,
 Alexander Malysh
 
 Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
 
 Hi all,
 
 I have noticed on us...@kannel.org list that some user have a problem
 how to build Kannel on Debian/Ubuntu systems.
 
 On the Kannel site in download section Debian packages are outdated
 (1.4.1 version for Debian sarge). Current Debian stable release is
 shipped with with Kannel 1.4.3 version which is old as we all know.
 
 I have built Kannel 1.5.0 (development release) for Debian squeeze
 (current stable) and for i386 and amd64 architectures. It works without
 problem for more than three or four months.
 
 IMHO it would be useful for users to update Kannel download section
 and put new Debian packages there. I'm ready to upload them but I don't
 know where or whom to send these packages.
 
 P.S.
 I'm not sure who is the site admin so I write to list.
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 
 
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 
 
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 



Re: Kannel 1.5.0 Debian packages

2011-03-23 Thread Alan McNatty
Hi Alex,

Thanks for rolling us a new deb.

Thanks also for building with Postgres support - that will save me
rolling my own :)

Just a couple of questions:

1) I notice we have the usual binaries ... but I thought there was talk
of run_kannel_box being deprecated since we have --parachute --daemonize
capability. What are people doing these days by default - see attached
init.d script for example. 

2) (this is likely a longer term / roadmap question) Any chance sqlbox
(and possibly others, e.g smppbox) could be included as a binary as
well? 

It is sounded like more and more folk are using these as standard and it
would be advantageous to the project to have them included in standard
deb. 

I realise they are not in the standard build so possibly this is a
question more around when the source / build trees might be merged (i.e
--enable-sqlbox, etc)? So likely some work involved here - and best of
all likely involves autoconf, etc compiler magic that troubles many of
us.

Cheers,
Alan

p.s sorry for the cross-post .. just reply-all'ing

On Wed, 2011-03-23 at 12:20 +0100, Alexander Malysh wrote:
 Hi All,
 
 
 just uploaded debs for 1.5.0
 to https://redmine.kannel.org/projects/kannel/files
 please check and give me/Milan feedback.
 
 
 Thanks,
 Alexander Malysh
 
 Am 22.03.2011 um 16:24 schrieb Milan P. Stanic:
 
  Hi Alex,
  
  On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
   Hi Milan,
   
   as far as I see, configuration should be fine. Could you please
   upload debs and diff tar to some place
   and we will push it to download section then.
  
  I will upload it later and send the URL to you in private mail.
  
   Thanks,
   Alexander Malysh
   
   Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
   
Hi Alex,

On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
 Hi Milan,
 
 that would be great to have debian packages for 1.5.0

I forgot to mention in original post that I sent these packages
to
someone in Romania who is tried it on Ubuntu. He told me that
the same
binary packages which I run on Debian also works well on Ubuntu
but I
forget which release he runs.

 could you please answer some questions:
 - how these packages compiled

I patched 1.5.0 source with official Debian diff (actually tar
file)
because my intention is that the packages I build shouldn't
differ a lot
from Debian shipped packages. It is because of that if someone
upgrade
it from official Debian release to newly built packages s/he
doesn't
have to change anything in configuration files.

 - which DB support is enabled

Sqlite3, Postgresql and MySQL.

 - compiler/configure flags used

Here is the relevant section from debian/rules files:
./configure \
  --host=$(DEB_HOST_GNU_TYPE) \
  --build=$(DEB_BUILD_GNU_TYPE) \
  --enable-warnings \
  --prefix=/usr \
  --mandir=\$${prefix}/share/man \
  --infodir=\$${prefix}/share/info \
  --enable-docs --enable-pam --enable-pcre \
  --enable-ssl --with-ssl=/usr \
  --with-mysql --with-mysql-dir=/usr \
  --with-sqlite3 \
  --with-pgsql --with-pgsql-dir=/usr


And here is relevant section from Makefile:


LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt
-lresolv
-lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre
-L/usr/lib
-lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
-L/usr/local/lib -lsqlite3 -L/usr/lib

CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2  -Wall
-Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wformat
-Wformat-security -Wmissing-format-attribute -I/usr/include
-I/usr/include/mysql -I/usr/include/postgresql

LDFLAGS= -rdynamic

 Do you have some place to upload packages and we will push
 those then to download section?

Yes, I can upload it but would like to know first if the
configuration
above is correct. If not, I can rebuild it with your (or someone
else)
suggestions.

 Thanks,
 Alexander Malysh
 
 Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
 
  Hi all,
  
  I have noticed on us...@kannel.org list that some user have
  a problem
  how to build Kannel on Debian/Ubuntu systems.
  
  On the Kannel site in download section Debian packages are
  outdated
  (1.4.1 version for Debian sarge). Current Debian stable
  release is
  shipped with with Kannel 1.4.3 version which is old as we
  all know.
  
  I have built Kannel 1.5.0 (development release) for Debian
  squeeze
  (current stable) and for i386 and amd64 architectures. It
  works without
  problem for more than three or four months.
  
  IMHO it would be useful for users to update Kannel download
  

Re: Kannel 1.5.0 Debian packages

2011-03-23 Thread adolfo maltez
Hi.

The official mantainer for kannel package in debian are:

Paul Dwerryhouse p...@dwerryhouse.com.au - p...@dwerryhouse.com.au
Jonas Smedegaard d...@jones.dk - d...@jones.dk

http://packages.debian.org/wheezy/kannel

Att.
Adolfo Maltez


2011/3/21 Milan P. Stanic m...@arvanta.net

 Hi all,

 I have noticed on us...@kannel.org list that some user have a problem
 how to build Kannel on Debian/Ubuntu systems.

 On the Kannel site in download section Debian packages are outdated
 (1.4.1 version for Debian sarge). Current Debian stable release is
 shipped with with Kannel 1.4.3 version which is old as we all know.

 I have built Kannel 1.5.0 (development release) for Debian squeeze
 (current stable) and for i386 and amd64 architectures. It works without
 problem for more than three or four months.

 IMHO it would be useful for users to update Kannel download section
 and put new Debian packages there. I'm ready to upload them but I don't
 know where or whom to send these packages.

 P.S.
 I'm not sure who is the site admin so I write to list.

 --
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.




Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Alexander Malysh
Hi Milan,

that would be great to have debian packages for 1.5.0
could you please answer some questions:
 - how these packages compiled
 - which DB support is enabled
 - compiler/configure flags used

Do you have some place to upload packages and we will push those then to 
download section?

Thanks,
Alexander Malysh

Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:

 Hi all,
 
 I have noticed on us...@kannel.org list that some user have a problem
 how to build Kannel on Debian/Ubuntu systems.
 
 On the Kannel site in download section Debian packages are outdated
 (1.4.1 version for Debian sarge). Current Debian stable release is
 shipped with with Kannel 1.4.3 version which is old as we all know.
 
 I have built Kannel 1.5.0 (development release) for Debian squeeze
 (current stable) and for i386 and amd64 architectures. It works without
 problem for more than three or four months.
 
 IMHO it would be useful for users to update Kannel download section
 and put new Debian packages there. I'm ready to upload them but I don't
 know where or whom to send these packages.
 
 P.S.
 I'm not sure who is the site admin so I write to list.
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 




Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Milan P. Stanic
Hi Alex,

On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
 Hi Milan,
 
 that would be great to have debian packages for 1.5.0

I forgot to mention in original post that I sent these packages to
someone in Romania who is tried it on Ubuntu. He told me that the same
binary packages which I run on Debian also works well on Ubuntu but I
forget which release he runs.

 could you please answer some questions:
  - how these packages compiled

I patched 1.5.0 source with official Debian diff (actually tar file)
because my intention is that the packages I build shouldn't differ a lot
from Debian shipped packages. It is because of that if someone upgrade
it from official Debian release to newly built packages s/he doesn't
have to change anything in configuration files.

  - which DB support is enabled

Sqlite3, Postgresql and MySQL.

  - compiler/configure flags used

Here is the relevant section from debian/rules files:
./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--enable-warnings \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-docs --enable-pam --enable-pcre \
--enable-ssl --with-ssl=/usr \
--with-mysql --with-mysql-dir=/usr \
--with-sqlite3 \
--with-pgsql --with-pgsql-dir=/usr


And here is relevant section from Makefile:


LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
-lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
-lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
-L/usr/local/lib -lsqlite3 -L/usr/lib

CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wformat
-Wformat-security -Wmissing-format-attribute -I/usr/include
-I/usr/include/mysql -I/usr/include/postgresql

LDFLAGS= -rdynamic

 Do you have some place to upload packages and we will push those then to 
 download section?

Yes, I can upload it but would like to know first if the configuration
above is correct. If not, I can rebuild it with your (or someone else)
suggestions.
 
 Thanks,
 Alexander Malysh
 
 Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
 
  Hi all,
  
  I have noticed on us...@kannel.org list that some user have a problem
  how to build Kannel on Debian/Ubuntu systems.
  
  On the Kannel site in download section Debian packages are outdated
  (1.4.1 version for Debian sarge). Current Debian stable release is
  shipped with with Kannel 1.4.3 version which is old as we all know.
  
  I have built Kannel 1.5.0 (development release) for Debian squeeze
  (current stable) and for i386 and amd64 architectures. It works without
  problem for more than three or four months.
  
  IMHO it would be useful for users to update Kannel download section
  and put new Debian packages there. I'm ready to upload them but I don't
  know where or whom to send these packages.
  
  P.S.
  I'm not sure who is the site admin so I write to list.
  
  -- 
  Kind regards,  Milan
  --
  Arvanta, IT Securityhttp://www.arvanta.net
  Please do not send me e-mail containing HTML code.
  
 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.



Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Alexander Malysh
Hi Milan,

as far as I see, configuration should be fine. Could you please upload debs and 
diff tar to some place
and we will push it to download section then.

Thanks,
Alexander Malysh

Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:

 Hi Alex,
 
 On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
 Hi Milan,
 
 that would be great to have debian packages for 1.5.0
 
 I forgot to mention in original post that I sent these packages to
 someone in Romania who is tried it on Ubuntu. He told me that the same
 binary packages which I run on Debian also works well on Ubuntu but I
 forget which release he runs.
 
 could you please answer some questions:
 - how these packages compiled
 
 I patched 1.5.0 source with official Debian diff (actually tar file)
 because my intention is that the packages I build shouldn't differ a lot
 from Debian shipped packages. It is because of that if someone upgrade
 it from official Debian release to newly built packages s/he doesn't
 have to change anything in configuration files.
 
 - which DB support is enabled
 
 Sqlite3, Postgresql and MySQL.
 
 - compiler/configure flags used
 
 Here is the relevant section from debian/rules files:
 ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--enable-warnings \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-docs --enable-pam --enable-pcre \
--enable-ssl --with-ssl=/usr \
--with-mysql --with-mysql-dir=/usr \
--with-sqlite3 \
--with-pgsql --with-pgsql-dir=/usr
 
 
 And here is relevant section from Makefile:
 
 
 LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
 -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
 -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
 -L/usr/local/lib -lsqlite3 -L/usr/lib
 
 CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
 -Wmissing-declarations -Wnested-externs -Winline -Wformat
 -Wformat-security -Wmissing-format-attribute -I/usr/include
 -I/usr/include/mysql -I/usr/include/postgresql
 
 LDFLAGS= -rdynamic
 
 Do you have some place to upload packages and we will push those then to 
 download section?
 
 Yes, I can upload it but would like to know first if the configuration
 above is correct. If not, I can rebuild it with your (or someone else)
 suggestions.
 
 Thanks,
 Alexander Malysh
 
 Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
 
 Hi all,
 
 I have noticed on us...@kannel.org list that some user have a problem
 how to build Kannel on Debian/Ubuntu systems.
 
 On the Kannel site in download section Debian packages are outdated
 (1.4.1 version for Debian sarge). Current Debian stable release is
 shipped with with Kannel 1.4.3 version which is old as we all know.
 
 I have built Kannel 1.5.0 (development release) for Debian squeeze
 (current stable) and for i386 and amd64 architectures. It works without
 problem for more than three or four months.
 
 IMHO it would be useful for users to update Kannel download section
 and put new Debian packages there. I'm ready to upload them but I don't
 know where or whom to send these packages.
 
 P.S.
 I'm not sure who is the site admin so I write to list.
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 
 
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 




Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Nikos Balkanas

Hi,

There is an issue with the current db compilation:

- Sqlite3, Postgresql and MySQL

That means for the binary to run, you need to install all 3 dbs. 
Additionaly, since SQLbox tries to be cute about it, it creates its own 
databases and tables and picks automatically the first one enabled, ie 
Sqlite3, if i am not mistaken, or the first that it checks for, i.e. Mysql.
Granted this is an issue to be fixed in sqlbox, but regardless i would 
strongly encourage different builds, each one with a single, at most, DB.


Already uploaded Debian packages may not be any better, but it would be nice 
these to be better built.


BR,
Nikos
- Original Message - 
From: Alexander Malysh amal...@kannel.org

To: Milan P. Stanic m...@arvanta.net
Cc: devel@kannel.org
Sent: Tuesday, March 22, 2011 3:37 PM
Subject: Re: Kannel 1.5.0 Debian packages


Hi Milan,

as far as I see, configuration should be fine. Could you please upload debs 
and diff tar to some place

and we will push it to download section then.

Thanks,
Alexander Malysh

Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:


Hi Alex,

On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:

Hi Milan,

that would be great to have debian packages for 1.5.0


I forgot to mention in original post that I sent these packages to
someone in Romania who is tried it on Ubuntu. He told me that the same
binary packages which I run on Debian also works well on Ubuntu but I
forget which release he runs.


could you please answer some questions:
- how these packages compiled


I patched 1.5.0 source with official Debian diff (actually tar file)
because my intention is that the packages I build shouldn't differ a lot
from Debian shipped packages. It is because of that if someone upgrade
it from official Debian release to newly built packages s/he doesn't
have to change anything in configuration files.


- which DB support is enabled


Sqlite3, Postgresql and MySQL.


- compiler/configure flags used


Here is the relevant section from debian/rules files:
./configure \
   --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) \
   --enable-warnings \
   --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --infodir=\$${prefix}/share/info \
   --enable-docs --enable-pam --enable-pcre \
   --enable-ssl --with-ssl=/usr \
   --with-mysql --with-mysql-dir=/usr \
   --with-sqlite3 \
   --with-pgsql --with-pgsql-dir=/usr


And here is relevant section from Makefile:


LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
-lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
-lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
-L/usr/local/lib -lsqlite3 -L/usr/lib

CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wformat
-Wformat-security -Wmissing-format-attribute -I/usr/include
-I/usr/include/mysql -I/usr/include/postgresql

LDFLAGS= -rdynamic

Do you have some place to upload packages and we will push those then to 
download section?


Yes, I can upload it but would like to know first if the configuration
above is correct. If not, I can rebuild it with your (or someone else)
suggestions.


Thanks,
Alexander Malysh

Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:


Hi all,

I have noticed on us...@kannel.org list that some user have a problem
how to build Kannel on Debian/Ubuntu systems.

On the Kannel site in download section Debian packages are outdated
(1.4.1 version for Debian sarge). Current Debian stable release is
shipped with with Kannel 1.4.3 version which is old as we all know.

I have built Kannel 1.5.0 (development release) for Debian squeeze
(current stable) and for i386 and amd64 architectures. It works without
problem for more than three or four months.

IMHO it would be useful for users to update Kannel download section
and put new Debian packages there. I'm ready to upload them but I don't
know where or whom to send these packages.

P.S.
I'm not sure who is the site admin so I write to list.

--
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.





--
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.







Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Alexander Malysh
Hi Nikos,

as far as I know, you only need to install client libraries and not the whole 
database and I don't see this as a big issue.
I hope we will switch later to dlopen...

Thanks,
Alexander Malysh

Am 22.03.2011 um 15:14 schrieb Nikos Balkanas:

 Hi,
 
 There is an issue with the current db compilation:
 
 - Sqlite3, Postgresql and MySQL
 
 That means for the binary to run, you need to install all 3 dbs. Additionaly, 
 since SQLbox tries to be cute about it, it creates its own databases and 
 tables and picks automatically the first one enabled, ie Sqlite3, if i am not 
 mistaken, or the first that it checks for, i.e. Mysql.
 Granted this is an issue to be fixed in sqlbox, but regardless i would 
 strongly encourage different builds, each one with a single, at most, DB.
 
 Already uploaded Debian packages may not be any better, but it would be nice 
 these to be better built.
 
 BR,
 Nikos
 - Original Message - From: Alexander Malysh amal...@kannel.org
 To: Milan P. Stanic m...@arvanta.net
 Cc: devel@kannel.org
 Sent: Tuesday, March 22, 2011 3:37 PM
 Subject: Re: Kannel 1.5.0 Debian packages
 
 
 Hi Milan,
 
 as far as I see, configuration should be fine. Could you please upload debs 
 and diff tar to some place
 and we will push it to download section then.
 
 Thanks,
 Alexander Malysh
 
 Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
 
 Hi Alex,
 
 On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
 Hi Milan,
 
 that would be great to have debian packages for 1.5.0
 
 I forgot to mention in original post that I sent these packages to
 someone in Romania who is tried it on Ubuntu. He told me that the same
 binary packages which I run on Debian also works well on Ubuntu but I
 forget which release he runs.
 
 could you please answer some questions:
 - how these packages compiled
 
 I patched 1.5.0 source with official Debian diff (actually tar file)
 because my intention is that the packages I build shouldn't differ a lot
 from Debian shipped packages. It is because of that if someone upgrade
 it from official Debian release to newly built packages s/he doesn't
 have to change anything in configuration files.
 
 - which DB support is enabled
 
 Sqlite3, Postgresql and MySQL.
 
 - compiler/configure flags used
 
 Here is the relevant section from debian/rules files:
 ./configure \
   --host=$(DEB_HOST_GNU_TYPE) \
   --build=$(DEB_BUILD_GNU_TYPE) \
   --enable-warnings \
   --prefix=/usr \
   --mandir=\$${prefix}/share/man \
   --infodir=\$${prefix}/share/info \
   --enable-docs --enable-pam --enable-pcre \
   --enable-ssl --with-ssl=/usr \
   --with-mysql --with-mysql-dir=/usr \
   --with-sqlite3 \
   --with-pgsql --with-pgsql-dir=/usr
 
 
 And here is relevant section from Makefile:
 
 
 LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
 -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
 -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
 -L/usr/local/lib -lsqlite3 -L/usr/lib
 
 CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
 -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
 -Wmissing-declarations -Wnested-externs -Winline -Wformat
 -Wformat-security -Wmissing-format-attribute -I/usr/include
 -I/usr/include/mysql -I/usr/include/postgresql
 
 LDFLAGS= -rdynamic
 
 Do you have some place to upload packages and we will push those then to 
 download section?
 
 Yes, I can upload it but would like to know first if the configuration
 above is correct. If not, I can rebuild it with your (or someone else)
 suggestions.
 
 Thanks,
 Alexander Malysh
 
 Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
 
 Hi all,
 
 I have noticed on us...@kannel.org list that some user have a problem
 how to build Kannel on Debian/Ubuntu systems.
 
 On the Kannel site in download section Debian packages are outdated
 (1.4.1 version for Debian sarge). Current Debian stable release is
 shipped with with Kannel 1.4.3 version which is old as we all know.
 
 I have built Kannel 1.5.0 (development release) for Debian squeeze
 (current stable) and for i386 and amd64 architectures. It works without
 problem for more than three or four months.
 
 IMHO it would be useful for users to update Kannel download section
 and put new Debian packages there. I'm ready to upload them but I don't
 know where or whom to send these packages.
 
 P.S.
 I'm not sure who is the site admin so I write to list.
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 
 
 
 -- 
 Kind regards,  Milan
 --
 Arvanta, IT Securityhttp://www.arvanta.net
 Please do not send me e-mail containing HTML code.
 
 
 
 




Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Milan P. Stanic
Hi Alex and Nikos,

On Tue, 2011-03-22 at 15:21, Alexander Malysh wrote:
 Hi Nikos,
 
 as far as I know, you only need to install client libraries and not the whole 
 database and I don't see this as a big issue.
 I hope we will switch later to dlopen...

You are right. Only client libraries (not the database) must be
installed to satisfy dependencies.
 
 Thanks,
 Alexander Malysh
 
 Am 22.03.2011 um 15:14 schrieb Nikos Balkanas:
 
  Hi,
  
  There is an issue with the current db compilation:
  
  - Sqlite3, Postgresql and MySQL
  
  That means for the binary to run, you need to install all 3 dbs. 
  Additionaly, since SQLbox tries to be cute about it, it creates its own 
  databases and tables and picks automatically the first one enabled, ie 
  Sqlite3, if i am not mistaken, or the first that it checks for, i.e. Mysql.
  Granted this is an issue to be fixed in sqlbox, but regardless i would 
  strongly encourage different builds, each one with a single, at most, DB.
  
  Already uploaded Debian packages may not be any better, but it would be 
  nice these to be better built.
  
  BR,
  Nikos
  - Original Message - From: Alexander Malysh amal...@kannel.org
  To: Milan P. Stanic m...@arvanta.net
  Cc: devel@kannel.org
  Sent: Tuesday, March 22, 2011 3:37 PM
  Subject: Re: Kannel 1.5.0 Debian packages
  
  
  Hi Milan,
  
  as far as I see, configuration should be fine. Could you please upload debs 
  and diff tar to some place
  and we will push it to download section then.
  
  Thanks,
  Alexander Malysh
  
  Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
  
  Hi Alex,
  
  On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
  Hi Milan,
  
  that would be great to have debian packages for 1.5.0
  
  I forgot to mention in original post that I sent these packages to
  someone in Romania who is tried it on Ubuntu. He told me that the same
  binary packages which I run on Debian also works well on Ubuntu but I
  forget which release he runs.
  
  could you please answer some questions:
  - how these packages compiled
  
  I patched 1.5.0 source with official Debian diff (actually tar file)
  because my intention is that the packages I build shouldn't differ a lot
  from Debian shipped packages. It is because of that if someone upgrade
  it from official Debian release to newly built packages s/he doesn't
  have to change anything in configuration files.
  
  - which DB support is enabled
  
  Sqlite3, Postgresql and MySQL.
  
  - compiler/configure flags used
  
  Here is the relevant section from debian/rules files:
  ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--enable-warnings \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--enable-docs --enable-pam --enable-pcre \
--enable-ssl --with-ssl=/usr \
--with-mysql --with-mysql-dir=/usr \
--with-sqlite3 \
--with-pgsql --with-pgsql-dir=/usr
  
  
  And here is relevant section from Makefile:
  
  
  LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
  -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
  -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
  -L/usr/local/lib -lsqlite3 -L/usr/lib
  
  CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
  -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
  -Wmissing-declarations -Wnested-externs -Winline -Wformat
  -Wformat-security -Wmissing-format-attribute -I/usr/include
  -I/usr/include/mysql -I/usr/include/postgresql
  
  LDFLAGS= -rdynamic
  
  Do you have some place to upload packages and we will push those then to 
  download section?
  
  Yes, I can upload it but would like to know first if the configuration
  above is correct. If not, I can rebuild it with your (or someone else)
  suggestions.
  
  Thanks,
  Alexander Malysh
  
  Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
  
  Hi all,
  
  I have noticed on us...@kannel.org list that some user have a problem
  how to build Kannel on Debian/Ubuntu systems.
  
  On the Kannel site in download section Debian packages are outdated
  (1.4.1 version for Debian sarge). Current Debian stable release is
  shipped with with Kannel 1.4.3 version which is old as we all know.
  
  I have built Kannel 1.5.0 (development release) for Debian squeeze
  (current stable) and for i386 and amd64 architectures. It works without
  problem for more than three or four months.
  
  IMHO it would be useful for users to update Kannel download section
  and put new Debian packages there. I'm ready to upload them but I don't
  know where or whom to send these packages.
  
  P.S.
  I'm not sure who is the site admin so I write to list.
  
  -- 
  Kind regards,  Milan
  --
  Arvanta, IT Securityhttp://www.arvanta.net
  Please do not send me e-mail containing HTML code.
  
  
  
  -- 
  Kind regards,  Milan

Re: Kannel 1.5.0 Debian packages

2011-03-22 Thread Milan P. Stanic
Hi Alex,

On Tue, 2011-03-22 at 14:37, Alexander Malysh wrote:
 Hi Milan,
 
 as far as I see, configuration should be fine. Could you please upload debs 
 and diff tar to some place
 and we will push it to download section then.

I will upload it later and send the URL to you in private mail.
 
 Thanks,
 Alexander Malysh
 
 Am 22.03.2011 um 14:09 schrieb Milan P. Stanic:
 
  Hi Alex,
  
  On Tue, 2011-03-22 at 09:56, Alexander Malysh wrote:
  Hi Milan,
  
  that would be great to have debian packages for 1.5.0
  
  I forgot to mention in original post that I sent these packages to
  someone in Romania who is tried it on Ubuntu. He told me that the same
  binary packages which I run on Debian also works well on Ubuntu but I
  forget which release he runs.
  
  could you please answer some questions:
  - how these packages compiled
  
  I patched 1.5.0 source with official Debian diff (actually tar file)
  because my intention is that the packages I build shouldn't differ a lot
  from Debian shipped packages. It is because of that if someone upgrade
  it from official Debian release to newly built packages s/he doesn't
  have to change anything in configuration files.
  
  - which DB support is enabled
  
  Sqlite3, Postgresql and MySQL.
  
  - compiler/configure flags used
  
  Here is the relevant section from debian/rules files:
  ./configure \
 --host=$(DEB_HOST_GNU_TYPE) \
 --build=$(DEB_BUILD_GNU_TYPE) \
 --enable-warnings \
 --prefix=/usr \
 --mandir=\$${prefix}/share/man \
 --infodir=\$${prefix}/share/info \
 --enable-docs --enable-pam --enable-pcre \
 --enable-ssl --with-ssl=/usr \
 --with-mysql --with-mysql-dir=/usr \
 --with-sqlite3 \
 --with-pgsql --with-pgsql-dir=/usr
  
  
  And here is relevant section from Makefile:
  
  
  LIBS=-lpq -lmysqlclient_r -lssl -ldl -lpam -lpcreposix -lrt -lresolv
  -lnsl -lm  -lpthread -lxml2 -L/usr/lib -lpcreposix -lpcre -L/usr/lib
  -lcrypto -lssl -rdynamic -L/usr/lib/mysql -lmysqlclient_r
  -L/usr/local/lib -lsqlite3 -L/usr/lib
  
  CFLAGS=-D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
  -D_LARGE_FILES= -I/usr/include/libxml2  -Wall -Wmissing-prototypes
  -Wmissing-declarations -Wnested-externs -Winline -Wformat
  -Wformat-security -Wmissing-format-attribute -I/usr/include
  -I/usr/include/mysql -I/usr/include/postgresql
  
  LDFLAGS= -rdynamic
  
  Do you have some place to upload packages and we will push those then to 
  download section?
  
  Yes, I can upload it but would like to know first if the configuration
  above is correct. If not, I can rebuild it with your (or someone else)
  suggestions.
  
  Thanks,
  Alexander Malysh
  
  Am 21.03.2011 um 23:46 schrieb Milan P. Stanic:
  
  Hi all,
  
  I have noticed on us...@kannel.org list that some user have a problem
  how to build Kannel on Debian/Ubuntu systems.
  
  On the Kannel site in download section Debian packages are outdated
  (1.4.1 version for Debian sarge). Current Debian stable release is
  shipped with with Kannel 1.4.3 version which is old as we all know.
  
  I have built Kannel 1.5.0 (development release) for Debian squeeze
  (current stable) and for i386 and amd64 architectures. It works without
  problem for more than three or four months.
  
  IMHO it would be useful for users to update Kannel download section
  and put new Debian packages there. I'm ready to upload them but I don't
  know where or whom to send these packages.
  
  P.S.
  I'm not sure who is the site admin so I write to list.
  
  -- 
  Kind regards,  Milan
  --
  Arvanta, IT Securityhttp://www.arvanta.net
  Please do not send me e-mail containing HTML code.
  
  
  
  -- 
  Kind regards,  Milan
  --
  Arvanta, IT Securityhttp://www.arvanta.net
  Please do not send me e-mail containing HTML code.
  
 

-- 
Kind regards,  Milan
--
Arvanta, IT Securityhttp://www.arvanta.net
Please do not send me e-mail containing HTML code.