~ubuntu-branches/ubuntu/oneiric/lighttpd/oneiric

« back to all changes in this revision

Viewing changes to debian/lighttpd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-06-27 13:13:01 UTC
  • mfrom: (6.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100627131301-hno77ea67jxa6m1g
Tags: 1.4.26-3ubuntu1
* Merge from debian unstable (LP: #599010), remaining changes:
  - debian/control: 
    + libgamin-dev rather than libfam-dev to fix startup warning.
    + debhelper Build-depends bumped to (>= 7.0.50) for
      overrides in rules file. 
  - debian/lighttpd.init: clean environment; Check syntax during start/reload
    restart/force-reload.
  - debian/index.html: s/Debian/Ubuntu/g branding on the default page.
  - Added a UFW profile set:
    + debian/lighttpd.dirs: added etc/ufw/applications.d
    + debian/rules: install the ufw profile.
    + debian/control: Suggests on ufw.
  - Add lighttpd-dev package:
    + debian/control: Added lighttpd-dev package; Build-depends on
      automake, libtool
    + debian/lighttpd-dev.install: Added.
  - debian/rules:
    + Add override_dh_installinit to set "defaults 91 09" to not start
      before apache2 but in the same runlevel with the same priority.
  - debian/patches/build-dev-package.patch: Updated
  - debian/lighttpd.conf: Comment 'use-ipv6.pl' by default, which causes
    failure to bind port in ipv4 (LP: #551211)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        then
7
7
                cp /usr/share/lighttpd/index.html /var/www/index.lighttpd.html
8
8
        fi
9
 
        mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null
10
 
        chown www-data:www-data /var/log/lighttpd /var/run/lighttpd
 
9
        chown www-data:www-data /var/log/lighttpd
11
10
        chown www-data:www-data /var/cache/lighttpd /var/cache/lighttpd/compress /var/cache/lighttpd/uploads
12
 
        chmod 0750 /var/log/lighttpd /var/run/lighttpd
 
11
        chmod 0750 /var/log/lighttpd
13
12
 
14
13
fi
15
14