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

David Prévot taffit at moszumanska.debian.org
Fri Apr 18 21:41:35 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 7b98045aa1707dd40cfd622be4a919957eb3bf94
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 f3d2105..d6266a2 100644
--- a/admin_manual/installation/installation_source.rst
+++ b/admin_manual/installation/installation_source.rst
@@ -271,6 +271,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