--- obexfs-0.11.orig/debian/watch +++ obexfs-0.11/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://triq.net/obexftp/obexfs-(.*)\.tar\.gz +http://triq.net/obexftp/obexfs-(.*)\.tar\.bz2 --- obexfs-0.11.orig/debian/rules +++ obexfs-0.11/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f + +# 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 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + + +config.status: configure + dh_testdir +ifneq "$(wildcard /usr/share/misc/config.sub)" "" +ifneq "$(wildcard config.sub)" "" + mv config.sub config.sub.orig +endif + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" +ifneq "$(wildcard config.guess)" "" + mv config.guess config.guess.orig +endif + cp -f /usr/share/misc/config.guess config.guess +endif + CFLAGS="$(CFLAGS) -Wl,-z,defs" \ + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + $(MAKE) -C debian/manpages + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) -C debian/manpages clean || true + $(MAKE) distclean || true + rm -f config.sub config.guess || true +ifneq "$(wildcard config.sub.orig)" "" + mv config.sub.orig config.sub +endif +ifneq "$(wildcard config.guess.orig)" "" + mv config.guess.orig config.guess +endif + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/obexfs + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + 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 --- obexfs-0.11.orig/debian/changelog +++ obexfs-0.11/debian/changelog @@ -0,0 +1,46 @@ +obexfs (0.11-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Depend on fuse instead of fuse-utils. (Closes: #694987) + + -- Ansgar Burchardt Sun, 12 May 2013 15:42:20 +0200 + +obexfs (0.11-1) unstable; urgency=low + + * New upstream release + * Bump debhelper compat level to 7 + * Update to standards version 3.8.1.0: no changes required + * debian/control: require obexftp >= 0.22 + * debian/conrol: fix obexftp dependency (closes: #526456) + * Update README.debian: obexfs now also handles USB devices + * debian/manpages/obexautofs.sgml: correct option descriptions + (closes: #492260) + * Save and restore original config.sub and config.guess correctly + * Use dh_prep instead of dh_clean -k + + -- Hendrik Sattler Tue, 16 Jun 2009 19:00:02 +0200 + +obexfs (0.10-3) unstable; urgency=low + + * Fix description (closes: #387092) + * Uploaded because recompilation against obexftp 0.19-6 is needed + + -- Hendrik Sattler Tue, 12 Sep 2006 10:30:21 +0200 + +obexfs (0.10-2) unstable; urgency=low + + * Fix typos in README.Debian and description + * Move fuse-utils dependency from Recommends to Depends + * Remove useless doc files: + - README: only contains generic fuse stuff + - NEWS: does not contain any important information + - TODO: empty + * add manpages for obexfs and obexautofs + + -- Hendrik Sattler Sat, 9 Sep 2006 21:23:29 +0200 + +obexfs (0.10-1) unstable; urgency=low + + * Initial release (closes: #385609) + + -- Hendrik Sattler Wed, 30 Aug 2006 20:12:15 +0200 --- obexfs-0.11.orig/debian/control +++ obexfs-0.11/debian/control @@ -0,0 +1,15 @@ +Source: obexfs +Section: comm +Priority: optional +Maintainer: Hendrik Sattler +Build-Depends: debhelper (>= 7.0.0), autotools-dev, libobexftp0-dev (>= 0.22), pkg-config (>= 0.9.0), libfuse-dev, docbook, docbook-utils +Standards-Version: 3.8.1.0 + +Package: obexfs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, fuse +Description: mount filesystem of ObexFTP capable devices + ObexFS uses FUSE to mount filesystems of ObexFTP capable + devices either manually or in autofs style mode. + It can handle all devices that the obexftp package can handle, + connected via serial cable, IrDA, bluetooth or USB. --- obexfs-0.11.orig/debian/compat +++ obexfs-0.11/debian/compat @@ -0,0 +1 @@ +7 --- obexfs-0.11.orig/debian/dirs +++ obexfs-0.11/debian/dirs @@ -0,0 +1 @@ +usr/bin --- obexfs-0.11.orig/debian/copyright +++ obexfs-0.11/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Hendrik Sattler on +Sun, 19 Feb 2006 14:31:37 +0100. + +It was downloaded from http://sourceforge.net/projects/openobex + +Upstream Author: + Christian W. Zuckschwerdt + +Copyright: + Copyright (C) 2002-2008 Christian W. Zuckschwerdt + +License: + + 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'. + --- obexfs-0.11.orig/debian/obexfs.manpages +++ obexfs-0.11/debian/obexfs.manpages @@ -0,0 +1 @@ +debian/manpages/*.1 --- obexfs-0.11.orig/debian/README.Debian +++ obexfs-0.11/debian/README.Debian @@ -0,0 +1,65 @@ +(The document below is a modified version of http://openobex.triq.net/obexfs) + +ObexFS is just a thin layer wrapping a basic ObexFTP client into FUSE callbacks. + +ObexAutoFS +========== +This package includes two fuse modules: obexfs and obexautofs. + +For obexautofs there is no need for a peer on startup. +It will scan for Bluetooth and USB devices and show them with their MAC as +well as by their nickname. (scanning for IrDA or serial transport +isn’t implemented, yet.) + + +Plain mount +=========== +As root, you can use: +mount -t fuse obexautofs /tmp/mnt + or +mount -t fuse "obexfs#" /tmp/mnt + +This will obviously not work if those are not in /etc/fstab (see below). +To mount as user, you must be in group "fuse" and the "fuse" kernel +module must be loaded. If you have a static /dev, you must also create +the /dev/fuse device node. +Then you can use: +obexfs -- +or +obexautofs -- + +To unmount, use: +fusermount -u + + +Automount +========= +Add to /etc/autofs/auto.misc: +obex -fstype=fuse,allow_other :obexautofs# +myobex -fstype=fuse,allow_other :obexfs#-b 00-11-22-33-44-55 -B 6 + +By default only the user mounting with fuse can see the fs. That is why the +option allow_other is needed. It might be a security risk. + + +/etc/fstab +========== +Entries in /etc/fstab might look like this: +obexautofs#user@host:/ /mnt/host fuse allow_other 0 0 +obexfs#-b00-11-22-33-44-55 /mnt/host fuse allow_other 0 0 + +By default only the user mounting with fuse can see the fs. That is why the +option allow_other is needed. It might be a security risk. +Using fstab spaces in mount point name (especially before -B option) must be +replaced with their octal character code (040) preceded by \ (backslash), e.g.: +obexfs#-b00-11-22-33-44-55\040-B6 /mnt/host fuse allow_other 0 0 + +Debug +===== +1) mkdir /tmp/mnt +2) obexautofs -- -d -f /tmp/mnt + or + obexfs -b 00:11:22:33:44:55 -B 5 -- -d -f /tmp/mnt + or + obexfs -b 00:11:22:33:44:55 -B 10 /tmp/mnt +3) to unmount: fusermount -u /tmp/mnt --- obexfs-0.11.orig/debian/manpages/Makefile +++ obexfs-0.11/debian/manpages/Makefile @@ -0,0 +1,12 @@ + +PAGES=$(patsubst %.sgml,%.1,$(wildcard *.sgml)) + +all: $(PAGES) + +%.1: %.sgml + docbook2man -w all $< + +clean: + rm -rf $(PAGES) manpage.links manpage.refs + +.PHONY: all clean --- obexfs-0.11.orig/debian/manpages/obexautofs.sgml +++ obexfs-0.11/debian/manpages/obexautofs.sgml @@ -0,0 +1,158 @@ +Hendrik"> + Sattler"> + May 11, 2006"> + 1"> + debian@hendrik-sattler.de"> + + obexautofs"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + search, display and mount ObexFTP capabable devices + + + + &dhpackage; + + + + + + + + + + DESCRIPTION + + &dhpackage; + ObexAutoFS uses FUSE to mount filesystems of ObexFTP capable + devices in autofs style mode. + It can handle all devices that the obexftp package can handle, + connected via blueooth or USB. + + + Options to fusermount need to be preceeded by two dashes (--). + + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + + + OPTIONS + + + , + + + do not search for IrDA devices + + + + + , + + + do not search for bluetooth devices + + + + + , + + + do not search for USB devices + + + + + , + + + search for devices at this TTY + + + + + , + + + nonblocking mode + + + + + , , + + + show help text + + + + + + + SEE ALSO + obexfs(1) + + + AUTHOR + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- obexfs-0.11.orig/debian/manpages/obexfs.sgml +++ obexfs-0.11/debian/manpages/obexfs.sgml @@ -0,0 +1,178 @@ +Hendrik"> + Sattler"> + May 11, 2006"> + 1"> + debian@hendrik-sattler.de"> + + obexfs"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + mount filesystem of ObexFTP capabable devices + + + + &dhpackage; + + + + + + + + + + + + + + DESCRIPTION + + &dhpackage; + ObexFS uses FUSE to mount filesystems of ObexFTP capable + devices. + It can handle all devices that the obexftp package can handle, + connected via serial cable, IrDA, blueooth or USB. + + + Options to fusermount need to be preceeded by two dashes (--). + + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + + + OPTIONS + + + , + + + connect using IrDA transport + + + + + , + + + connect to a bluetooth device + + + + + , + + + use this bluetooth channel when connecting + + + + + , + + + connect to this usb interface number + + + + + , + + + connect to this tty using a custom transport + + + + + , + + + connect to this network host + + + + + , + + + nonblocking mode + + + + + , , + + + show help text + + + + + + + SEE ALSO + obexautofs(1) + + + AUTHOR + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + +