FreeBSD Bugzilla – Attachment 161051 Details for
Bug 203121
devel/libinotify - [PATCH] update to latest available version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to devel/libinotify port
libinotify.diff (text/plain), 4.00 KB, created by
Matthew Seaman
on 2015-09-15 12:12:26 UTC
(
hide
)
Description:
Update to devel/libinotify port
Filename:
MIME Type:
Creator:
Matthew Seaman
Created:
2015-09-15 12:12:26 UTC
Size:
4.00 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 396940) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= libinotify >-PORTVERSION= 20150516 >+PORTVERSION= 20150910 > CATEGORIES= devel > > MAINTAINER= delphij@FreeBSD.org >@@ -13,15 +13,11 @@ > USE_GITHUB= yes > GH_ACCOUNT= dmatveev > GH_PROJECT= libinotify-kqueue >-GH_TAGNAME= f4a092a >+GH_TAGNAME= b2873cf > >+USES= autoreconf libtool >+GNU_CONFIGURE= yes > USE_LDCONFIG= yes >+INSTALL_TARGET= install-strip > >-post-patch: >- @${CP} ${FILESDIR}/Makefile ${WRKSRC} >- @${TOUCH} ${WRKSRC}/config.h >- @echo "#define HAVE_PTHREAD_BARRIER 1" >> ${WRKSRC}/config.h >- @echo "#define BUILD_LIBRARY 1" >> ${WRKSRC}/config.h >- @echo "#include <sys/tree.h>" >> ${WRKSRC}/config.h >- > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 396940) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (dmatveev-libinotify-kqueue-20150516-f4a092a_GH0.tar.gz) = ad001b8229e83d379d41c0add348cff97b50c07ce60cf3f78aff86ddd18bdda3 >-SIZE (dmatveev-libinotify-kqueue-20150516-f4a092a_GH0.tar.gz) = 42543 >+SHA256 (dmatveev-libinotify-kqueue-20150910-b2873cf_GH0.tar.gz) = 40672e27c8ea609ae79b370f0a6ac7a72ab9d1d9fc34ae5333980e612a337f19 >+SIZE (dmatveev-libinotify-kqueue-20150910-b2873cf_GH0.tar.gz) = 61578 >Index: files/Makefile >=================================================================== >--- files/Makefile (revision 396940) >+++ files/Makefile (working copy) >@@ -1,35 +0,0 @@ >-# $FreeBSD$ >- >-SHLIB= inotify >-SHLIB_MAJOR= 0 >- >-DPADD= ${LIBPTHREAD} >-LDADD= -lpthread >- >-SRCS= utils.c >-SRCS+= compat.c >-SRCS+= conversions.c >-SRCS+= dep-list.c >-SRCS+= inotify-watch.c >-SRCS+= watch-set.c >-SRCS+= watch.c >-SRCS+= worker-thread.c >-SRCS+= worker.c >-SRCS+= controller.c >- >-INCS= sys/inotify.h >- >-CFLAGS+= -I${.CURDIR} -DNDEBUG -pthread >- >-LIBDIR= ${PREFIX}/lib >-INCLUDEDIR= ${PREFIX}/include/sys >- >-LIBOWN!= id -un >-LIBGRP!= id -gn >-BINOWN= ${LIBOWN} >-BINGRP= ${LIBGRP} >- >-beforeinstall: >- @mkdir -p ${DESTDIR}/${LIBDIR} ${DESTDIR}/${INCLUDEDIR} >- >-.include <bsd.lib.mk> >Index: pkg-message >=================================================================== >--- pkg-message (revision 396940) >+++ pkg-message (working copy) >@@ -1,10 +1,44 @@ > ============================================================================ >+ >+Libinotify functionality on FreeBSD is missing support for >+ >+ - detecting a file being moved into or out of a directory within the >+ same filesystem >+ - certain modifications to a symbolic link (rather than the >+ file it points to.) >+ >+in addition to the known limitations on all platforms using kqueue(2) >+where various open and close notifications are unimplemented. >+ >+This means the following regression tests will fail: >+ >+Directory notifications: >+ IN_MOVED_FROM >+ IN_MOVED_TO >+ >+Open/close notifications: >+ IN_OPEN >+ IN_CLOSE_NOWRITE >+ IN_CLOSE_WRITE >+ >+Symbolic Link notifications: >+ IN_DONT_FOLLOW >+ IN_ATTRIB >+ IN_MOVE_SELF >+ IN_DELETE_SELF >+ >+Kernel patches to address the missing directory and symbolic link >+notifications are available from: >+ >+https://github.com/dmatveev/libinotify-kqueue/tree/master/patches >+ >+============================================================================= > You might want to consider increasing the kern.maxfiles tunable if you plan > to use this library for applications that need to monitor activity of a lot > of files. > >-For a typical desktop, add the following line to /boot/loader.conf, then >-reboot the system: >+If the default on your system is too low, add the following line to >+/boot/loader.conf, then reboot the system: > > kern.maxfiles="25000" > ============================================================================= >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 396940) >+++ pkg-plist (working copy) >@@ -1,3 +1,5 @@ > include/sys/inotify.h >+lib/libinotify.a > lib/libinotify.so > lib/libinotify.so.0 >+lib/libinotify.so.0.0.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203121
: 161051 |
161053
|
161055