debian/0000755000000000000000000000000012172557514007177 5ustar debian/source/0000755000000000000000000000000012172556400010470 5ustar debian/source/format0000644000000000000000000000001412172556171011703 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000027512172556400013634 0ustar dist/build/HShinotify-0.3.5.o dist/build/System/INotify.hi dist/build/System/INotify.o dist/build/System/INotify/Masks.hi dist/build/System/INotify/Masks.o dist/build/libHShinotify-0.3.5.a debian/control0000644000000000000000000000374412172556167010615 0ustar Source: haskell-hinotify Section: haskell Priority: extra Maintainer: Debian Haskell Group Uploaders: Andy Bailey , Clint Adams Standards-Version: 3.9.4 Build-Depends: debhelper (>= 9) , cdbs , haskell-devscripts (>= 0.8.15) , ghc , ghc-prof Build-Depends-Indep: ghc-doc Homepage: http://hackage.haskell.org/package/hinotify Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-hinotify Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hinotify Package: libghc-hinotify-dev Architecture: linux-any Depends: ${haskell:Depends} , ${shlibs:Depends} , ${misc:Depends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell inotify library${haskell:ShortBlurb} Hinotify is a Haskell library for inotify, a part of the Linux kernel . Hinotify uses inotify to provide file system event notification, simply add a watcher to a file or directory and get an event when it is accessed or modified. . ${haskell:Blurb} Package: libghc-hinotify-prof Architecture: linux-any Depends: ${haskell:Depends} , ${misc:Depends} Provides: ${haskell:Provides} Description: Haskell inotify library${haskell:ShortBlurb} Hinotify is a Haskell library for inotify, a part of the Linux kernel . Hinotify uses inotify to provide file system event notification, simply add a watcher to a file or directory and get an event when it is accessed or modified. . ${haskell:Blurb} Package: libghc-hinotify-doc Section: doc Architecture: all Depends: ${haskell:Depends} , ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell inotify library${haskell:ShortBlurb} Hinotify is a Haskell library for inotify, a part of the Linux kernel . Hinotify uses inotify to provide file system event notification, simply add a watcher to a file or directory and get an event when it is accessed or modified. . ${haskell:Blurb} debian/watch0000644000000000000000000000033512172556171010227 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|hinotify-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/hinotify \ ([\d\.]*\d)/ debian/patches/0000755000000000000000000000000012172556467010634 5ustar debian/patches/fix-encoding-crash0000644000000000000000000000217712172556467014236 0ustar Description: Fix crash caused by filename encoding issue. https://github.com/kolmodin/hinotify/issues/5 Author: Joey Hess --- haskell-hinotify-0.3.5.orig/src/System/INotify.hsc +++ haskell-hinotify-0.3.5/src/System/INotify.hsc @@ -41,7 +41,7 @@ import Control.Exception as E (bracket, import Data.Maybe import Data.Map (Map) import qualified Data.Map as Map -import Foreign.C +import Foreign.C hiding (withCString) import Foreign.Marshal hiding (void) import Foreign.Ptr import Foreign.Storable @@ -55,6 +55,8 @@ import GHC.Handle import System.Posix.Internals #endif import System.Posix.Files +import GHC.IO.Encoding (getFileSystemEncoding) +import GHC.Foreign (withCString) import System.INotify.Masks @@ -194,7 +196,8 @@ addWatch inotify@(INotify _ fd em _ _) m Nothing (Just fp) let mask = joinMasks (map eventVarietyToMask masks) - wd <- withCString fp $ \fp_c -> + enc <- getFileSystemEncoding + wd <- withCString enc fp $ \fp_c -> throwErrnoIfMinus1 "addWatch" $ c_inotify_add_watch (fromIntegral fd) fp_c mask let event = \e -> do debian/patches/series0000644000000000000000000000002312172556415012035 0ustar fix-encoding-crash debian/rules0000755000000000000000000000015512172556170010255 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/changelog0000644000000000000000000000346012172557513011053 0ustar haskell-hinotify (0.3.5-5) unstable; urgency=low * Fix crash caused by filename encoding issue. https://github.com/kolmodin/hinotify/issues/5 -- Joey Hess Sat, 20 Jul 2013 15:04:40 -0400 haskell-hinotify (0.3.5-4) unstable; urgency=low * Make hinotify linux-any, as suggested by pinotree. -- Joachim Breitner Sun, 26 May 2013 11:21:46 +0200 haskell-hinotify (0.3.5-3) unstable; urgency=low * Move Haskell blurb to the end of the description, reduces the impact of #708703 -- Joachim Breitner Sat, 25 May 2013 23:52:22 +0200 haskell-hinotify (0.3.5-2) unstable; urgency=low * Enable compat level 9 * Use substvars for Haskell description blurbs -- Joachim Breitner Fri, 24 May 2013 12:50:52 +0200 haskell-hinotify (0.3.5-1) experimental; urgency=low * New upstream version. -- Clint Adams Sat, 17 Nov 2012 12:48:16 -0500 haskell-hinotify (0.3.5-1) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Bump standards version, no change * New upstream release -- Joachim Breitner Thu, 08 Nov 2012 19:31:41 +0100 haskell-hinotify (0.3.2-1) unstable; urgency=low * New upstream release * Drop patches, applied upstream -- Joachim Breitner Mon, 06 Feb 2012 18:12:09 +0100 haskell-hinotify (0.3.1-2) unstable; urgency=low [ Marco Silva ] * Use ghc instead of ghc6 [ Joachim Breitner ] * Do not use unsupported -fvia-C flag -- Joachim Breitner Mon, 11 Apr 2011 19:01:39 +0530 haskell-hinotify (0.3.1-1) unstable; urgency=low * initial version (Closes: #607358) -- Andy Bailey Wed, 15 Dec 2010 13:33:43 -0500 debian/copyright0000644000000000000000000000337612172556167011146 0ustar This package was debianised by R. Andrew Bailey on Thu, 16 Feb 2010 20:13:22 +0500 All of the Debian packaging scripts are released into the public domain. It was downloaded from http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hinotify Upstream Author: Lennart Kolmodin Copyright © 2009 Lennart Kolmodin All rights reserved. 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 author nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE 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 AUTHORS 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/compat0000644000000000000000000000000212172556166010377 0ustar 9