71a8 FreshPorts -- devel/p5-File-Lock
FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-File-Lock 0.9 devel on this many watch lists=2 search for ports that depend on this port
Perl5 module for file locking (flock,fcntl)
Maintained by: demon@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Also Listed In: perl5
License: not specified in port


This is my first alpha release of File::Lock, my version of the code
greatfully provided by Jarrko. I've mucked about with it quite a bit,
and there are a few policy decisions you might not agree with:

All of the locking functions (see t/* for full details),
File::lock::(lockf/flock/fcntl) are not exported from File::Lock. They all
take the same set of arguments: FileHandle, mode, pos, whence, length.
(Except for lockf, which doesn't take the position arguments.) Mode is two
characters, and can be "wb" for write-lock/non-blocking, or "rn", for
read-lock/blocking. Most other characters will work fine. (Look in typemap)
pos, whence, and length default to "the whole file". Use "u" to unlock a
handle.

The only OO interface is via "new File::Lock()" which uses
File::Lock::fcntl. If it were working properly, then the lock would be
unlocked on destruction. But it isn't.

File::Lock::lockfile isn't written yet, but will be.

You can use a mode of "t" or "i" to get info/test a lock. fcntl in array
context will return an array consisting of all the usual fcntl data.
In any other case, a single letter is returned, "u", "w",  or "r",
for the detected locking mode. (or unlocked.) 

All calls return true if successful. Currently no mucking about with errno
is done, so it might not be the same for the same condition on all systems.

If you need real fcntl() and it's constants, use Fcntl. File::Lock does
optionally export SEEK_*, and LOCK_EX|UN|SH, though. (I don't remember why,
though, on the latter.)

Any comments, complaints, or bug patches would be greatly appreciated.
SVNWeb : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. lang/perl5.8
Required To Run:
  1. lang/perl5.8
There are no ports dependent upon this port

To install the port: cd /usr/ports/devel/p5-File-Lock/ && make install clean
To add the package: pkg_add -r p5-File-Lock


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/File/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/File/
  4. ftp://ftp.dti.ad.jp/pub/lang/CPAN/modules/by-module/File/
  5. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/File/
  6. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/File/
  7. ftp://ftp.mirrorservice.org/sites/ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/File/
  8. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/File/
  9. ftp://mirror.hiwaay.net/CPAN/modules/by-module/File/
  10. http://at.cpan.org/modules/by-module/File/
  11. http://backpan.perl.org/modules/by-module/File/
  12. http://cpan.nctu.edu.tw/modules/by-module/File/
  13. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/File/
  14. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/File/
  15. http://www.cpan.dk/modules/by-module/File/

Number of commits found: 19

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Mar 2012 21:16:46
Original commit files touched by this commit  0.9
pgollucci search for other commits by this committer
- Mark BROKEN with lang/perl5.14

PR:         ports/165457
With Hat:   perl@
22 Oct 2011 23:50:23
Original commit files touched by this commit  0.9
eadler search for other commits by this committer
- remove maintainer tags from pkg-descr

Approved by:    portmgr
Approved by:    bapt (mentor)
03 Jul 2011 14:59:23
Original commit files touched by this commit  0.9
ohauer search for other commits by this committer
-remove MD5
17 Apr 2008 14:30:31
Original commit files touched by this commit  0.9
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.

PR:             ports/122674
Submitted by:   Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
22 Jan 2006 08:30:12
Original commit files touched by this commit  0.9
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
22 Jan 2006 01:48:34
Original commit files touched by this commit  0.9
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
14 Nov 2004 10:42:46
Original commit files touched by this commit  0.9
demon search for other commits by this committer
Upbreak for -current.

Submitted by:   tobez
18 Mar 2004 18:01:13
Original commit files touched by this commit  0.9
trevor search for other commits by this committer
Add size data, approved by maintainers.
24 Oct 2003 12:05:09
Original commit files touched by this commit  0.9
ijliao search for other commits by this committer
utilize SITE_PERL

PR:             58166
Submitted by:   Cheng-Lung Sung <clsung@dragon2.net>
04 Jun 2003 22:43:38
Original commit files touched by this commit  0.9
kris search for other commits by this committer
Move inclusion of bsd.port.pre.mk later in the file for conditional BROKEN
tag.  Early inclusion caused problems for some ports, so to be safe I'm
updating all of them.

Pointy hat to:  kris
18 May 2003 09:53:49
Original commit files touched by this commit  0.9
kris search for other commits by this committer
BROKEN on 5.1: does not compile
07 Mar 2003 06:01:16
Original commit files touched by this commit  0.9
ade search for other commits by this committer
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
13 Apr 2001 10:49:01
files touched by this commit
demon search for other commits by this committer
Remove extra dirs.    
01 Mar 2001 06:39:18
files touched by this commit
vanilla search for other commits by this committer
Remove do-configure section, use PERL_CONFIGURE now.    
13 Nov 2000 12:45:41
files touched by this commit
demon search for other commits by this committer
Change MAINTAINER field.   I am now at FreeBSD dot org    
24 Oct 2000 23:39:57
files touched by this commit
will search for other commits by this committer
Hand these ports to Dmitry Sivachenko <dima@chg.ru>.    
23 Oct 2000 22:03:12
files touched by this commit
will search for other commits by this committer
Remove jfitz@ as MAINTAINER - mail is bouncing / mailservers don't answer.    
08 Oct 2000 02:10:04
files touched by this commit
asami search for other commits by this committer
Convert category devel to new layout.  
17 Jun 2000 03:37:15
files touched by this commit
will search for other commits by this committer
Lots and lots of cleanups.  Teach p5-* in general about PKGNAMEPREFIX.   Add
some missing/wrong dependencies.  Show how to respect CC/CFLAGS.  Many  
miscellaneous modifications.  I used more excessive hacks to force p5-Jcode  
and p5-WWW-Search to respect CC/CFLAGS.    

Number of commits found: 19

283a
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
plibMay 19
plibMay 19
linux-f10-flashplugin10May 16
linux-f10-flashplugin11May 16
nginx*May 16
nginx-devel*May 16
firefoxMay 15
firefox-develMay 15
firefox-esrMay 15
firefox10May 15
firefox15May 15
firefox3May 15
firefox3-develMay 15
firefox35May 15
firefox36May 15

5 vulnerabilities affecting 20 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24523
Broken 217
Deprecated 473
Ignore 637
Forbidden 3
Restricted 292
No CDROM 109
Vulnerable 27
Expired 133
Set to expire 511
Interactive 33
new 24 hours 7
new 48 hours10
new 7 days28
new fortnight77
new month210

This site
What is FreshPorts?
About the Authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact
8e7

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.
0