[Pkg-javascript-devel] using libjs-jquery for asterisk-gui

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jun 2 15:31:51 UTC 2009


Hi

A small advice if I may,

(I'm not subscribed to this list)

I'm working on a package called asterisk-gui: 
ITP: http://bugs.debian.org/496258 . See also below.

The package itself is mostly a bunch of static HTML and javascript files
that are served by the internal httpd server of Asterisk (the PBX) and
mostly use the Asterisk Manager over HTTP interface.

I generally have some general concerns about the lack of awareness to
security. Mostly about the excessive usage of System() running shell
scripts. But compared to FreePBX it can sometimes be nicer. It is also
simpler.

One remaining this I have with packging it is a warning from lintian:

  W: asterisk-gui: embedded-javascript-library usr/share/asterisk/static-http/config/js/jquery.js

But merely symlinking that file to any
/usr/share/javascript/jquery/jquery.*.js did not help: there are other
jquery plugins there:

js$ ls jquery.*                   
jquery.autocomplete.js  jquery.js                    jquery.ui.core.js          
jquery.date_input.js    jquery.tablesorter.js        jquery.ui.draggable.js     
jquery.delegate-1.1.js  jquery.tablesorter.pager.js  jquery.ui.sortable.js      
jquery.fixedheader.js   jquery.tooltip.js            jquery.ui.tabs.js

Replacing jquery.js with the symlink gives me a non-functional system. 
Any way to use the jquery package?


More information on the package asterisk-gui:

Upstream SVN: http://svn.asterisk.org/svn/asterisk-gui/branches/2.0

(HTML is under config/ , of which javascript is under config/js/ )

Debian packaging:
  svn co svn://svn.debian.org/pkg-voip/asterisk-gui/trunk/
  http://svn.debian.org/viewsvn/pkg-voip/asterisk-gui/trunk/

Package:

  http://updates.xorcom.com/pkg-voip/repo-i386-lenny-experimental/pool/main/a/asterisk-gui/

-- 
               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-javascript-devel mailing list