Opened 15 years ago
Last modified 4 years ago
#23733 new request
flock - manages flock(2) locks from within shell scripts or the command line
Reported by: | dargo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: |
Description (last modified by mf2k (Frank Schima))
Change History (5)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by dargo@…
The reason i mentioned darwin, was because shlock is included in OS X. I don't think it is included in any macport.
comment:3 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
OK, I updated the description again. Sorry for the misunderstanding. DP is something we don't like to mention!
comment:4 Changed 11 years ago by tyler@…
So, on my Debian system, the flock
command is provided by the util-linux
package, version "2.20.1-5.3".
On MacPorts, we have a util-linux
version "2.22.2_0" (more recent), but it doesn't have the command. Would this just be a matter of tweaking the util-linux package's options to include the binary?
comment:5 Changed 4 years ago by grr
I'd like to use flock also for easier shell scripting. Currently, the only option is to use a scripting language with an interface to the flock C function (perl, python, php, etc) or make a call from bash into one of those languages just for the use of flock.
Fixed Description: the project is called "Macports" now. The former name is now a scam.