Package: liblemonldap-ng-manager-perl
Version: 1.9.2-1
Severity: grave
Tags: patch
Justification: renders package unusable

Hi,

LemonLDAP::NG's manager 1.9.2-1 only displays unexpanded teplate names like
e.g. '{{translateTitle(button)}}' instead of having them expanded correctly.

This makes it unusable as none of its functionality is available.

Looking at the changelog I found the reason:
It tries to use minified versions of some files in Debian's libjs-angularjs 
package.

Unfortunately Debian's libjs-angularjs does not package the minified versions
since version 1.3.20-2 (see /usr/share/doc/libjs-angularjs/changelog.Debian.gz).

The attached patch for /usr/share/lemonldap-ng/manager/templates/scripts.tpl
fixes the issue by using the un-minified versions.

Thanks for maintaining LemonLDAP::NG in Debian
PEter

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages liblemonldap-ng-manager-perl depends on:
ii  debconf                       1.5.59
ii  libconvert-pem-perl           0.08-2
ii  libcrypt-openssl-rsa-perl     0.28-2+b3
ii  libhtml-template-perl         2.95-2
ii  libjs-angularjs               1.5.3-2
ii  libjs-jquery                  1.12.3-1
ii  libjson-perl                  2.90-1
ii  liblemonldap-ng-common-perl   1.9.2-1
ii  liblemonldap-ng-handler-perl  1.9.2-1
ii  libmoose-perl                 2.1605-1
ii  libplack-perl                 1.0039-1
ii  libwww-perl                   6.15-1
ii  perl                          5.22.2-1

Versions of packages liblemonldap-ng-manager-perl recommends:
ii  lemonldap-ng-doc                   1.9.2-1
ii  libapache-session-browseable-perl  1.1-1
ii  libapache2-mod-fcgid               1:2.3.9-1+b1
ii  libhttp-parser-xs-perl             0.17-1+b1
ii  libjson-xs-perl                    3.010-2+b1
ii  liblwp-protocol-https-perl         6.06-2
ii  libwww-perl                        6.15-1
ii  libxml-libxml-perl                 2.0123+dfsg-1+b1
ii  libxml-libxslt-perl                1.94-2+b1
ii  libxml-simple-perl                 2.22-1

Versions of packages liblemonldap-ng-manager-perl suggests:
ii  libclone-perl  0.38-1+b1

-- Configuration Files:
/etc/lemonldap-ng/manager-apache2.X.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/lemonldap-ng/manager/templates/scripts.tpl 
(from liblemonldap-ng-manager-perl package)
--- /usr/share/lemonldap-ng/manager/templates/scripts.tpl	2016-05-07 22:55:40.000000000 +0200
+++ /usr/share/lemonldap-ng/manager/templates/scripts.tpl	2016-05-21 13:23:27.205097843 +0200
@@ -32,10 +32,10 @@
 
 <script type="text/javascript" src="/javascript/jquery/jquery.min.js"></script>
 <script type="text/javascript" src="/javascript/es5-shim/es5-shim.min.js"></script>
-<script type="text/javascript" src="/javascript/angular.js/angular.min.js"></script>
-<script type="text/javascript" src="/javascript/angular.js/angular-cookies.min.js"></script>
+<script type="text/javascript" src="/javascript/angular.js/angular.js"></script>
+<script type="text/javascript" src="/javascript/angular.js/angular-cookies.js"></script>
 <script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/angular-ui-tree/dist/angular-ui-tree.min.js"></script>
-<script type="text/javascript" src="/javascript/angular.js/angular-animate.min.js"></script>
+<script type="text/javascript" src="/javascript/angular.js/angular-animate.js"></script>
 <script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
 <script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">bwr/file-saver.js/FileSaver.min.js"></script>
 <script type="text/javascript" src="<TMPL_VAR NAME="STATIC_PREFIX">js/llApp.min.js"></script>

Reply via email to