[Pkg-javascript-devel] Bug#912002: javascript-common: installs lighttpd config files when lighttpd is not installed
Jade McCormick
jade at cerberus.heptet.us
Sat Oct 27 07:14:41 BST 2018
Package: javascript-common
Version: 11
Severity: important
Dear Maintainer,
I discovered lighttpd config files in /etc when I did not haave the
lighttpd application installed. This related to several other bugs
filed with javascript-common package, including #474913
(javascript-common overrides /javascript globally), #818585
(javascript-common: nginx snippet).
I don't expect lighttpd config files to be installed when I don't have
lighttpd installed. It's unsightly and it clutters my machine.
This reflects fundamental design flaws in this package. Debian should
not be imposing a structure upon the URI namespace that may or may not
exist on my machine. It may be completely inappropriate on the basis of
the hosts application requirements.
I suggest rethinking of this package, its design, intent, and ability
to help the majority of debain users. On the other hand, I don't know the purpose
this package fulfills. At the very least, the administrator should be asked
if that is an appropriate system change to be made.
Can't applications simply embed the CDN address for any javascript
they want, and don't include themselves? I don't see the real
advantage in having a javascript-common package.
#581708 has an idea I don't fully understand.
"javascript-common could provide an Apache alias
javascript-common-bundles, javascript-common could set a
trigger on files in /usr/share/javascript users and packages
could define bundles in /etc/javascript-common/bundles/*.conf
the trigger would then concatenate the files listed in the
bundle and optionally compress them with whatever javascript
compressor is defined in the configuration (yui-compressor
should be the default)"
That seems complex when CDN use would solve almost 100% of the problem
at hand (whatever it is).
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
javascript-common depends on no packages.
javascript-common recommends no packages.
Versions of packages javascript-common suggests:
ii apache2 [httpd] 2.4.34-1
-- no debconf information
More information about the Pkg-javascript-devel
mailing list