ITP: Tangaza -- Mobile phone-based group messaging system
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Jan 30 15:30:32 UTC 2012
Hi,
No idea why I didn't notice this message.
A quick response. I'll try to address other things later:
On Fri, Jan 27, 2012 at 08:30:08AM -0400, Ian Lawrence wrote:
> > I: tangaza: package-contains-empty-directory usr/lib/tangaza/agi-bin/Nokia/Common/
>
> Not sure why its seeing an empty dir?
Its'n not empty when you build it?
> > * If you want Python modules byte-compiled, see the standard python
> > helpers (dh_python2) and the python policy.
>
> Do we want byte-compiled modules? Also, havent had time to look into
> how to use dh_python2
Please do look into that. It mostly Just Works[tm].
>
> > - Should the package attempt to detect the asterisk user? If the
>
> Postinst detects the asterisk user to determine the permissions (for
> dirs and files) for the tangaza service (which also should run as the
> asterisk user)
>
> > #include extensions.d/*.conf
>
> I think it would definitely help avoid modifying existing configs. For
> now i've resorted to appending an include equivalent to the end of the
> necessary config files i.e. nagios.cfg, extensions.conf and
> kannel.conf to limit the modifications I am making on the configs such
> that it can easily disabled in case of need.
>
> > * Use dh_link (debian/tangaza.links) rather than manual 'ln -s'.
>
> our tangaza.links file of
>
> /etc/tangaza/tangaza-sms /etc/apache2/sites-enabled
> /usr/share/tangaza/media/js/jquery.js /usr/share/tangaza/doc/_build/html/_static
> /usr/share/pyshared/django/contrib/admin/media/css/* /usr/share/tangaza/media/css
> /usr/share/pyshared/django/contrib/admin/media/img /usr/share/tangaza/media/img
> /usr/share/pyshared/django/contrib/admin/media/js/* /usr/share/tangaza/media/js
> /etc/tangaza/nagios/tangaza-monitor /usr/lib/nagios/plugins
>
> gives this error:
>
> dh_link: link destination debian/tangaza/usr/share/tangaza/media/js is
> a directory
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
> debuild: fatal error at line 1335:
> dpkg-buildpackage -rfakeroot -D -us -uc -i.git -I.git failed
You need to have a single source and target. * will not do.
But do you really those?
>
> Am at a loss to know what the problem is here. The only thing I found
> was this bug report
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=438601 so perhaps we
> are hitting that.?
>
> On the subject of errors - on install we are getting this error:
>
> Starting Asterisk PBX: asterisk.
> Setting up tangaza (1.0-1) ...
> Checking if the database already exists. Waiting for the database root password
> We will now check if the database and user exists and create them if
> not there. Waiting for the MySQL root password
> Enter password:
Is that interactive? A postinst script can only be interactive if it
uses debconf.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Pkg-voip-maintainers
mailing list