debian/0000755000000000000000000000000012211176163007166 5ustar debian/watch0000644000000000000000000000010611526055104010213 0ustar version=3 http://libimobiledevice.org/ downloads/ifuse-(.+)\.tar\.bz2 debian/source/0000755000000000000000000000000011526055104010465 5ustar debian/source/format0000644000000000000000000000001411526055104011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012210745553010621 5ustar debian/patches/Updated-for-libimobiledevice-1.1.5.patch0000644000000000000000000000543612210730705017742 0ustar From 9ac32aa3cb2ed5242c0fe3c58ef5f571bf2b95d7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 24 Mar 2013 02:45:23 +0100 Subject: [PATCH] Updated for libimobiledevice >= 1.1.5 --- configure.ac | 4 ++++ src/ifuse.c | 20 +++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 85d131a..ca518ff 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,10 @@ PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.0, libimobiled if test x"$libimobiledevice_1_1" = xyes; then AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API]) fi +PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) +if test x"$libimobiledevice_1_1_5" = xyes; then + AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1_5], 1, [Define if libimobiledevice is using 1.1.5 API]) +fi libimobiledevice_VERSION=`$PKG_CONFIG --modversion "libimobiledevice-1.0" 2>&1` PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0) PKG_CHECK_MODULES(libplist, libplist) diff --git a/src/ifuse.c b/src/ifuse.c index b5735ee..9fafb47 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -71,7 +71,11 @@ static struct { char *appid; #endif char *service_name; +#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5 + lockdownd_service_descriptor_t service; +#else uint16_t port; +#endif } opts; enum { @@ -402,7 +406,11 @@ void *ifuse_init(struct fuse_conn_info *conn) afc_client_new_from_house_arrest_client(house_arrest, &afc); } else { #endif +#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5 + afc_client_new(phone, opts.service, &afc); +#else afc_client_new(phone, opts.port, &afc); +#endif #ifdef HAVE_LIBIMOBILEDEVICE_1_1 } #endif @@ -744,7 +752,13 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } - if ((lockdownd_start_service(control, opts.service_name, &opts.port) != LOCKDOWN_E_SUCCESS) || !opts.port) { + if ( +#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5 + (lockdownd_start_service(control, opts.service_name, &opts.service) != LOCKDOWN_E_SUCCESS) || !opts.service +#else + (lockdownd_start_service(control, opts.service_name, &opts.port) != LOCKDOWN_E_SUCCESS) || !opts.port +#endif + ) { lockdownd_client_free(control); idevice_free(phone); fprintf(stderr, "Failed to start AFC service '%s' on the device.\n", opts.service_name); @@ -757,7 +771,11 @@ int main(int argc, char *argv[]) #ifdef HAVE_LIBIMOBILEDEVICE_1_1 if (!strcmp(opts.service_name, HOUSE_ARREST_SERVICE_NAME)) { +#ifdef HAVE_LIBIMOBILEDEVICE_1_1_5 + house_arrest_client_new(phone, opts.service, &house_arrest); +#else house_arrest_client_new(phone, opts.port, &house_arrest); +#endif if (!house_arrest) { fprintf(stderr, "Could not start document sharing service!\n"); return EXIT_FAILURE; -- 1.8.3.2 debian/patches/Fix-name-of-PKG_CHECK_MODULES-test-for-limd-1.1.5.patch0000644000000000000000000000260112210745437021540 0ustar From 04d2c84beb3f85048d4d40a0b3526debb333f7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Mon, 2 Sep 2013 01:06:37 +0200 Subject: [PATCH] Fix name of PKG_CHECK_MODULES test for limd 1.1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The result of the second PKG_CHECK_MODULES(libimobiledevice11, ...) was read out of cache and succeeded on systems with libimobiledevice-1.0 >= 1.1.0 but << 1.5.0. Giving it another unused name fixes this. Signed-off-by: Loïc Minier --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ca518ff..bccf0b2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.0, libimobiled if test x"$libimobiledevice_1_1" = xyes; then AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1], 1, [Define if libimobiledevice is using 1.1.0 API]) fi -PKG_CHECK_MODULES(libimobiledevice11, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) +PKG_CHECK_MODULES(libimobiledevice15, libimobiledevice-1.0 >= 1.1.5, libimobiledevice_1_1_5=yes, libimobiledevice_1_1_5=no) if test x"$libimobiledevice_1_1_5" = xyes; then AC_DEFINE([HAVE_LIBIMOBILEDEVICE_1_1_5], 1, [Define if libimobiledevice is using 1.1.5 API]) fi -- 1.8.3.2 debian/patches/series0000644000000000000000000000014112210745521012025 0ustar Updated-for-libimobiledevice-1.1.5.patch Fix-name-of-PKG_CHECK_MODULES-test-for-limd-1.1.5.patch debian/ifuse.docs0000644000000000000000000000001411526055104011145 0ustar README NEWS debian/copyright0000644000000000000000000000337012210731003011111 0ustar Authors: Zach C. Jonathan Beck Matt Colyer Martin Aumueller Christophe Fergeau Paul Sladen Download: http://www.libimobiledevice.org/ Files: * Copyright: Copyright (C) 2008 Matt Colyer All Rights Reserved License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. Files: debian/* Copyright: (C) 2008 Bradley Smith License: GPL-3+. 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 3 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/ifuse.install0000644000000000000000000000005712210731471011671 0ustar debian/tmp/usr/bin/* debian/tmp/usr/share/man/ debian/compat0000644000000000000000000000000212210733354010364 0ustar 9 debian/rules0000755000000000000000000000031212210736027010242 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_install: dh_install --fail-missing override_dh_strip: dh_strip --dbg-package=ifuse-dbg debian/control0000644000000000000000000000274212210736252010576 0ustar Source: ifuse Section: utils Priority: optional Maintainer: Julien Lavergne Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9~), dh-autoreconf, libfuse-dev (>= 2.7.0), libimobiledevice-dev (>= 1.1.0), libplist-dev, Homepage: http://libimobiledevice.org Package: ifuse Architecture: any Depends: fuse, ${shlibs:Depends}, ${misc:Depends} Description: FUSE module for iPhone and iPod Touch devices iFuse is a FUSE filesystem driver which uses libiphone to connect to iPhone and iPod Touch devices without needing to "jailbreak" them. iFuse uses the native Apple AFC protocol over a normal USB cable in order to access the device's media files. . Although iFuse is now in a working state it is still under heavy development and should be considered experimental. Package: ifuse-dbg Architecture: any Section: debug Priority: extra Depends: ifuse (= ${binary:Version}), ${misc:Depends} Description: FUSE module for iPhone and iPod Touch devices - debug package iFuse is a FUSE filesystem driver which uses libiphone to connect to iPhone and iPod Touch devices without needing to "jailbreak" them. iFuse uses the native Apple AFC protocol over a normal USB cable in order to access the device's media files. . Although iFuse is now in a working state it is still under heavy development and should be considered experimental. . This package contains the debugging symbols. debian/changelog0000644000000000000000000001256612211175732011053 0ustar ifuse (1.1.2-0.1) experimental; urgency=low * Non-maintainer upload with maintainer ack; closes: #721560. * New upstream release; closes: #718255. - Build-dep on libplist-dev since upstream now directly links to it. - Drop libglib2.0-dev build-dep; obsoleted in this release; also add mising pkg-config build-dep as this was pulled by libglib2.0-dev. - Update download URL in debian/copyright to point at new http://www.libimobiledevice.org/ site. - Drop debian/ifuse.1 and debian/ifuse.manpages but list usr/share/man in ifuse.install as man page was merged upstream. - Drop patch 01_DSO_libplist, merged upstream. - Drop patch 99_autoreconf, now unneeded. * Drop unused DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE from debian/rules. * CFLAGS and LDFLAGS were set in debian/rules, but were ineffective; switch to debhelper compatibility level 9 to fix this and to support distro-set LDFLAGS and CPPFLAGS. - Bump debhelper build-dep to 9~. - Bump debian/compat to 9. - Drop CFLAGS definition from rules; debhelper 9 already sets this correctly. - Rename LDFLAGS to DEB_LDFLAGS_MAINT_APPEND. * New patch, Updated-for-libimobiledevice-1.1.5, cherry-pick from upstream's 9ac32aa in github:libimobiledevice/ifuse.git; fixes a type error with libimobiledevice >= 1.1.5 breaking ifuse on 64-bits arches. - Use dh_autoreconf to autoreconf the source-tree after applying patches: build-dep on dh-autoreconf and call dh with --with autoreconf. - Add patch Fix-name-of-PKG_CHECK_MODULES-test-for-limd-1.1.5 to fix libimobiledevice 1.1.5 check in configure.ac; sent upstream. * Bump Standards-Version to 3.9.4; no change needed. -- Loïc Minier Sun, 01 Sep 2013 23:23:14 +0200 ifuse (1.1.1-2.1) experimental; urgency=low * Non-maintainer upload. [ Salvatore Bonaccorso ] * Change Depends on fuse-utils to fuse as the transitional package is gone. (Closes: #698126) -- Andreas Beckmann Sat, 24 Aug 2013 15:02:00 +0200 ifuse (1.1.1-2) experimental; urgency=low * debian/patches: - 01_DSO_libplist.patch: Really add linking to fix DSO linking. Thanks Angel Abad for the initial patch (Closes: #612089) - 99_autoreconf.patch: Refresh. -- Julien Lavergne Sun, 13 Feb 2011 23:22:18 +0100 ifuse (1.1.1-1) experimental; urgency=low * New upstream release. * debian/watch: - Update with the new location on libimobiledevice.org. * debian/ifuse.docs: - Add NEWS. * debian/control: - Build-depends on libimobiledevice-dev (>= 1.1.0) to enable file sharing. - Update Homepage. - Remove dupplicates section field. - Add mention of debug in the short description of ifuse-dbg. * debian/ifuse.1: - Update with --appid option. - Some fixes. * debian/rules: - Remove additional CFLAGS to pass correct flags. - Add additional LDFLAGS. - Use filter instead of findstring to find noopt. * debian/patches: - 01_DSO_libplist.patch: Add linking to libplist to fix DSO linking. - 99_autoreconf.patch: Run autoreconf to refresh build system with 01_DSO_libplist.patch. -- Julien Lavergne Wed, 12 Jan 2011 22:33:10 +0100 ifuse (1.0.0-2) experimental; urgency=low * debian/watch: - Fix using githubredir.debian.net, thanks Paul McEnery. * debian/control: - Wrap build-depends and depends. - Bump Standards-Version to 3.9.1.0 (no change needed). - Bump build-depends on debhelper to (>= 7.0.50~) for overrides. * debian/rules: - Reduce by using dh7. -- Julien Lavergne Thu, 14 Oct 2010 01:10:16 +0200 ifuse (1.0.0-1) unstable; urgency=medium * Urgency set to medium to fix RC bug (#577322) * New upstream release. - Update to new libimobiledevice API (Closes: #577322) * debian/control: - Depends on fuse-utils (Closes: #571583) - Bump build-depends on libimobiledevice-dev to (>= 1.0.0) * Switch to dpkg-source 3.0 (quilt) format -- Julien Lavergne Fri, 16 Apr 2010 18:03:28 +0200 ifuse (0.9.7-1) unstable; urgency=low * New upstream release (Closes: #568133) * debian/control - Replace build-depends on libiphone-dev by libimobiledevice-dev. - Bump Standards-Version to 3.8.4 (no change needed). -- Julien Lavergne Tue, 09 Feb 2010 23:22:21 +0100 ifuse (0.9.5-1) unstable; urgency=low * New maintainer. Thanks Bradley Smith for his work. Closes: #548593 * New upstream release. * debian/ifuse.install: Only install usr/bin * debian/control: - Update build-depends on libiphone-dev to (>= 0.9.5) - Remove VCS fields. - Standards-Version to 3.8.3 (no change needed). * debian/ifuse.{1,manpages}: Add man page. -- Julien Lavergne Thu, 17 Dec 2009 00:26:54 +0100 ifuse (0.9.1-1) unstable; urgency=low * New upstream release. * Fix ifuse-dbg section. * Add watch file. -- Bradley Smith Tue, 12 May 2009 18:44:54 +0100 ifuse (0.1.0~git+20090323-1) experimental; urgency=low * New upstream snapshot. * Update Standards-Version to 3.8.1. (No changes). -- Bradley Smith Mon, 23 Mar 2009 20:42:00 +0000 ifuse (0.1.0~git+20090210-1) experimental; urgency=low * Initial release. Closes: #500326 -- Bradley Smith Tue, 10 Feb 2009 12:37:31 +0000