Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 22:59:04 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r525983 - head/devel/libepoll-shim
Message-ID:  <202002122259.01CMx4GE013568@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Wed Feb 12 22:59:03 2020
New Revision: 525983
URL: https://svnweb.freebsd.org/changeset/ports/525983

Log:
  devel/libepoll-shim: Update to latest snapshot
  
  Update the snapshot of devel/libepoll-shim
  This solves several issues when using wayland
  
  PR:		243649 (with minor changes)
  Submitted by:	grembo

Modified:
  head/devel/libepoll-shim/Makefile
  head/devel/libepoll-shim/distinfo
  head/devel/libepoll-shim/pkg-descr
  head/devel/libepoll-shim/pkg-plist

Modified: head/devel/libepoll-shim/Makefile
==============================================================================
--- head/devel/libepoll-shim/Makefile	Wed Feb 12 22:58:22 2020	(r525982)
+++ head/devel/libepoll-shim/Makefile	Wed Feb 12 22:59:03 2020	(r525983)
@@ -2,34 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	libepoll-shim
-PORTVERSION=	0.0.20190311
+PORTVERSION=	0.0.20200212
 CATEGORIES=	devel
 
 MAINTAINER=	x11@FreeBSD.org
-COMMENT=	epoll shim implemented using kevent
+COMMENT=	Small epoll implementation using kqueue
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+USES=		cmake compiler:c11
+USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	FreeBSDDesktop
 GH_PROJECT=	epoll-shim
-GH_TAGNAME=	1d1135384395dbf38eea00680ca28ead04f8dce2
+GH_TAGNAME=	07e2a80
 
-USE_LDCONFIG=	yes
+do-test:
+	# Exclude certain tests in resource restricted environments
+	@(if [ `ulimit -n` -lt 20100 ]; then \
+	    ${ECHO} "Skipping test perf-many-fds.perf_many_fds__perf"; \
+	    SKIP_TESTS="-E ^(perf-many-fds.perf_many_fds__perf"; \
+	    if [ `ulimit -n` -lt 1100 ]; then \
+	        ${ECHO} "Skipping test timerfd-test.timerfd__many_timers"; \
+	        SKIP_TESTS=$$SKIP_TESTS"|timerfd-test.timerfd__many_timers"; \
+	    fi; \
+	    SKIP_TESTS=$$SKIP_TESTS")$$"; \
+	fi; \
+	cd ${TEST_WRKSRC} && \
+	${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} $$SKIP_TESTS)
 
-USES=		compiler uidfix
-MAKE_ARGS=	WITHOUT_PROFILE=yes
-
-.include <bsd.port.pre.mk>
-
-post-patch:
-	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
-.if "${CHOSEN_COMPILER_TYPE}" == "gcc"
-	@${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \
-		-e 's|-Wno-thread-safety-analysis||' ${WRKSRC}/Makefile
-.endif
-
-pre-install:
-	@${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/libepoll-shim/distinfo
==============================================================================
--- head/devel/libepoll-shim/distinfo	Wed Feb 12 22:58:22 2020	(r525982)
+++ head/devel/libepoll-shim/distinfo	Wed Feb 12 22:59:03 2020	(r525983)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1554794906
-SHA256 (FreeBSDDesktop-epoll-shim-0.0.20190311-1d1135384395dbf38eea00680ca28ead04f8dce2_GH0.tar.gz) = 689aaf4a6f8f14a715986f03c283cbabf404a2ac5370ad6430f28cc8e101b554
-SIZE (FreeBSDDesktop-epoll-shim-0.0.20190311-1d1135384395dbf38eea00680ca28ead04f8dce2_GH0.tar.gz) = 16341
+TIMESTAMP = 1581547152
+SHA256 (FreeBSDDesktop-epoll-shim-0.0.20200212-07e2a80_GH0.tar.gz) = 80444f72efd2756cf91b323cd8a0a7a9a02ecf81b4b107499ec047cdac651929
+SIZE (FreeBSDDesktop-epoll-shim-0.0.20200212-07e2a80_GH0.tar.gz) = 39959

Modified: head/devel/libepoll-shim/pkg-descr
==============================================================================
--- head/devel/libepoll-shim/pkg-descr	Wed Feb 12 22:58:22 2020	(r525982)
+++ head/devel/libepoll-shim/pkg-descr	Wed Feb 12 22:59:03 2020	(r525983)
@@ -1 +1,5 @@
-epoll shim implemented using kevent.
+epoll-shim is a small library that implements epoll on top of kqueue. It
+has been successfully used to port libinput, libevdev, Wayland and more
+software to FreeBSD.
+
+WWW: https://github.com/jiixyj/epoll-shim

Modified: head/devel/libepoll-shim/pkg-plist
==============================================================================
--- head/devel/libepoll-shim/pkg-plist	Wed Feb 12 22:58:22 2020	(r525982)
+++ head/devel/libepoll-shim/pkg-plist	Wed Feb 12 22:59:03 2020	(r525983)
@@ -1,7 +1,10 @@
 include/libepoll-shim/sys/epoll.h
+include/libepoll-shim/sys/eventfd.h
 include/libepoll-shim/sys/signalfd.h
 include/libepoll-shim/sys/timerfd.h
-lib/libepoll-shim.a
+lib/cmake/epoll-shim/epoll-shim-config.cmake
+lib/cmake/epoll-shim/epoll-shim-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/epoll-shim/epoll-shim-targets.cmake
 lib/libepoll-shim.so
 lib/libepoll-shim.so.0
 libdata/pkgconfig/epoll-shim.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002122259.01CMx4GE013568>