git: a0f924872af9 - main - devel/boxfort: New port: Convenient and cross-platform sandboxing C library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Jul 2022 16:33:09 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0f924872af9a3601739a341a5f3614b792c5880 commit a0f924872af9a3601739a341a5f3614b792c5880 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-03 16:02:48 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-03 16:33:06 +0000 devel/boxfort: New port: Convenient and cross-platform sandboxing C library --- devel/Makefile | 1 + devel/boxfort/Makefile | 23 +++++++++++++++++++++++ devel/boxfort/distinfo | 3 +++ devel/boxfort/files/patch-src_meson.build | 11 +++++++++++ devel/boxfort/pkg-descr | 6 ++++++ 5 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0275226db06a..e8208656b11c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -291,6 +291,7 @@ SUBDIR += boost-python-libs SUBDIR += boost_build SUBDIR += bossa + SUBDIR += boxfort SUBDIR += bpython SUBDIR += brz SUBDIR += bsdbuild diff --git a/devel/boxfort/Makefile b/devel/boxfort/Makefile new file mode 100644 index 000000000000..669f7e36630c --- /dev/null +++ b/devel/boxfort/Makefile @@ -0,0 +1,23 @@ +PORTNAME= boxfort +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.4 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Convenient and cross-platform sandboxing C library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= meson +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= Snaipe +GH_PROJECT= BoxFort + +PLIST_FILES= include/boxfort.h \ + lib/libboxfort.so \ + libdata/pkgconfig/boxfort.pc + +.include <bsd.port.mk> diff --git a/devel/boxfort/distinfo b/devel/boxfort/distinfo new file mode 100644 index 000000000000..cd1c3ce88b31 --- /dev/null +++ b/devel/boxfort/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1656863643 +SHA256 (Snaipe-BoxFort-v0.1.4_GH0.tar.gz) = 67129d585722739e78af766a9ce5fb91f1359740e3b12a2ac0c2f8d7049be66b +SIZE (Snaipe-BoxFort-v0.1.4_GH0.tar.gz) = 43011 diff --git a/devel/boxfort/files/patch-src_meson.build b/devel/boxfort/files/patch-src_meson.build new file mode 100644 index 000000000000..c61ecd77203c --- /dev/null +++ b/devel/boxfort/files/patch-src_meson.build @@ -0,0 +1,11 @@ +--- src/meson.build.orig 2022-07-03 15:57:51 UTC ++++ src/meson.build +@@ -68,7 +68,7 @@ extra_cflags = cc.get_supported_arguments([ + '-DBXF_STATIC_LIB=1', + ]) + +-libboxfort = static_library('boxfort', sources, ++libboxfort = shared_library('boxfort', sources, + include_directories: [boxfort_includedir], + dependencies: deps, + install: not meson.is_subproject(), diff --git a/devel/boxfort/pkg-descr b/devel/boxfort/pkg-descr new file mode 100644 index 000000000000..35e11bab5cc5 --- /dev/null +++ b/devel/boxfort/pkg-descr @@ -0,0 +1,6 @@ +BoxFort is a simple, cross-platform sandboxing C library powering +Criterion. + +BoxFort provides a simple API to run user code in isolated processes. + +WWW: https://github.com/Snaipe/BoxFort