notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
liblockfile Standard lockfile library
1.17_1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.17Version of this port present on the latest quarterly branch.
Maintainer: yasu@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-02-14 16:56:46
Last Update: 2024-02-12 02:00:59
Commit Hash: 6b2b42a
People watching this port, also watch:: json-c, sysinfo, python, miller
License: GPLv2+ LGPL21+
WWW:
https://github.com/miquels/liblockfile
Description:
This library implements a number of functions found in -lmail on SysV systems. These functions are designed to lock the standard mailboxes in /var/mail (or wherever the system puts them). In additions, this library adds a number of functions to create, manage and remove generic lockfiles. The lockfiles are created by this library in an NFS-safe manner, that is by using a tempfile and using link(2) to create the lockfile. It works around several defects in NFS servers to make sure the lockfile is created atomically. The locking strategy is compatible with other well-written NFS-safe programs that create lockfiles - such as procmail, exim and mutt. If you are trying to lock a mailbox in a directory writable for group mail, the locking functions will call a helper application which runs setgid to do the actual locking. The helper application "dotlockfile" can also be used directly, for example for use in shellscripts. This means a program such as a MUA doesn't need to be setgid mail anymore to be able to lock the mailbox.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (18 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/liblockfile-1.17_1/catalog.mk
  3. /usr/local/share/licenses/liblockfile-1.17_1/LICENSE
  4. /usr/local/share/licenses/liblockfile-1.17_1/GPLv2+
  5. /usr/local/share/licenses/liblockfile-1.17_1/LGPL21+
  6. @(,mail,2755) bin/dotlockfile
  7. include/lockfile.h
  8. include/maillock.h
  9. lib/liblockfile.a
  10. lib/liblockfile.so
  11. lib/liblockfile.so.1
  12. lib/liblockfile.so.1.0
  13. share/man/man1/dotlockfile.1.gz
  14. share/man/man3/lockfile_create.3.gz
  15. share/man/man3/maillock.3.gz
  16. @owner
  17. @group
  18. @mode
Collapse this list.
Dependency lines:
  • liblockfile>0:devel/liblockfile
To install the port:
cd /usr/ports/devel/liblockfile/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/liblockfile
  • pkg install liblockfile
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: liblockfile
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1611854055 SHA256 (miquels-liblockfile-v1.17_GH0.tar.gz) = 7d34e4b054f878be492dd782c34bfe2107689414aa82a361202756bbe3ec6ad8 SIZE (miquels-liblockfile-v1.17_GH0.tar.gz) = 69834

Packages (timestamps in pop-ups are UTC):
liblockfile
ABIlatestquarterly
FreeBSD:13:aarch641.17_11.17
FreeBSD:13:amd641.17_11.17
FreeBSD:13:armv61.161.17
FreeBSD:13:armv71.17_11.17
FreeBSD:13:i3861.17_11.17
FreeBSD:13:powerpc-1.17
FreeBSD:13:powerpc641.161.17
FreeBSD:13:powerpc64le-1.17
FreeBSD:14:aarch641.17_11.17
FreeBSD:14:amd641.17_11.17
FreeBSD:14:armv61.17-
FreeBSD:14:armv71.17_11.17
FreeBSD:14:i3861.17_11.17
FreeBSD:14:powerpc1.171.17
FreeBSD:14:powerpc64-1.17
FreeBSD:14:powerpc64le1.171.17
FreeBSD:15:aarch641.17_1-
FreeBSD:15:amd641.17_1-
FreeBSD:15:armv71.17_1-
FreeBSD:15:powerpc1.17-
FreeBSD:15:powerpc641.17-
FreeBSD:15:powerpc64le1.17_1-
 
This port has no dependencies.
This port is required by:
for Libraries
  1. mail/nmh
  2. mail/nmh-devel
  3. sysutils/lockfile-progs

Configuration Options:
===> The following configuration options are available for liblockfile-1.17_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_liblockfile
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/miquels/liblockfile/tar.gz/v1.17?dummy=/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.17_1
12 Feb 2024 02:00:59
commit hash: 6b2b42ac40b13c847644ddf4d6e989b5f4109e54commit hash: 6b2b42ac40b13c847644ddf4d6e989b5f4109e54commit hash: 6b2b42ac40b13c847644ddf4d6e989b5f4109e54commit hash: 6b2b42ac40b13c847644ddf4d6e989b5f4109e54 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
devel/liblockfile: Move manpages to ${PREFIX}/share/man
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.17
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.17
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.17
28 Sep 2021 05:13:33
commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3commit hash: 10c30f1825b82a7e2e27e2d9e176fe8f325ffce3 files touched by this commit
Yasuhiro Kimura (yasu) search for other commits by this committer
*/*: Update MAINTAINER address of my ports to that of FreeBSD.org

Approved by:	meta (mentor)
Differential Revision:	https://reviews.freebsd.org/D32170
1.17
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.17
10 Feb 2021 07:04:12
Revision:564844Original commit files touched by this commit
fernape search for other commits by this committer
devel/liblockfile: Update to 1.17

ChangeLog: https://github.com/miquels/liblockfile/blob/v1.17/Changelog

PR:	253215
Submitted by:	yasu@utahime.org (maintainer)
1.16
19 Aug 2019 12:17:44
Revision:509277Original commit files touched by this commit
mat search for other commits by this committer
Some @comment $FreeBSD$ always creep back, for some reason.

Pointy hat:	pi rodrigo
1.16
10 Aug 2019 22:55:11
Revision:508569Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.16

Changes:	https://github.com/miquels/liblockfile/blob/master/Changelog
PR:		239753
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
1.14
14 Feb 2018 16:56:29
Revision:461818Original commit files touched by this commit
pi search for other commits by this committer
New port: devel/liblockfile

This library implements a number of functions found in -lmail on SysV
systems. These functions are designed to lock the standard mailboxes in
/var/mail (or wherever the system puts them).

In additions, this library adds a number of functions to create,
manage and remove generic lockfiles.

The lockfiles are created by this library in an NFS-safe manner, that
is by using a tempfile and using link(2) to create the lockfile. It
works around several defects in NFS servers to make sure the lockfile
is created atomically.

The locking strategy is compatible with other well-written NFS-safe
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 10