1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
Source: haskell-atomic-write
Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Uploaders: Ilias Tsitsimpis <iliastsi@debian.org>
Priority: optional
Section: haskell
Rules-Requires-Root: no
Build-Depends: debhelper (>= 10),
haskell-devscripts (>= 0.13),
cdbs,
ghc (>= 9.4),
ghc-prof,
libghc-temporary-dev (>= 1.3),
libghc-temporary-dev (<< 1.4),
libghc-temporary-prof,
libghc-unix-compat-dev (>= 0.5),
libghc-unix-compat-dev (<< 1.0),
libghc-unix-compat-prof,
libghc-hspec-dev (>= 2.5),
libghc-hspec-dev (<< 2.12),
libghc-hspec-prof,
libghc-temporary-dev,
libghc-unix-compat-dev,
Build-Depends-Indep: ghc-doc,
libghc-temporary-doc,
libghc-unix-compat-doc,
Standards-Version: 4.7.0
Homepage: https://github.com/stackbuilders/atomic-write
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-atomic-write
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-atomic-write]
X-Description: Atomically write to a file
Atomically write to a file on POSIX-compliant systems while preserving
permissions.
.
On most Unix systems, `mv` is an atomic operation. This makes it simple to
write to a file atomically just by using the mv operation. However, this will
destroy the permissions on the original file. This library does the following
to preserve permissions while atomically writing to a file:
.
* If an original file exists, take those permissions and apply them to the
temp file before `mv`ing the file into place.
.
* If the original file does not exist, create a following with default
permissions (based on the currently-active umask).
.
This way, when the file is `mv`'ed into place, the permissions will be the
ones held by the original file.
.
This library is based on similar implementations found in common libraries in
Ruby and Python.
Package: libghc-atomic-write-dev
Architecture: any
Depends: ${haskell:Depends},
${misc:Depends},
${shlibs:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Conflicts: ${haskell:Conflicts},
Provides: ${haskell:Provides},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
Package: libghc-atomic-write-prof
Architecture: any
Depends: ${haskell:Depends},
${misc:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Conflicts: ${haskell:Conflicts},
Provides: ${haskell:Provides},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
Package: libghc-atomic-write-doc
Architecture: all
Section: doc
Depends: ${haskell:Depends},
${misc:Depends},
Recommends: ${haskell:Recommends},
Suggests: ${haskell:Suggests},
Conflicts: ${haskell:Conflicts},
Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
${haskell:LongDescription}
.
${haskell:Blurb}
|