summaryrefslogtreecommitdiff
path: root/devel/priv_wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'devel/priv_wrapper')
-rw-r--r--devel/priv_wrapper/Makefile24
-rw-r--r--devel/priv_wrapper/distinfo3
-rw-r--r--devel/priv_wrapper/pkg-descr1
-rw-r--r--devel/priv_wrapper/pkg-plist7
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/priv_wrapper/Makefile b/devel/priv_wrapper/Makefile
new file mode 100644
index 000000000000..9dcd183ec00e
--- /dev/null
+++ b/devel/priv_wrapper/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= priv_wrapper
+PORTVERSION= 1.0.1
+CATEGORIES= devel
+MASTER_SITES= SAMBA/cwrap
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Library to disable resource limits and other privilege dropping
+WWW= https://cwrap.org/priv_wrapper.html \
+ https://git.samba.org/?p=priv_wrapper.git
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= cmocka>=1.1.0:sysutils/cmocka
+
+USES= cmake:testing pathfix
+
+CMAKE_OFF= HELGRIND_TESTING \
+ PICKY_DEVELOPER \
+ UNIT_TESTING
+CMAKE_TESTING_ON= UNIT_TESTING
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/devel/priv_wrapper/distinfo b/devel/priv_wrapper/distinfo
new file mode 100644
index 000000000000..b9fb96577309
--- /dev/null
+++ b/devel/priv_wrapper/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752566666
+SHA256 (priv_wrapper-1.0.1.tar.gz) = b10bff1672640e9e0dc92a821e8173bd0d727a148b5939f01e95abc89621e3c1
+SIZE (priv_wrapper-1.0.1.tar.gz) = 31602
diff --git a/devel/priv_wrapper/pkg-descr b/devel/priv_wrapper/pkg-descr
new file mode 100644
index 000000000000..5935ba799e3b
--- /dev/null
+++ b/devel/priv_wrapper/pkg-descr
@@ -0,0 +1 @@
+priv_wrapper allows to disable chroot, prctl, pledge and setrlmit system calls.
diff --git a/devel/priv_wrapper/pkg-plist b/devel/priv_wrapper/pkg-plist
new file mode 100644
index 000000000000..cdbd27c432b7
--- /dev/null
+++ b/devel/priv_wrapper/pkg-plist
@@ -0,0 +1,7 @@
+lib/cmake/priv_wrapper/priv_wrapper-config-version.cmake
+lib/cmake/priv_wrapper/priv_wrapper-config.cmake
+lib/libpriv_wrapper.so
+lib/libpriv_wrapper.so.0
+lib/libpriv_wrapper.so.0.0.2
+libdata/pkgconfig/priv_wrapper.pc
+share/man/man1/priv_wrapper.1.gz