pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 16 08:54:16 UTC 2023

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/p5-File-FcntlLock: DESCR Makefile distinfo

Log Message:
p5-File-FcntlLock: added version 0.22

Using this module file locking via fcntl(2) can be done (obviously, this
restricts the use of the module to systems that have a fcntl(2) system call).
Before a file (or parts of a file) can be locked, an object simulating a flock
structure, containing information in a binary format to be passed to fcntl(2)
for locking requests, must be created and its properties set. Afterwards, by
calling the lock() method a lock can be set and removed or it can be determined
if and which process currently holds the lock.


To generate a diff of this commit:
cvs rdiff -u -r1.1097 -r1.1098 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/p5-File-FcntlLock/DESCR \
    pkgsrc/sysutils/p5-File-FcntlLock/Makefile \
    pkgsrc/sysutils/p5-File-FcntlLock/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1097 pkgsrc/sysutils/Makefile:1.1098
--- pkgsrc/sysutils/Makefile:1.1097     Mon Nov 13 23:15:40 2023
+++ pkgsrc/sysutils/Makefile    Thu Nov 16 08:54:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1097 2023/11/13 23:15:40 gutteridge Exp $
+# $NetBSD: Makefile,v 1.1098 2023/11/16 08:54:16 adam Exp $
 #
 
 COMMENT=       System utilities
@@ -510,6 +510,7 @@ SUBDIR+=    p5-Config-Simple
 SUBDIR+=       p5-Daemon-Generic
 SUBDIR+=       p5-File-Copy-Recursive
 SUBDIR+=       p5-File-Copy-Recursive-Reduced
+SUBDIR+=       p5-File-FcntlLock
 SUBDIR+=       p5-File-Inplace
 SUBDIR+=       p5-File-Remove
 SUBDIR+=       p5-File-chmod

Added files:

Index: pkgsrc/sysutils/p5-File-FcntlLock/DESCR
diff -u /dev/null pkgsrc/sysutils/p5-File-FcntlLock/DESCR:1.1
--- /dev/null   Thu Nov 16 08:54:16 2023
+++ pkgsrc/sysutils/p5-File-FcntlLock/DESCR     Thu Nov 16 08:54:16 2023
@@ -0,0 +1,7 @@
+Using this module file locking via fcntl(2) can be done (obviously, this
+restricts the use of the module to systems that have a fcntl(2) system call).
+Before a file (or parts of a file) can be locked, an object simulating a flock
+structure, containing information in a binary format to be passed to fcntl(2)
+for locking requests, must be created and its properties set. Afterwards, by
+calling the lock() method a lock can be set and removed or it can be determined
+if and which process currently holds the lock.
Index: pkgsrc/sysutils/p5-File-FcntlLock/Makefile
diff -u /dev/null pkgsrc/sysutils/p5-File-FcntlLock/Makefile:1.1
--- /dev/null   Thu Nov 16 08:54:16 2023
+++ pkgsrc/sysutils/p5-File-FcntlLock/Makefile  Thu Nov 16 08:54:16 2023
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2023/11/16 08:54:16 adam Exp $
+
+DISTNAME=      File-FcntlLock-0.22
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    sysutils perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/J/JT/JTT/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/dist/File-FcntlLock
+COMMENT=       File locking with fcntl(2)
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=        auto/File/FcntlLock/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/p5-File-FcntlLock/distinfo
diff -u /dev/null pkgsrc/sysutils/p5-File-FcntlLock/distinfo:1.1
--- /dev/null   Thu Nov 16 08:54:16 2023
+++ pkgsrc/sysutils/p5-File-FcntlLock/distinfo  Thu Nov 16 08:54:16 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/11/16 08:54:16 adam Exp $
+
+BLAKE2s (File-FcntlLock-0.22.tar.gz) = 999471fcb0de344ea9b22c3b1700e25437a38fc0ebb71c7b5b5101b95f4f7125
+SHA512 (File-FcntlLock-0.22.tar.gz) = c57bc73ce220fc3379dd88e6f1c422ce05dbf659e4ac676614b4fc6967d2ea5e27b476c0a1e29caf1e469a4ace7d23a1b0e86284403b2443d19df7fc52b308db
+Size (File-FcntlLock-0.22.tar.gz) = 16994 bytes



Home | Main Index | Thread Index | Old Index