~ubuntu-branches/ubuntu/saucy/horde3/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Gregory Colpart
  • Date: 2008-09-22 03:28:05 UTC
  • mfrom: (1.1.8 upstream) (8.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080922032805-79iobt5nt5101bf6
Tags: 3.2.2+debian0-1
* New upstream release.
* This version is mainly for fixing two security bugs: unescaped output in
  the MIME library and improve the XSS filter for HTML (See CVE-2008-3823 for
  more information). (Closes: #499579)
* Add changelog entry with CVE ID in changelog for 3.2.1+debian0-1.
* Fix misspelling in Recommends: field. (Closes: #499001)
* Improve upgrade path Etch->Lenny with forcing to show diff of
  /etc/horde/horde3/registry.php because all horde components are now
  inactive by default. (Closes: #493885)
* Change Gregory Colpart's email address in debian/control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        mkdir -p debian/horde3/usr/share/horde3/scripts
57
57
        cp scripts/temp-cleanup.cron debian/horde3/usr/share/horde3/scripts
58
58
        chmod +x debian/horde3/usr/share/horde3/scripts/temp-cleanup.cron
 
59
        cp scripts/alarms.php debian/horde3/usr/share/horde3/scripts
 
60
 
59
61
        cp debian/horde3.default debian/horde3/etc/default/horde3
60
62
 
61
63
        #### create htaccess  to restrict acess by web ####
66
68
        printf "\n\$$conf['log']['name'] = '/var/log/horde/horde3.log';" >> \
67
69
                debian/horde3/etc/horde/horde3/conf.php
68
70
        chown root:www-data debian/horde3/var/log/horde
 
71
        chmod 750 debian/horde3/var/log/horde
 
72
 
 
73
        #### add default configuration to avoid broken pages
 
74
        printf "\n\$$conf['datatree']['driver'] = 'null';" >> \
 
75
                debian/horde3/etc/horde/horde3/conf.php
 
76
        printf "\n\$$conf['share']['no_sharing'] = true;" >> \
 
77
                debian/horde3/etc/horde/horde3/conf.php
 
78
        printf "\n\$$conf['cache']['driver'] = 'none';" >> \
 
79
                debian/horde3/etc/horde/horde3/conf.php
69
80
 
70
81
        #### change made for program run with no problems ###
71
82
        cat config/registry.php.dist | \
130
141
        #### (This hack is temporary because waiting xinha package) ####
131
142
        rm debian/horde3/usr/share/horde3/services/editor/xinha/license.txt
132
143
 
 
144
        #### Remove javascript source files
 
145
        rm -rf  debian/horde3/usr/share/horde3/js/src/
 
146
 
133
147
# Build architecture-dependent files here.
134
148
binary-arch: build install
135
149
# We have nothing to do by default.