Import p5-Filesys-Notify-Simple:
Filesys::Notify::Simple is a simple but unified interface to get notifications of changes to a given filesystem path. It utilizes inotify2 on Linux and fsevents on OS X if they're installed, with a fallback to the full directory scan if they're not available. (note from importer: it could use a kqueue/libevent backend instead of a gross full scan every 2 secs, which is not even configurable :) From Abel Abraham Camarillo Ojeda on ports@
This commit is contained in:
parent
32c557bd8b
commit
8ced82a6ef
18
sysutils/p5-Filesys-Notify-Simple/Makefile
Normal file
18
sysutils/p5-Filesys-Notify-Simple/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/11 09:41:40 landry Exp $
|
||||
|
||||
COMMENT = simple and dumb file system watcher
|
||||
|
||||
MODULES = cpan
|
||||
DISTNAME = Filesys-Notify-Simple-0.06
|
||||
CATEGORIES = sysutils
|
||||
MAINTAINER = Abel Abraham Camarillo Ojeda <acamari@verlet.org>
|
||||
|
||||
BUILD_DEPENDS = devel/p5-Test-SharedFork
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/p5-Filesys-Notify-Simple/distinfo
Normal file
5
sysutils/p5-Filesys-Notify-Simple/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (Filesys-Notify-Simple-0.06.tar.gz) = QyOHed8oOrHsJBQ3LuAXTg==
|
||||
RMD160 (Filesys-Notify-Simple-0.06.tar.gz) = XjweYWc/FqHXLNfSxTLgQgApC1Q=
|
||||
SHA1 (Filesys-Notify-Simple-0.06.tar.gz) = Hpp8QdFHwjbgMacbJVUTGQpCT74=
|
||||
SHA256 (Filesys-Notify-Simple-0.06.tar.gz) = ij3xo6ny314c0x6dpkvfCeph5UoGh5hllAhu3QDb3qk=
|
||||
SIZE (Filesys-Notify-Simple-0.06.tar.gz) = 46661
|
15
sysutils/p5-Filesys-Notify-Simple/pkg/DESCR
Normal file
15
sysutils/p5-Filesys-Notify-Simple/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
Filesys::Notify::Simple is a simple but unified interface to get
|
||||
notifications of changes to a given filesystem path. It utilizes
|
||||
inotify2 on Linux and fsevents on OS X if they're installed, with a
|
||||
fallback to the full directory scan if they're not available.
|
||||
|
||||
There are some limitations in this module. If you don't like it, use
|
||||
File::ChangeNotify.
|
||||
|
||||
* There is no file name based filter. Do it in your own code.
|
||||
* You can not get types of events (created, updated, deleted).
|
||||
* Currently wait method blocks.
|
||||
|
||||
In return, this module doesn't depend on any non-core modules. Platform
|
||||
specific optimizations with Linux::Inotify2 and Mac::FSEvents are truely
|
||||
optional.
|
5
sysutils/p5-Filesys-Notify-Simple/pkg/PLIST
Normal file
5
sysutils/p5-Filesys-Notify-Simple/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/11 09:41:40 landry Exp $
|
||||
${P5SITE}/Filesys/
|
||||
${P5SITE}/Filesys/Notify/
|
||||
${P5SITE}/Filesys/Notify/Simple.pm
|
||||
@man man/man3p/Filesys::Notify::Simple.3p
|
Loading…
Reference in New Issue
Block a user