--- fusedav-0.2.orig/debian/README.source +++ fusedav-0.2/debian/README.source @@ -0,0 +1,4 @@ +This package uses dpatch to manage all modifications to the upstream source. +See /usr/share/doc/dpatch/README.source.gz for instructions how to generate +the patched source, add a new modification, and remove an existing one. + --- fusedav-0.2.orig/debian/changelog +++ fusedav-0.2/debian/changelog @@ -0,0 +1,48 @@ +fusedav (0.2-3.1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:23:52 +0000 + +fusedav (0.2-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix installability on kfreebsd-*. (Closes: #634678) + + -- Robert Millan Fri, 02 Dec 2011 19:31:10 +0000 + +fusedav (0.2-3) unstable; urgency=low + + * debian/control: + - Updated to standards-version 3.8.4 -- no changes. + - Build-depend on libneon27-gnutls-dev rather than libneon26-gnutls-dev. + - Let fusedav depend on ${misc:Depends} as suggested by debhelper. + * debian/rules: + - Use 'filter' rather than 'findstring' to make sure to match words rather + than substrings. + * debian/patches: + - Added bts532763-neon27, adding support for neon27; thanks to Andreas + Metzler for reporting this (Closes: #532763). + - Simplified ne_lfs -- check for NE_FEATURE_LFS only if ne_off_t is not + large enough for LFS; any other checks/defines are no longer required + for neon27. + * debian/README.source: + - Added generic instructions for dpatch. + + -- Sebastian Harl Fri, 04 Jun 2010 16:28:53 +0200 + +fusedav (0.2-2) unstable; urgency=low + + * Fix ne_lfs.dpatch to work on 32bit systems as well (Closes: #428744). + + -- Sebastian Harl Thu, 14 Jun 2007 19:41:36 +0100 + +fusedav (0.2-1) unstable; urgency=low + + * Initial release (Closes: #379147). + * Added manpage (fusedav.1). + * Added ne_lfs.dpatch: Fix the use of neon's built-in large file support on + 64bit architectures. + + -- Sebastian Harl Tue, 23 Jan 2007 15:47:24 +0100 + --- fusedav-0.2.orig/debian/compat +++ fusedav-0.2/debian/compat @@ -0,0 +1 @@ +5 --- fusedav-0.2.orig/debian/control +++ fusedav-0.2/debian/control @@ -0,0 +1,25 @@ +Source: fusedav +Section: web +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Sebastian Harl +Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), autotools-dev, libneon27-gnutls-dev, libfuse-dev (>= 2.5), libattr1-dev, lynx, dpatch +Standards-Version: 3.8.4 +Homepage: http://0pointer.de/lennart/projects/fusedav/ +Vcs-Git: git://git.tokkee.org/pkg-fusedav.git +Vcs-Browser: http://git.tokkee.org/?p=pkg-fusedav.git + +Package: fusedav +Architecture: linux-any kfreebsd-any +Depends: fuse [linux-any] | fuse4bsd [kfreebsd-any], ${shlibs:Depends}, ${misc:Depends} +Description: filesystem to mount WebDAV shares + fusedav is a userspace filesystem driver that allows you to mount WebDAV + shares. This way you can transparently edit and manage files on a remote + server. + . + It uses FUSE (Filesystem in USErspace), thus you need a FUSE-enabled kernel. + . + WebDAV (Web-based Distributed Authoring and Versioning) is a set of + extensions to the HTTP protocol which allows users to collaboratively edit + and manage files on remote web servers. + --- fusedav-0.2.orig/debian/copyright +++ fusedav-0.2/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Sebastian Harl on +Tue, 23 Jan 2007 15:47:24 +0100. + +It was downloaded from . + +Upstream Author: + Lennart Poettering + +Copyright Holder: + Lennart Poettering + +License: + + Copyright © 2006 Lennart Poettering + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is © 2007-2010, Sebastian Harl and +is licensed under the GPL, see above. + --- fusedav-0.2.orig/debian/fusedav.1 +++ fusedav-0.2/debian/fusedav.1 @@ -0,0 +1,59 @@ +.TH FUSEDAV 1 "August 24, 2006" + +.SH NAME +fusedav \- mount WebDAV shares + +.SH SYNOPSIS +\fBfusedav\fR [\fB-hDL\fR] + [\fB-t\fR \fIsecs\fR] + [\fB-u\fR \fIusername\fR] [\fB-p\fR \fIpassword\fR] + [\fB-o\fR \fIoptions\fR] + \fIURL mountpoint\fR + +.SH DESCRIPTION +\fBfusedav\fR is a userspace filesystem driver that allows you to mount WebDAV +shares. This way you can transparently edit and manage files on a remote +server. As long as the \fBfusedav\fR process is running, the WebDAV share +located at \fIURL\fR is accessible under \fImountpoint\fR. + +If username and password are required and you did not specify them on the +command line you will be prompted as soon as you are trying to access the +mounted share. + +.SH OPTIONS +.TP +\fB-h\fR +Show summary of options. +.TP +\fB-D\fR +Enable debug mode. +.TP +\fB-L\fR +Lock the repository during mount. (Not properly supported on all servers, hence +not enabled by default.) +.TP +\fB-t\fR \fIsecs\fR +Set lock timeout to \fIsecs\fR seconds. +.TP +\fB-u\fR \fIusername\fR +Use \fIusername\fR for authentication if required. +.TP +\fB-p\fR \fIpassword\fR +Use \fIpassword\fR for authentication if required. +.TP +\fB-o\fR \fIoptions\fR +Pass \fIoptions\fR as additional mount options to FUSE. +.TP +\fIURL\fR +Location of the WebDAV share. +.TP +\fImountpoint\fR +Local mountpoint of the WebDAV share. + +.SH AUTHOR +\fBfusedav\fR was written by Lennart Poettering . +.PP +This manual page was written by Sebastian Harl , for the +Debian project (but may be used by others). + --- fusedav-0.2.orig/debian/patches/00list +++ fusedav-0.2/debian/patches/00list @@ -0,0 +1,3 @@ +ne_lfs.dpatch +bts532763-neon27.dpatch + --- fusedav-0.2.orig/debian/patches/bts532763-neon27.dpatch +++ fusedav-0.2/debian/patches/bts532763-neon27.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## bts532763-neon27.dpatch by Sebastian Harl +## +## DP: Added support for neon27. + +@DPATCH@ + +diff a/src/filecache.c b/src/filecache.c +--- a/src/filecache.c ++++ b/src/filecache.c +@@ -233,8 +233,13 @@ fail: + } + + static int load_up_to_unlocked(struct file_info *fi, off_t l) { +- ++#ifndef ne_get_range64 ++#define NE_GET_RANGE ne_get_range ++ ne_content_range range; ++#else ++#define NE_GET_RANGE ne_get_range64 + ne_content_range64 range; ++#endif + ne_session *session; + + assert(fi); +@@ -257,7 +262,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; +@@ -265,6 +270,7 @@ static int load_up_to_unlocked(struct file_info *fi, off_t l) { + + fi->present = l; + return 0; ++#undef NE_GET_RANGE + } + + int file_cache_read(void *f, char *buf, size_t size, off_t offset) { --- fusedav-0.2.orig/debian/patches/ne_lfs.dpatch +++ fusedav-0.2/debian/patches/ne_lfs.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## ne_lfs.dpatch by Sebastian Harl +## +## DP: Check for NE_FEATURE_LFS only if ne_off_t is not large enough for LFS. + +@DPATCH@ + +diff a/src/fusedav.c b/src/fusedav.c +--- a/src/fusedav.c ++++ b/src/fusedav.c +@@ -1387,7 +1387,7 @@ int main(int argc, char *argv[]) { + + if (!ne_has_support(NE_FEATURE_SSL) || + !ne_has_support(NE_FEATURE_TS_SSL) || +- !ne_has_support(NE_FEATURE_LFS)) { ++ !((sizeof(ne_off_t) >= 8) || ne_has_support(NE_FEATURE_LFS))) { + fprintf(stderr, "fusedav requires libneon built with SSL, SSL thread safety and LFS enabled.\n"); + goto finish; + } --- fusedav-0.2.orig/debian/rules +++ fusedav-0.2/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f +# debian/rules for fusedav +# +# Written by Sebastian Harl . + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +BUILDDIR = ./debian/build/ + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +include /usr/share/dpatch/dpatch.make + +$(BUILDDIR)/config.status: configure $(DPATCH_STAMPFN) + dh_testdir + [ -e $(BUILDDIR) ] || mkdir $(BUILDDIR) + cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" ../../configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr + +build: build-stamp + +build-stamp: $(BUILDDIR)/config.status + dh_testdir + + $(MAKE) -C $(BUILDDIR) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + rm -rf $(BUILDDIR) + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) -C $(BUILDDIR) install DESTDIR=$(CURDIR)/debian/fusedav + +binary-indep: + # nothing to do here + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs README + dh_installman debian/fusedav.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + --- fusedav-0.2.orig/debian/watch +++ fusedav-0.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://0pointer.de/lennart/projects/fusedav/ fusedav-(.*)\.tar\.gz +