View | Details | Raw Unified | Return to bug 243649 | Differences between
and this patch

Collapse All | Expand All

(-)devel/libepoll-shim/Makefile (-21 / +21 lines)
Lines 2-35 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libepoll-shim
4
PORTNAME=	libepoll-shim
5
PORTVERSION=	0.0.20190311
5
PORTVERSION=	0.0.20200211
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
7
8
MAINTAINER=	x11@FreeBSD.org
8
MAINTAINER=	x11@FreeBSD.org
9
COMMENT=	epoll shim implemented using kevent
9
COMMENT=	Small epoll implementation using kqueue
10
10
11
LICENSE=	MIT
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
14
USES=		cmake compiler:c11
15
USE_LDCONFIG=	yes
13
USE_GITHUB=	yes
16
USE_GITHUB=	yes
14
GH_ACCOUNT=	FreeBSDDesktop
17
GH_ACCOUNT=	jiixyj
15
GH_PROJECT=	epoll-shim
18
GH_PROJECT=	epoll-shim
16
GH_TAGNAME=	1d1135384395dbf38eea00680ca28ead04f8dce2
19
GH_TAGNAME=	d8cb83a
17
20
18
USE_LDCONFIG=	yes
21
do-test:
22
	# Exclude certain tests in resource restricted environments
23
	@(if [ `ulimit -n` -lt 20100 ]; then \
24
	    ${ECHO} "Skipping test perf-many-fds.perf_many_fds__perf"; \
25
	    SKIP_TESTS="-E ^(perf-many-fds.perf_many_fds__perf"; \
26
	    if [ `ulimit -n` -lt 1100 ]; then \
27
	        ${ECHO} "Skipping test timerfd-test.timerfd__many_timers"; \
28
	        SKIP_TESTS=$$SKIP_TESTS"|timerfd-test.timerfd__many_timers"; \
29
	    fi; \
30
	    SKIP_TESTS=$$SKIP_TESTS")$$"; \
31
	fi; \
32
	cd ${TEST_WRKSRC} && \
33
	${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} $$SKIP_TESTS)
19
34
20
USES=		compiler uidfix
35
.include <bsd.port.mk>
21
MAKE_ARGS=	WITHOUT_PROFILE=yes
22
23
.include <bsd.port.pre.mk>
24
25
post-patch:
26
	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
27
.if "${CHOSEN_COMPILER_TYPE}" == "gcc"
28
	@${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \
29
		-e 's|-Wno-thread-safety-analysis||' ${WRKSRC}/Makefile
30
.endif
31
32
pre-install:
33
	@${MKDIR} ${STAGEDIR}/${PREFIX}/include/libepoll-shim/sys
34
35
.include <bsd.port.post.mk>
(-)devel/libepoll-shim/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1554794906
1
TIMESTAMP = 1581421021
2
SHA256 (FreeBSDDesktop-epoll-shim-0.0.20190311-1d1135384395dbf38eea00680ca28ead04f8dce2_GH0.tar.gz) = 689aaf4a6f8f14a715986f03c283cbabf404a2ac5370ad6430f28cc8e101b554
2
SHA256 (jiixyj-epoll-shim-0.0.20200211-d8cb83a_GH0.tar.gz) = d77f774d824e60a0a5be5a0aadfbadcd9b8be10c26c14598792efdafa05fc59c
3
SIZE (FreeBSDDesktop-epoll-shim-0.0.20190311-1d1135384395dbf38eea00680ca28ead04f8dce2_GH0.tar.gz) = 16341
3
SIZE (jiixyj-epoll-shim-0.0.20200211-d8cb83a_GH0.tar.gz) = 39485
(-)devel/libepoll-shim/pkg-descr (-1 / +5 lines)
Line 1 Link Here
1
epoll shim implemented using kevent.
1
epoll-shim is a small library that implements epoll on top of kqueue. It
2
has been successfully used to port libinput, libevdev, Wayland and more
3
software to FreeBSD.
4
5
WWW: https://github.com/jiixyj/epoll-shim
(-)devel/libepoll-shim/pkg-plist (-1 / +4 lines)
Lines 1-7 Link Here
1
include/libepoll-shim/sys/epoll.h
1
include/libepoll-shim/sys/epoll.h
2
include/libepoll-shim/sys/eventfd.h
2
include/libepoll-shim/sys/signalfd.h
3
include/libepoll-shim/sys/signalfd.h
3
include/libepoll-shim/sys/timerfd.h
4
include/libepoll-shim/sys/timerfd.h
4
lib/libepoll-shim.a
5
lib/cmake/epoll-shim/epoll-shim-config.cmake
6
lib/cmake/epoll-shim/epoll-shim-targets-%%CMAKE_BUILD_TYPE%%.cmake
7
lib/cmake/epoll-shim/epoll-shim-targets.cmake
5
lib/libepoll-shim.so
8
lib/libepoll-shim.so
6
lib/libepoll-shim.so.0
9
lib/libepoll-shim.so.0
7
libdata/pkgconfig/epoll-shim.pc
10
libdata/pkgconfig/epoll-shim.pc

Return to bug 243649