diff --git a/sysutils/fusefs-unreliablefs/Makefile b/sysutils/fusefs-unreliablefs/Makefile index 9af80752c8c3..d49f626d7e32 100644 --- a/sysutils/fusefs-unreliablefs/Makefile +++ b/sysutils/fusefs-unreliablefs/Makefile @@ -1,58 +1,42 @@ PORTNAME= unreliablefs -DISTVERSION= 0.1.0 -PORTREVISION= 1 +DISTVERSION= 0.2.0 CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- PATCH_SITES= https://github.com/ligurio/unreliablefs/commit/ -PATCHFILES= a3caa832a5a63c69e18b8b66b503f9a460536539.patch:-p1 +PATCHFILES= e97d259b1cda3c1342c9cb472d31230e50b0776d.patch:-p1 MAINTAINER= 0mp@FreeBSD.org COMMENT= FUSE-based fault injection filesystem LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_11= error: use of undeclared identifier 'EINTEGRITY' - TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ fio:benchmarks/fio -USES= cmake fuse pkgconfig python:env +USES= compiler:c++11-lang cmake fuse pkgconfig python:env USE_CSTD= c11 USE_GITHUB= yes GH_ACCOUNT= ligurio PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz \ share/man/man5/${PORTNAME}.conf.5.gz -post-patch: -# Upstream hardcodes FreeBSD release versions in order to skip some tests. We -# need to adjust those to values as not all supported FreeBSD releases are -# listed there. - ${REINPLACE_CMD} 's|freebsd12|freebsd${OSREL:R}|' \ - ${WRKSRC}/tests/util.py \ - ${WRKSRC}/tests/test_unreliablefs.py - -do-install: - ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5 - do-test: # fusefs(5) must be loaded. if ! kldload -n fusefs; then \ ${ECHO_MSG} "Cannot load the fusefs kernel module"; \ ${FALSE}; \ fi # /dev/fuse must be writtable and readable to the user running the tests. if [ ! -r /dev/fuse ] || [ ! -w /dev/fuse ]; then \ ${ECHO_MSG} "Current user does cannot access /dev/fuse"; \ ${FALSE}; \ fi # The test suite assumes that the binaries are available in the ${WRKSRC}/build # directory, which is not the case here. ${LN} -Fs ${INSTALL_WRKSRC} ${WRKSRC}/build cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest --verbose -rxXs tests/ .include diff --git a/sysutils/fusefs-unreliablefs/distinfo b/sysutils/fusefs-unreliablefs/distinfo index ed5585510568..42458d53119d 100644 --- a/sysutils/fusefs-unreliablefs/distinfo +++ b/sysutils/fusefs-unreliablefs/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1625486723 -SHA256 (ligurio-unreliablefs-0.1.0_GH0.tar.gz) = 4fc13b4cc4e947c72bd02c891b3be135083d57fba245a35808f9b2e039574074 -SIZE (ligurio-unreliablefs-0.1.0_GH0.tar.gz) = 33789 -SHA256 (a3caa832a5a63c69e18b8b66b503f9a460536539.patch) = d8acf168fb9fd3a1fe5ed1b19acafd5290b0e803cfc2848c3413db38b2f823c6 -SIZE (a3caa832a5a63c69e18b8b66b503f9a460536539.patch) = 1484 +TIMESTAMP = 1628591422 +SHA256 (ligurio-unreliablefs-0.2.0_GH0.tar.gz) = 51ea2bdd0ef2b9d4e0960e244ab34d50d8f01fc8f2acb34b13d58ab9208b03f5 +SIZE (ligurio-unreliablefs-0.2.0_GH0.tar.gz) = 34574 +SHA256 (e97d259b1cda3c1342c9cb472d31230e50b0776d.patch) = 42cbe74153bb90b1b528a5b738c45e6086f32bcfb691c7d66acabd9b05ff7746 +SIZE (e97d259b1cda3c1342c9cb472d31230e50b0776d.patch) = 830