Bug 224508

Summary: New port: sysutils/lockfile-progs programs for locking and unlocking files and mailboxes
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Some People CC: pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 224507    
Bug Blocks: 224511    
Attachments:
Description Flags
patch file
none
build log of poudriere on 11.1-RELEASE amd64 none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2017-12-21 20:38:40 UTC
Created attachment 189017 [details]
patch file

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.

Since this port depends on devel/liblockfile and it doesn't exist in port tree yet, please commit bug #224507 in advance.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2017-12-21 20:43:53 UTC
Created attachment 189018 [details]
build log of poudriere on 11.1-RELEASE amd64

Attached file is build log of poudriere on 11.1-RELEASE amd64.

Result of portlint check is as follwing:

yasu@rolling-vm-freebsd1[2960]% pwd
/usr/ports/sysutils/lockfile-progs
yasu@rolling-vm-freebsd1[2961]% portlint -A
WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
0 fatal errors and 1 warning found.
yasu@rolling-vm-freebsd1[2962]%
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2018-02-14 17:10:40 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-02-14 17:11:03 UTC
A commit references this bug:

Author: pi
Date: Wed Feb 14 17:10:37 UTC 2018
New revision: 461821
URL: https://svnweb.freebsd.org/changeset/ports/461821

Log:
  New port: sysutils/lockfile-progs

  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.

  WWW: https://tracker.debian.org/pkg/lockfile-progs

  PR:		224508
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Changes:
  head/sysutils/Makefile
  head/sysutils/lockfile-progs/
  head/sysutils/lockfile-progs/Makefile
  head/sysutils/lockfile-progs/distinfo
  head/sysutils/lockfile-progs/files/
  head/sysutils/lockfile-progs/files/patch-Makefile
  head/sysutils/lockfile-progs/pkg-descr
  head/sysutils/lockfile-progs/pkg-plist