The diff below updates devel/libinotify to the latest release.

Please test it with the usual suspects (owncloudclient, seafile,
incron, ...)

Cheers!
David

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libinotify/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile    12 May 2016 09:27:39 -0000      1.8
+++ Makefile    24 Aug 2017 14:06:24 -0000
@@ -2,14 +2,15 @@
 
 COMMENT =              kevent based inotify
 
-DISTNAME =             libinotify-20160503
+GH_ACCOUNT =           libinotify-kqueue
+GH_PROJECT =           libinotify-kqueue
+GH_TAGNAME =           20170711
+PKGNAME =              libinotify-${GH_TAGNAME}
 
-SHARED_LIBS =          inotify 2.0
+SHARED_LIBS =          inotify 3.0
 
 CATEGORIES =           devel
 
-HOMEPAGE =             https://github.com/wulf7/libinotify-kqueue
-
 MAINTAINER =           Kirill Bychkov <ki...@openbsd.org>
 
 # MIT
@@ -17,10 +18,6 @@ PERMIT_PACKAGE_CDROM =       Yes
 
 WANTLIB =              pthread
 
-MASTER_SITES =         http://www.linklevel.net/distfiles/ \
-                       http://ohvost.ru/dnl/
-WRKDIST =              ${WRKDIR}/wulf7-libinotify-kqueue-c637d04
-
 BUILD_DEPENDS =                devel/libtool \
                        ${MODGNU_AUTOCONF_DEPENDS} \
                        ${MODGNU_AUTOMAKE_DEPENDS}
@@ -38,5 +35,8 @@ TEST_TARGET =         test
 pre-configure:
        cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
                AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf -f -i
+
+post-install:
+       @rm -rf ${WRKINST}${LOCALBASE}/lib/inotify/pkgconfig
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libinotify/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo    12 May 2016 09:27:39 -0000      1.6
+++ distinfo    24 Aug 2017 14:06:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (libinotify-20160503.tar.gz) = 
V9uwr18JY4T4ryN24r8MaCgckzIhxk/Tw2cVtlHGmgE=
-SIZE (libinotify-20160503.tar.gz) = 67220
+SHA256 (libinotify-kqueue-20170711.tar.gz) = 
9/xo3TbAf7Mwh8lB6+kQKNfFDzcoLouX1Hh8DMhXrbw=
+SIZE (libinotify-kqueue-20170711.tar.gz) = 71707
Index: patches/patch-Makefile_am
===================================================================
RCS file: /cvs/ports/devel/libinotify/patches/patch-Makefile_am,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-Makefile_am
--- patches/patch-Makefile_am   12 May 2016 09:27:39 -0000      1.5
+++ patches/patch-Makefile_am   24 Aug 2017 14:06:24 -0000
@@ -2,14 +2,15 @@ $OpenBSD: patch-Makefile_am,v 1.5 2016/0
 
 Unbreak separate build
 
---- Makefile.am.orig   Wed May 11 12:06:59 2016
-+++ Makefile.am        Wed May 11 12:25:03 2016
-@@ -41,7 +41,7 @@ libinotify_la_SOURCES += compat/ik_atomic.c
+Index: Makefile.am
+--- Makefile.am.orig
++++ Makefile.am
+@@ -58,7 +58,7 @@ libinotify_la_SOURCES += compat/tree.h
  endif
  
- libinotify_la_CFLAGS = -I. -DNDEBUG @PTHREAD_CFLAGS@
+ libinotify_la_CFLAGS = -I. -DNDEBUG @PTHREAD_CFLAGS@ -Wall -Werror
 -libinotify_la_LDFLAGS = @PTHREAD_LIBS@ -export-symbols libinotify.sym
 +libinotify_la_LDFLAGS = @PTHREAD_LIBS@ -export-symbols 
$(top_srcdir)/libinotify.sym
  endif
  
- ############################################################
+ inotify_test_SOURCES = inotify-test.c
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/libinotify/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   24 Jun 2014 08:09:05 -0000      1.1.1.1
+++ pkg/PLIST   24 Aug 2017 14:06:24 -0000
@@ -6,3 +6,10 @@ lib/inotify/
 lib/inotify/libinotify.a
 lib/inotify/libinotify.la
 @lib lib/inotify/libinotify.so.${LIBinotify_VERSION}
+@man man/man3/inotify_add_watch.3
+@man man/man3/inotify_event.3
+@man man/man3/inotify_init.3
+@man man/man3/inotify_init1.3
+@man man/man3/inotify_rm_watch.3
+@man man/man3/inotify_set_param.3
+@man man/man3/libinotify.3

Reply via email to