[Pkg-owncloud-commits] [owncloud-doc] 36/80: Add instructions on building lighttpd for Debian stable.

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 02:54:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit c17b803725c6fcc0ff2630362b11f4c3e4e328a7
Author: Scott Sweeny <ssweeny at gmail.com>
Date:   Mon Jan 13 20:27:50 2014 -0500

    Add instructions on building lighttpd for Debian stable.
    
    Some Owncloud features (Namely contact editing) don't work with Lighttpd on Debian stable because it doesn't support the PATCH verb. Add instructions on how to patch that functionality in and build the resulting package.
---
 admin_manual/installation/installation_source.rst | 25 +++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/admin_manual/installation/installation_source.rst b/admin_manual/installation/installation_source.rst
index 8c42c11..69f1fec 100644
--- a/admin_manual/installation/installation_source.rst
+++ b/admin_manual/installation/installation_source.rst
@@ -506,6 +506,31 @@ Disable directory listing::
     $HTTP["url"] =~ "^/owncloud($|/)" {
          dir-listing.activate = "disable"
        }
+       
+**Note for Lighttpd users on Debian stable (wheezy):**
+
+Recent versions of Owncloud make use of the **HTTP PATCH** feature, which was added to Lighttpd at version 1.4.32 while Debian stable only ships 1.4.31. The patch is simple, however, and easy to integrate if you're willing to build your own package.
+
+Download the patch from http://redmine.lighttpd.net/attachments/download/1370/patch.patch
+
+Make sure you have the build tools you need::
+
+    apt-get build-dep lighttpd
+    apt-get install quilt patch devscripts
+    
+Patch the package source::
+
+    apt-get source lighttpd
+    cd lighttpd-1.4.31
+    export QUILT_PATCHES=debian/patches # This tells quilt to put the patch in the right spot
+    quilt new http-patch.patch
+    quilt add src/connections.c src/keyvalue.c src/keyvalue.h # Make quilt watch the files we'll be changing
+    patch -p1 -i /patch/to/downloaded/patch.patch
+    quilt refresh
+
+Increment the package version with ``dch -i``. This will open the changelog with a new entry. You can save as-is or add info to it. The important bit is that the version is bumped so apt will not try to "upgrade" back to Debian's version.
+
+Then build with ``debuild`` and install the .debs for any Lighttpd packages you already have installed.
 
 Yaws Configuration
 ******************

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list