From nobody Sun Jul 03 16:33:09 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0C73D87B0E5; Sun, 3 Jul 2022 16:33:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LbZHV5xjpz4hJG; Sun, 3 Jul 2022 16:33:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656865990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H6K5OkfnJljtu6o+vM2qEycuE0csDkoFScjKZyZkp3c=; b=BCVOGS6qsrZjFa3nlL0FLeM1kvyUeOs0IoMeGaJbyi50KRO7pAqq06S490Lnk61M83V4qx vD0YR7MZtd56ICIFbprw1+n+znIFL2EKZ3BAP/ze8ebJFL9YjidMkKDDj5EsQx0D1cCrxV A+/VlAVxH72+HfqNw+2IEa/o1FXc0nZ/QIiQh3AAoqxRuYxTltzWkW3V+t7tszw1HjQIad ROPk5FG6z2aveY2vlnbREywMUgM03WPwchtdRh7OGvs5wHiaEULj8ly4R2XL0wQrrucfk8 a8FoKdqUoPcWBas3RcW01Fd1liQQiFQ9pdTdvJ4Enb7l7hu2RqkvVWRdb/Z4uw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E6C128000; Sun, 3 Jul 2022 16:33:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 263GX9Sv087242; Sun, 3 Jul 2022 16:33:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 263GX96a087241; Sun, 3 Jul 2022 16:33:09 GMT (envelope-from git) Date: Sun, 3 Jul 2022 16:33:09 GMT Message-Id: <202207031633.263GX96a087241@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a0f924872af9 - main - devel/boxfort: New port: Convenient and cross-platform sandboxing C library List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0f924872af9a3601739a341a5f3614b792c5880 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656865990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H6K5OkfnJljtu6o+vM2qEycuE0csDkoFScjKZyZkp3c=; b=HZXYCoTu+HgndFeB8NMoNDH4Rwi5twzKsDKupLg6lwPitXhmYPrTjTHY/LavEx543esQZE 8FlCh/2HPwCaPocWffSdpxrmIpIjaGk6Ac7LA1ZfOvsWXBagOYsn/VXfyu2RB2MVVlfVGB U+JXZUYduol6PKMZX6hU/Wjf51sDyKAX1TfRWxb1M1WJoSFJL3cK6kyrVFDrTcd91Z2IKD 3g9RONGXb4H24yjbKYI1p7nPrpuxWnFCFAJ2TVOhtaRvEJJRWrLPJX2Obb29WhbtHJ3Icm qzhe3NdNfN0O86RHmi6FbaHxzjcWvEoe6UrLNRmKxDw4YVzQ64me8Fq/+1JHyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656865990; a=rsa-sha256; cv=none; b=UrXb8fMmx0PMalAR2TTffjzjIOkCmGby6/bdqaGG7X8zCSG8ZtbUe1cE1hKOdlN/m8Kyq4 tfMCOJK5Dcb85mjru4aGnEBYk0iS2AmK3mfkbepxtRwgqozFolekIcnxRRLIj9X3PUmExq F68VQknb4uSTXLK7gPa6/F8I8PPV9LsFWLjgRpeoUhiO78vZv/8JbfH9Acrigbs1FpYKWQ iGTYVWstVgTvUDuaIz6uqXNmalKlzfdkh7/Y/KlgF0iUCh0lVArvoYr/CIiW1PYkyECDPA dUHU4c6NEFgGRfquw0wHKGIhlnQ9iS8MFUEKeCRwHXcVs4Je2Lzw7qvFs64aiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0f924872af9a3601739a341a5f3614b792c5880 commit a0f924872af9a3601739a341a5f3614b792c5880 Author: Yuri Victorovich AuthorDate: 2022-07-03 16:02:48 +0000 Commit: Yuri Victorovich 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 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