commit f79228505a8a39cdda9acf87ffc64a9a3eb259f6 from: Sergey Bronnikov date: Fri Jul 16 11:41:32 2021 UTC Introduce Lua rockspec Closes #88 commit - ce681b4d058e57398850f01df5b8734525495ccd commit + f79228505a8a39cdda9acf87ffc64a9a3eb259f6 blob - /dev/null blob + 30eeca1c904bafffd986784e482ba7cc4e28e3e3 (mode 644) --- /dev/null +++ unreliablefs-scm-1.rockspec @@ -0,0 +1,39 @@ +package = 'unreliablefs' +version = 'scm-1' + +description = { + summary = "A FUSE-based fault injection filesystem", + detailed = [[ + is a FUSE-based fault injection filesystem that allows to change + fault-injections in runtime using simple configuration file. + + Supported fault injections are: + + - `errinj_errno` - return error value and set random errno; + - `errinj_kill_caller` - send SIGKILL to a process that invoked file operation; + - `errinj_noop` - replace file operation with no operation; + - `errinj_slowdown` - slowdown invoked file operation; + ]], + homepage = "https://github.com/ligurio/unreliablefs", + maintainer = "Sergey Bronnikov ", + license = "MIT", +} + +source = { + url = 'git+https://github.com/ligurio/unreliablefs.git', + branch = 'master', +} + +external_dependencies = { + FUSE = { + header = 'fuse.h', + }, +} + +build = { + type = 'cmake', + copy_directories = {}, + variables = { + CMAKE_INSTALL_PREFIX = "$(PREFIX)", + }, +}