]> git.donarmstrong.com Git - roundcube.git/commitdiff
Imported Debian patch 0.2~alpha-2
authorVincent Bernat <bernat@debian.org>
Sat, 16 Aug 2008 11:22:08 +0000 (13:22 +0200)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 17:38:31 +0000 (19:38 +0200)
debian/bug.control [new file with mode: 0644]
debian/changelog
debian/conf/lighttpd.conf
debian/control
debian/control.in
debian/roundcube-core.cron.daily
debian/roundcube-core.postinst
debian/roundcube-core.postrm
debian/rules

diff --git a/debian/bug.control b/debian/bug.control
new file mode 100644 (file)
index 0000000..b627c1b
--- /dev/null
@@ -0,0 +1,2 @@
+Submit-As: roundcube
+Report-With: roundcube-core
index f50281aaad30b47048986d596728c89f5dddced7..77fc14fe9c73d7d95a713b42fa17268d9a1d2631 100644 (file)
@@ -1,3 +1,21 @@
+roundcube (0.2~alpha-2) experimental; urgency=low
+
+  [ Vincent Bernat ]
+  * Fix lintian warnings introduced by previous upload
+  * Fix lighttpd.conf to make it work with latest versions (Closes: #494044)
+  * Do not prepend path to lighty util in postinst and postrm, as per
+    Policy Manual section 6.1
+  * Ship a bug/control file to have all bugs submitted against roundcube
+    metapackage
+  * Fix debian/roundcube-core.cron.daily to use
+    /etc/default/roundcube-core instead of /etc/default/roundcube which
+    should not exist any more
+
+  [ Romain Beauxis ]
+  * Versioned roundcube-core dependency for roundcube 
+
+ -- Vincent Bernat <bernat@debian.org>  Sat, 16 Aug 2008 13:22:08 +0200
+
 roundcube (0.2~alpha-1) experimental; urgency=low
 
   * New upstream release
@@ -12,7 +30,7 @@ roundcube (0.2~alpha-1) experimental; urgency=low
   * Add a new patch to fix a login problem
   * Depends on tinymce >= 3
 
- -- Vincent Bernat <bernat@debian.org>  Sun, 22 Jun 2008 12:05:44 +0200
+ -- Vincent Bernat <bernat@debian.org>  Sun, 22 Jun 2008 14:10:44 +0200
 
 roundcube (0.1.1-7) unstable; urgency=low
 
index d64b232cbb040e3155aa2375aae3f6f94a67efb9..38c43d4bcde04639d392346a81f39a38b44ef6cb 100644 (file)
@@ -2,11 +2,8 @@
 # virtual host configuration. Do not forget to adapt the rest of the
 # configuration.
 
-alias.url += (
-     "/roundcube" => "/var/lib/roundcube",
-     # The following line allow to use tinymce. Look at README.Debian
-     "/roundcube/program/js/tiny_mce" => "/usr/share/tinymce/www"
-)
+alias.url += ("/roundcube/program/js/tiny_mce" => "/usr/share/tinymce/www")
+alias.url += ("/roundcube" => "/var/lib/roundcube")
 
 $HTTP["url"] =~ "^/roundcube" {
   server.follow-symlink = "enable"
index 55b21d5def9297d7d9c24be5af651de50a29a86a..e36adcc8d86d6e7a9e90db7271d1dadb9dc5f550 100644 (file)
@@ -27,7 +27,7 @@ Description: skinnable AJAX based webmail solution for IMAP servers
 
 Package: roundcube
 Architecture: all
-Depends: roundcube-sqlite | roundcube-db, roundcube-core
+Depends: roundcube-sqlite | roundcube-db, roundcube-core (= ${binary:Version})
 Description: skinnable AJAX based webmail solution for IMAP servers
  RoundCube Webmail is a browser-based multilingual IMAP client with an
  application-like user interface. It provides full functionality
index af9fe6e74365352fc181ab4896d78e0ae6598083..cbfa75bd05f22ef185369dabbfd7bc90acb3e328 100644 (file)
@@ -11,7 +11,7 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-roundcube/roundcube
 
 Package: roundcube-core
 Architecture: all
-Depends: dbconfig-common, debconf | debconf-2.0, apache2 | lighttpd | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime (>= 1.5.0), ucf, tinymce (<< 3), ${misc:Depends}, libmagic1
+Depends: dbconfig-common, debconf | debconf-2.0, apache2 | lighttpd | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime (>= 1.5.0), ucf, tinymce (>= 3), ${misc:Depends}, libmagic1
 Replaces: roundcube
 Conflicts: roundcube (<< 0.1~rc2-2)
 Description: skinnable AJAX based webmail solution for IMAP servers
@@ -27,7 +27,7 @@ Description: skinnable AJAX based webmail solution for IMAP servers
 
 Package: roundcube
 Architecture: all
-Depends: roundcube-sqlite | roundcube-db, roundcube-core
+Depends: roundcube-sqlite | roundcube-db, roundcube-core (= ${binary:Version})
 Description: skinnable AJAX based webmail solution for IMAP servers
  RoundCube Webmail is a browser-based multilingual IMAP client with an
  application-like user interface. It provides full functionality
index 4b071ca2684f1c23463c4d7c7da7c6e80f73a496..0fe51fc1e21364cf1e11a3a1f446d6912985adf5 100644 (file)
@@ -2,8 +2,8 @@
 
 MAX_TMPFILE_LIFETIME=5
 # MAX_TMPFILE_LIFETIME can be overridden in this file
-if [ -r /etc/default/roundcube ]; then
-       . /etc/default/roundcube
+if [ -r /etc/default/roundcube-core ]; then
+       . /etc/default/roundcube-core
 fi
 
 find /var/lib/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME -print0 | xargs -0 -r rm
index fe3094f50915dac8b0720cc1549a579f5c264b1d..80a085aaaa2c5065473e49250dd3e95636ce4558 100644 (file)
@@ -23,7 +23,7 @@ lighttpd_install() {
                        echo "Lighttpd not installed, skipping"
                else
                        ln -s /etc/roundcube/lighttpd.conf /etc/lighttpd/conf-available/50-roundcube.conf
-                       /usr/sbin/lighty-enable-mod roundcube
+                       lighty-enable-mod roundcube
                fi
        fi
 }
index ae7bbd949ef59f62d46a6d42bf7317210298da42..1e0467b93225dea7fa3a8e01facf61ff2a28a2c4 100644 (file)
@@ -19,7 +19,7 @@ lighttpd_remove() {
                if [ ! -x /usr/sbin/lighty-disable-mod ] ; then
                        echo "Lighttpd not installed, skipping"
                else
-                       /usr/sbin/lighty-disable-mod roundcube
+                       lighty-disable-mod roundcube
                fi
                # See bug #448682
                if [ -h /etc/lighttpd/conf-enabled/50-roundcube.conf ] ; then
index fea516c1737f17407ceff2dda755c70c8586a9c1..acba5c651079bc17f8224ce01d15e3c75f67c923 100755 (executable)
@@ -36,7 +36,7 @@ binary-install/roundcube-core::
        cp -r $(CURDIR)/debian/sql/* $(CURDIR)/debian/roundcube-core/usr/share/dbconfig-common/data/roundcube/upgrade/.
 
        # Some files are executable while not being scripts or binary...
-       find $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/localization -type f -print0 | xargs -0 chmod -x
+       find $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program -type f -print0 | xargs -r0 chmod -x
        # Remove useless file
        rm $(CURDIR)/debian/roundcube-core/usr/share/roundcube/bin/*.sh
        find $(CURDIR)/debian/roundcube-core -name '._*' -print0 | xargs -r0 rm
@@ -44,5 +44,9 @@ binary-install/roundcube-core::
        rm -rf $(CURDIR)/debian/roundcube-core/usr/share/roundcube/program/js/tiny_mce
        dh_link -proundcube-core usr/share/tinymce/www usr/share/roundcube/program/js/tiny_mce
 
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/% :
+       install -d $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)
+       install -m 644 $(CURDIR)/debian/bug.control $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/control
+
 clean::
        debconf-updatepo