Prune x11/xpra
[dports.git] / devel / liblockfile / pkg-descr
1 This library implements a number of functions found in -lmail on SysV
2 systems. These functions are designed to lock the standard mailboxes in
3 /var/mail (or wherever the system puts them).
4
5 In additions, this library adds a number of functions to create,
6 manage and remove generic lockfiles.
7
8 The lockfiles are created by this library in an NFS-safe manner, that
9 is by using a tempfile and using link(2) to create the lockfile. It
10 works around several defects in NFS servers to make sure the lockfile
11 is created atomically.
12
13 The locking strategy is compatible with other well-written NFS-safe
14 programs that create lockfiles - such as procmail, exim and mutt.
15
16 If you are trying to lock a mailbox in a directory writable for group
17 mail, the locking functions will call a helper application which runs
18 setgid to do the actual locking. The helper application "dotlockfile"
19 can also be used directly, for example for use in shellscripts.
20
21 This means a program such as a MUA doesn't need to be setgid mail anymore
22 to be able to lock the mailbox.
23
24 WWW: https://github.com/miquels/liblockfile