perl dependency unnecessary

Bug #1249977 reported by Maximilian Schwerin on 2013-11-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)

Bug Description


lighttpd depends on the full perl package even though a dependency on perl-base/ libpcre3 should be enough for the basic functionality. Furthermore the dependency on init-system-helpers and libterm-readline-perl-perl pull in the full perl package again. This is not a major problem on a desktop or server system but on an embedded system the addional 20megs of perl packages (which are not needed otherwise) are an issue.

As far as I can see the dependency on init-system-helpers and libterm-readline-perl-perl can be completely dropped and the dependency on perl can be replaced by libpcre3.

Cheers, Maximilian

Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
Package: lighttpd_1.4.33-1ubuntu1

Maximilian Schwerin (mschwerin) wrote :

The attachment "lighttpd.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
information type: Public → Public Security
information type: Public Security → Public
gstrauss (gstrauss) wrote :

lighttpd developer here.

Perl is *not required* to build or run lighttpd.
libpcre3 is highly recommended for expected base lighttpd features.

Perl *is required* for 'make check' to run the unit tests that come with lighttpd source.

Maximilian Schwerin (mschwerin) wrote :

This is a debian/ubuntu packaging issue:

$ LANG=C apt-cache depends lighttpd=1.4.33-1+nmu2ubuntu2
  Depends: libattr1
  Depends: libbz2-1.0
  Depends: libc6
 |Depends: libgamin0
  Depends: libfam0
  Depends: libldap-2.4-2
  Depends: libpcre3
  Depends: libssl1.0.0
  Depends: zlib1g
  Depends: init-system-helpers
  Depends: perl
 |Depends: lsb-base
  Depends: <systemd>
  Depends: mime-support
  Depends: libterm-readline-perl-perl
  Suggests: openssl
  Suggests: rrdtool
  Suggests: apache2-utils
  Suggests: ufw
  Recommends: spawn-fcgi
  Conflicts: lighttpd:i386

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers