libinotify: add a pkg-readme explaining that openfiles/maxfiles limits may

need to be increased for kqueue, based on the one in glib2. regen plist
and add debug packages while there. ok aja@
This commit is contained in:
sthen 2020-11-17 10:23:18 +00:00
parent 740e8b47ab
commit d79fafc34f
3 changed files with 19 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2019/09/19 13:33:57 jasper Exp $
# $OpenBSD: Makefile,v 1.14 2020/11/17 10:23:18 sthen Exp $
COMMENT = kevent based inotify
@ -6,7 +6,7 @@ GH_ACCOUNT = libinotify-kqueue
GH_PROJECT = libinotify-kqueue
GH_TAGNAME = 20170711
PKGNAME = libinotify-${GH_TAGNAME}
REVISION = 0
REVISION = 1
SHARED_LIBS = inotify 2.1
@ -19,6 +19,8 @@ PERMIT_PACKAGE = Yes
WANTLIB = pthread
DEBUG_PACKAGES = ${BUILD_PACKAGES}
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS = --libdir=${PREFIX}/lib/inotify/ \

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.3 2019/09/19 13:33:57 jasper Exp $
@comment $OpenBSD: PLIST,v 1.4 2020/11/17 10:23:18 sthen Exp $
include/inotify/
include/inotify/sys/
include/inotify/sys/inotify.h
lib/inotify/
lib/inotify/libinotify.a
@static-lib lib/inotify/libinotify.a
lib/inotify/libinotify.la
@lib lib/inotify/libinotify.so.${LIBinotify_VERSION}
lib/pkgconfig/libinotify.pc
@ -14,3 +14,4 @@ lib/pkgconfig/libinotify.pc
@man man/man3/inotify_rm_watch.3
@man man/man3/inotify_set_param.3
@man man/man3/libinotify.3
share/doc/pkg-readmes/${PKGSTEM}

View File

@ -0,0 +1,12 @@
$OpenBSD: README,v 1.1 2020/11/17 10:23:18 sthen Exp $
+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------
libinotify uses kqueue(2) to monitor for changed files. This only works
up to the system's "open file descriptors" limit - if software using
libinotify needs to handle large directories, the kern.maxfiles
sysctl(8) should be increased by adding an entry in sysctl.conf(5) and
the user's login(1) class modified accordingly by bumping the "cur" and
"max" "openfiles" limit in login.conf(5).