debian/0000755000000000000000000000000012147643014007170 5ustar debian/watch0000644000000000000000000000032612036250162010215 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|HFuse-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/HFuse \ ([\d\.]*\d)/ debian/control0000644000000000000000000000475012147627344010611 0ustar Source: haskell-hfuse Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: TANIGUCHI Takaki Build-Depends: debhelper (>= 9), cdbs, haskell-devscripts (>= 0.8.15), libfuse-dev, libcurl4-gnutls-dev | libcurl-dev, ghc, ghc-prof, ghc-doc, Standards-Version: 3.9.4 Homepage: http://hackage.haskell.org/package/HFuse #Vcs-Git: git://git.debian.org/collab-maint/haskell-hfuse.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/haskell-hfuse.git;a=summary Package: libghc-hfuse-dev Architecture: any Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Suggests: ${haskell:Suggests} Description: Haskell binding for the Linux FUSE library${haskell:ShortBlurb} HFuse is a Haskell binding to the Linux C library, FUSE ('Filesystems in Userspace'); FUSE allows you to construct interesting filesystems which can be used in many ways, such as a filesystem in which the files are Wikipedia files, or SSHFS where one mounts remote directories over SSH, or FlickrFS which represents your Flickr account as directories and files. . ${haskell:Blurb} Package: libghc-hfuse-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell binding for the Linux FUSE library${haskell:ShortBlurb} HFuse is a Haskell binding to the Linux C library, FUSE ('Filesystems in Userspace'); FUSE allows you to construct interesting filesystems which can be used in many ways, such as a filesystem in which the files are Wikipedia files, or SSHFS where one mounts remote directories over SSH, or FlickrFS which represents your Flickr account as directories and files. . ${haskell:Blurb} Package: libghc-hfuse-doc Section: doc Architecture: all Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell binding for the Linux FUSE library${haskell:ShortBlurb} HFuse is a Haskell binding to the Linux C library, FUSE ('Filesystems in Userspace'); FUSE allows you to construct interesting filesystems which can be used in many ways, such as a filesystem in which the files are Wikipedia files, or SSHFS where one mounts remote directories over SSH, or FlickrFS which represents your Flickr account as directories and files. . ${haskell:Blurb} debian/rules0000755000000000000000000000020012036250162010233 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/patches/0000755000000000000000000000000012130031072010602 5ustar debian/patches/series0000644000000000000000000000001612130031072012014 0ustar ghc-7.6.patch debian/patches/ghc-7.6.patch0000644000000000000000000000661412130031072012703 0ustar From 45650d8e743762004ce3949f11475b4eadbe384c Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Mon, 19 Nov 2012 13:14:06 -0800 Subject: [PATCH] Fixed compilation bugs for GHC 7.6 --- System/Fuse.hsc | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/System/Fuse.hsc b/System/Fuse.hsc index f7347fd..1169e05 100644 --- a/System/Fuse.hsc +++ b/System/Fuse.hsc @@ -20,7 +20,7 @@ -- option). -- ----------------------------------------------------------------------------- -{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleContexts, RankNTypes #-} module System.Fuse ( -- * Using FUSE @@ -52,7 +52,7 @@ module System.Fuse import Prelude hiding ( Read ) import Control.Monad -import Control.Exception as E(Exception, handle, finally, SomeException) +import Control.Exception as E(catch, Exception, IOException, handle, finally, SomeException) import qualified Data.ByteString.Char8 as B import qualified Data.ByteString.Internal as B import qualified Data.ByteString.Unsafe as B @@ -70,7 +70,7 @@ import System.Posix.IO ( OpenMode(..), OpenFileFlags(..) ) import qualified System.Posix.Signals as Signals import GHC.IO.Handle(hDuplicateTo) import System.Exit -import qualified System.IO.Error as IO(catch,ioeGetErrorString) +import qualified System.IO.Error as IO(ioeGetErrorString) -- TODO: FileMode -> Permissions -- TODO: Arguments ! @@ -757,16 +757,17 @@ fuseParseCommandLine pArgs = -- Mimic's daemon()s use of _exit() instead of exit(); we depend on this in fuseMainReal, -- because otherwise we'll unmount the filesystem when the foreground process exits. daemon f = forkProcess d >> exitImmediately ExitSuccess - where d = IO.catch (do createSession - changeWorkingDirectory "/" - -- need to open /dev/null twice because hDuplicateTo can't dup a ReadWriteMode to a ReadMode handle - withFile "/dev/null" WriteMode (\devNullOut -> - do hDuplicateTo devNullOut stdout - hDuplicateTo devNullOut stderr) - withFile "/dev/null" ReadMode (\devNullIn -> hDuplicateTo devNullIn stdin) - f - exitWith ExitSuccess) - (const exitFailure) + where d = E.catch (do + createSession + changeWorkingDirectory "/" + -- need to open /dev/null twice because hDuplicateTo can't dup a ReadWriteMode to a ReadMode handle + withFile "/dev/null" WriteMode (\devNullOut -> + do hDuplicateTo devNullOut stdout + hDuplicateTo devNullOut stderr) + withFile "/dev/null" ReadMode (\devNullIn -> hDuplicateTo devNullIn stdin) + f + exitWith ExitSuccess) + (\(_ :: IOException) -> exitFailure) -- Installs signal handlers for the duration of the main loop. withSignalHandlers exitHandler f = @@ -843,7 +844,7 @@ fuseMain ops handler = do fuseRun :: String -> [String] -> Exception e => FuseOperations fh -> (e -> IO Errno) -> IO () fuseRun prog args ops handler = - IO.catch + E.catch (withFuseArgs prog args (\pArgs -> do cmd <- fuseParseCommandLine pArgs case cmd of -- 1.8.1.5 debian/changelog0000644000000000000000000000306012147643014011041 0ustar haskell-hfuse (0.2.4.1-4) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:52 +0200 haskell-hfuse (0.2.4.1-3) experimental; urgency=low [ Joachim Breitner ] * Depend on haskell-devscripts 0.8.13 to ensure these packages are built against experimental [ TANIGUCHI Takaki ] * debian/patches/ghc-7.6.patch: Fix "fails to build with GHC 7.6" (Closes: #703417) -- TANIGUCHI Takaki Fri, 22 Mar 2013 10:56:29 +0900 haskell-hfuse (0.2.4.1-2) experimental; urgency=low * Bump standards version, no change -- Joachim Breitner Sun, 14 Oct 2012 12:01:02 +0200 haskell-hfuse (0.2.4.1-1) unstable; urgency=low * New upstream release * Standards-Version: 3.9.3 + debian/copyright: copyright-format 1.0 * debian/control: Fix libghc-huse-doc's architecture to all. -- TANIGUCHI Takaki Wed, 09 May 2012 09:32:19 +0900 haskell-hfuse (0.2.4-1) unstable; urgency=low * 00_ghc_unicode_bug: Removed, not required any more. * New upstream release * Standards-Version: 3.9.2 -- TANIGUCHI Takaki Mon, 20 Jun 2011 11:43:46 +0900 haskell-hfuse (0.2.3-2) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 -- TANIGUCHI Takaki Mon, 11 Apr 2011 17:12:44 +0900 haskell-hfuse (0.2.3-1) unstable; urgency=low * Initial release (Closes: #566073) -- TANIGUCHI Takaki Sun, 14 Nov 2010 11:30:32 +0900 debian/source/0000755000000000000000000000000012036250162010463 5ustar debian/source/format0000644000000000000000000000001412036250162011671 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147620641010367 0ustar 9 debian/copyright0000644000000000000000000000335012036250161011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HFuse Source: http://hackage.haskell.org/package/HFuse Files: * Copyright: Jérémy Bobbio License: BSD-3-clause Files: debian/* Copyright: 2010-2011, TANIGUCHI Takaki License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/docs0000644000000000000000000000000712036250161010032 0ustar README