Debian Codegraph @

debian/control

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