Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=neon28.git;a=commitdiff;h=1a397163410c735dd0c2ac956a698b0220be45f0

commit 1a397163410c735dd0c2ac956a698b0220be45f0
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Fri Nov 21 12:56:54 2008 +0100

fusedav-0.2-6-i686

- add patch to build with neon>=0.28.x

diff --git a/source/network-extra/fusedav/FrugalBuild 
b/source/network-extra/fusedav/FrugalBuild
index be6aa36..459d4d0 100644
--- a/source/network-extra/fusedav/FrugalBuild
+++ b/source/network-extra/fusedav/FrugalBuild
@@ -3,17 +3,19 @@

pkgname=fusedav
pkgver=0.2
-pkgrel=5
+pkgrel=6
pkgdesc="a Linux userspace file system driver for mounting WebDAV shares."
url="http://0pointer.de/lennart/projects/fusedav/";
-depends=('fuse>=2.5' 'neon>=0.26' 'heimdal>=1.2.1')
+depends=('fuse>=2.5' 'neon>=0.28.3' 'heimdal>=1.2.1')
makedepends=('xfsprogs-attr')
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url |Flasttar"
-source=(http://0pointer.de/lennart/projects/fusedav/fusedav-$pkgver.tar.gz 
compile.patch)
+source=(http://0pointer.de/lennart/projects/fusedav/fusedav-$pkgver.tar.gz \
+       compile.patch neon28.patch)
sha1sums=('479088de5c8f02233f739441d218f2a641a68c2c' \
-          'feb9ba5908f6cf975a7f42a701b450bb83a70f00')
+          'feb9ba5908f6cf975a7f42a701b450bb83a70f00' \
+          'd2d7c4fe0b0a65ec805b6903271459558575efaf')

build()
{
diff --git a/source/network-extra/fusedav/neon28.patch 
b/source/network-extra/fusedav/neon28.patch
new file mode 100644
index 0000000..3e6c9ee
--- /dev/null
+++ b/source/network-extra/fusedav/neon28.patch
@@ -0,0 +1,91 @@
+diff --git a/doc/README b/doc/README
+index ec94fc5..b94f035 100644
+--- a/doc/README
++++ b/doc/README
+@@ -1,4 +1,3 @@
+-
+                                   fusedav 0.2
+
+    Copyright 2004,2006 Lennart Poettering <mzshfrqni (at) 0pointer (dot)
+@@ -15,19 +14,19 @@
+
+ License
+
+-   This program is free software; you can redistribute it and/or modify
+-   it under the terms of the GNU General Public License as published by
+-   the Free Software Foundation; either version 2 of the License, or (at
+-   your option) any later version.
++   This program is free software; you can redistribute it and/or modify it
++   under the terms of the GNU General Public License as published by the
++   Free Software Foundation; either version 2 of the License, or (at your
++   option) any later version.
+
+    This program is distributed in the hope that it will be useful, but
+    WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+    General Public License for more details.
+
+-   You should have received a copy of the GNU General Public License
+-   along with this program; if not, write to the Free Software
+-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++   You should have received a copy of the GNU General Public License along
++   with this program; if not, write to the Free Software Foundation, Inc.,
++   675 Mass Ave, Cambridge, MA 02139, USA.
+
+ News
+
+@@ -43,9 +42,9 @@ News
+
+ Overview
+
+-   fusedav is a Linux userspace file system driver for mounting
+-   [12]WebDAV shares. It makes use of [13]FUSE as userspace file system
+-   API and [14]neon as WebDAV API.
++   fusedav is a Linux userspace file system driver for mounting [12]WebDAV
++   shares. It makes use of [13]FUSE as userspace file system API and
++   [14]neon as WebDAV API.
+
+ Current Status
+
+@@ -57,8 +56,8 @@ Documentation
+    and the local mount point:
+ fusedav http://webdav.foo.bar/ /tmp/test
+
+-   You will be queried for a username and password if required. As long
+-   as the fusedav process is running, the file system is accessible under
++   You will be queried for a username and password if required. As long as
++   the fusedav process is running, the file system is accessible under
+    /tmp/test.
+
+ Requirements
+@@ -96,7 +95,7 @@ svn checkout svn://svn.0pointer.net/fusedav/trunk fusedav
+
+    If you want to be notified whenever I release a new version of this
+    software use the subscription feature of [22]Freshmeat.
+-     _________________________________________________________________
++     __________________________________________________________________
+
+
+     Lennart Poettering <mzshfrqni (at) 0pointer (dot) de>, April 2006
+diff --git a/src/filecache.c b/src/filecache.c
+index 3a8b215..d0590b2 100644
+--- a/src/filecache.c
++++ b/src/filecache.c
+@@ -234,7 +234,7 @@ fail:
+
+ static int load_up_to_unlocked(struct file_info *fi, off_t l) {
+
+-    ne_content_range64 range;
++    ne_content_range range;
+     ne_session *session;
+
+     assert(fi);
+@@ -257,7 +257,7 @@ static int load_up_to_unlocked(struct file_info *fi, off_t 
l) {
+     range.end = l-1;
+     range.total = 0;
+
+-    if (ne_get_range64(session, fi->filename, &range, fi->fd) != NE_OK) {
++    if (ne_get_range(session, fi->filename, &range, fi->fd) != NE_OK) {
+         fprintf(stderr, "GET failed: %s\n", ne_get_error(session));
+         errno = ENOENT;
+         return -1;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to