lockfile-progs - Programs for locking and unlocking files and mailboxes

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: lockfile-progs
Package version: 0.1.17
Package release:
Package architecture: amd64
Package type: deb
Installed size: 71 B
Download size: 10.72 KB
Official Mirror: ftp.br.debian.org
This package includes several programs to safely lock and unlock files and mailboxes from the command line. These include: lockfile-create lockfile-remove lockfile-touchlock mail-lock mail-unlock mail-touchlock These programs use liblockfile to perform the file locking and unlocking, so they are guaranteed compatible with Debian's file locking policies.



    Source package: lockfile-progs

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install lockfile-progs deb package:
      # sudo apt-get install lockfile-progs


    • /usr/bin/lockfile-check
    • /usr/bin/lockfile-create
    • /usr/bin/lockfile-remove
    • /usr/bin/lockfile-touch
    • /usr/bin/mail-lock
    • /usr/bin/mail-touchlock
    • /usr/bin/mail-unlock
    • /usr/share/doc/lockfile-progs/changelog.gz
    • /usr/share/doc/lockfile-progs/copyright
    • /usr/share/lintian/overrides/lockfile-progs
    • /usr/share/man/man1/lockfile-check.1.gz
    • /usr/share/man/man1/lockfile-create.1.gz
    • /usr/share/man/man1/lockfile-progs.1.gz
    • /usr/share/man/man1/lockfile-remove.1.gz
    • /usr/share/man/man1/lockfile-touch.1.gz
    • /usr/share/man/man1/mail-lock.1.gz
    • /usr/share/man/man1/mail-touchlock.1.gz
    • /usr/share/man/man1/mail-unlock.1.gz


    2012-12-01 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.17) unstable; urgency=low * Add "p" to getopt_long()'s short options so the "-p" arg will actually work. As the manpage states, "-p" was intended to be the short argument for "--use-pid", but since "p" wasn't added to the getopt_long() optstring, it didn't actually work. Fix it. Thanks to Michael Deegan <bugs@wibble.darktech.org> for the report. (Closes: #686057) * Fix cross-builds; use the cross-compiler when cross-building. Thanks to Colin Watson <cjwatson@ubuntu.com> for the report and the patch. (Closes: #694842)

    2011-08-21 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.16) unstable; urgency=low * Remove unused rc variable in chk() to silence gcc warning. Thanks to Matthias Klose <doko@debian.org> for the report, and thanks to Aurelien Jarno <aurelien@aurel32.net> for the NMU. (Closes: #625384) * Use L_PID rather than L_PPID when appropriate. In cases where lockfile_create() and lockfile_check() were being called with L_PID, use L_PPID to capture the parent's PID. Capturing the PID of the lockfile-create or lockfile-check process made no sense. Thanks to Zrin Žiborski <zrin+launchpad@ziborski.net> for the report, Larry Diegel for the patch, and Sebastian Siewior <sebastian@breakpoint.cc> for the suggestion to update the documentation. (Closes: #626752)

    2010-06-13 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.15) unstable; urgency=low * Add missing debhelper Build-Depends.

    2010-06-12 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.14) unstable; urgency=low * Don't erroneously require -l for mail-related commands. Thanks to Andre Grueneberg <andre-debian@grueneberg.de>. (closes: #563533) * Change --retry-count to --retry in the manpage. Thanks to Daniel Frank <debian-bugs-239623@danielfrank.net>. (closes: #584779) * Change debian/rules to use "dh $@" approach. This also adds md5sums, fixing a wishlist bug. Thanks to Loïc Minier <lool@dooz.org>. (closes: #564798)

    2009-06-21 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.13) unstable; urgency=low * Make exit_status volatile since it interacts with a signal handler. * Adjust code for -Wformat-security. Thanks to Michael Bienia <michael@vorlon.ping.de>. (closes: #487503)

    2009-06-17 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.12) unstable; urgency=low * Fix manpage typos. Thanks to "A. Costa" <agcosta@gis.net>. (closes: #439745) * Remove duplicate priority field from the control file. (closes: #464297) * Add a --use-pid option which adds L_PID to the underlying liblockfile call. Users should note the caveats in lockfile_create(3). * Add a lockfile-check program (see lockfile_check(3)). * Remove duplicate priority and section fields from debian/control. Thanks to Lucas Nussbaum <lucas@lucas-nussbaum.net> and Patrick Winnertz <winnie@debian.org>. (closes: #464297)

    2007-08-24 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.11) unstable; urgency=low * Add --quiet and --verbose options. (closes: #272539) * Use hard links for duplicate binaries. (closes: #382730) * Respect DEB_BUILD_OPTIONS nostrip. (closes: #437491) * Fix manpage to reflect changes to liblockfile --retry. (closes: #161685, #244314, #360474) * Add support for --lock-name (-l). (closes: #416355)

    2004-02-28 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.10) unstable; urgency=low * update manpage to fix dashes under utf-8. (closes: #159907) * recompile to fix prelink problem. (closes: #231550) * fix manpage to note --try like semantics of --retry.

    2001-07-17 - Rob Browning <rlb@defaultvalue.org> lockfile-progs (0.1.9) unstable; urgency=low * Add command tool names to manpages. (closes: #88510) * Update my email address.