inotify-tools: Add new package
PATCH 1/1 inotify-tools: Add new package
Adds support for inotify-tools, which are useful for scripting the Linux inotify API.
--- package/Config.in | 1 + package/inotify-tools/Config.in | 10 ++++++++++ package/inotify-tools/inotify-tools.mk | 8 ++++++++ 3 files changed, 19 insertions(+), 0 deletions(-) create mode 100644 package/inotify-tools/Config.in create mode 100644 package/inotify-tools/inotify-tools.mk
package/Config.in +1 -0
@@ -474,6 +474,7 @@ source "package/dash/Config.in" endif source "package/dialog/Config.in" source "package/file/Config.in" +source "package/inotify-tools/Config.in" source "package/lockfile-progs/Config.in" source "package/logrotate/Config.in" source "package/screen/Config.in"
package/inotify-tools/Config.in new file +10 -0
@@ -0,0 +1,10 @@ +config BR2_PACKAGE_INOTIFY_TOOLS + bool "inotify-tools" + help + inotify-tools is a C library and a set of command-line + programs for Linux providing a simple interface to inotify. + These programs can be used to monitor and act upon + filesystem events. Provides the 'inotifywait' and 'inotifywatch' + binaries. + + https://github.com/rvoicilas/inotify-tools
package/inotify-tools/inotify-tools.mk new file +8 -0
@@ -0,0 +1,8 @@ +############################################################# +# +# inotify-utils +# +############################################################# +INOTIFY_TOOLS_VERSION = 3.14 +INOTIFY_TOOLS_SITE = http://github.com/downloads/rvoicilas/inotify-tools/ +$(eval $(call AUTOTARGETS,package,inotify-tools))
Signature · 1 line
1.7.3.4
PATCH 1/1 inotify-tools: Add new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mike" == Mike Williams <[email protected]> writes:
Mike> Adds support for inotify-tools, which are useful for scripting the Mike> Linux inotify API.
Thanks, committed with minor tweaks (see below)
Mike> +++ b/package/inotify-tools/Config.in
Mike> @@ -0,0 +1,10 @@
Mike> +config BR2_PACKAGE_INOTIFY_TOOLS
Mike> + bool "inotify-tools"
Mike> + help
Mike> + inotify-tools is a C library and a set of command-line Mike> + programs for Linux providing a simple interface to inotify. Mike> + These programs can be used to monitor and act upon Mike> + filesystem events. Provides the 'inotifywait' and 'inotifywatch'
Mike> + binaries.
Here the build fails with:
inotifytools.c: In function 'inotifytools_watch_recursively_with_exclude':
inotifytools.c:1312: error: storage size of 'my_stat' isn't known inotifytools.c:1319: warning: implicit declaration of function 'lstat64' inotifytools.c: In function 'isdir':
inotifytools.c:1598: error: storage size of 'my_stat' isn't known make[5]: *** [inotifytools.lo] Error 1
So you need largefile support in the toolchain, and the package should depend on BR2_LARGEFILE.
Signature · 1 line
Bye, Peter Korsgaard