Port details |
- uid_wrapper Testing tool to fake privilege separation
- 1.3.2 devel
=2 1.2.4_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2018-07-03 03:29:57
- Last Update: 2025-08-12 18:15:32
- Commit Hash: d52c466
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- License: GPLv3+
- WWW:
- https://cwrap.org/uid_wrapper.html
- https://git.samba.org/?p=uid_wrapper.git
- Description:
- Some projects, such as a file server, need privilege separation to be able to
switch to the user who owns the files and do file operations on their behalf.
uid_wrapper convincingly lies to the application, letting it believe it is
operating as root and even switching between UIDs and GIDs as needed. You can
start any application making it believe it is running as root.
Features:
- Allows uid switching as a normal user.
- Start any application making it believe it is running as root.
- Support for user/group changing in the local thread using the syscalls (like
glibc).
- uid_wrapper intercepts seteuid(2) and related calls and simulates them in a
way transparent to the application
 ¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- uid_wrapper>0:devel/uid_wrapper
- To install the port:
- cd /usr/ports/devel/uid_wrapper/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/uid_wrapper
- pkg install uid_wrapper
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: uid_wrapper
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1753796012
SHA256 (uid_wrapper-1.3.2.tar.gz) = ae4bf3b8f0a748f470531a650436b39182c8217ee9269a9c7e925c64380a9bda
SIZE (uid_wrapper-1.3.2.tar.gz) = 50805
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Test dependencies:
-
- cmocka>=1.1.0 : sysutils/cmocka
- This port is required by:
- for Run
-
- devel/cwrap
Configuration Options:
- No options to configure
- Options name:
- devel_uid_wrapper
- USES:
- cmake:testing localbase pathfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.3.2 12 Aug 2025 18:15:32
    |
Po-Chuan Hsieh (sunpoet)  |
devel/uid_wrapper: Update to 1.3.2
Changes: https://git.samba.org/?p=uid_wrapper.git;a=blob;f=CHANGELOG |
1.3.1 24 Jul 2025 11:18:52
    |
Po-Chuan Hsieh (sunpoet)  |
devel/uid_wrapper: Update to 1.3.1
- Update LICENSE_FILE
- Convert to USES=cmake:testing
Changes: https://git.samba.org/?p=uid_wrapper.git;a=blob;f=CHANGELOG |
1.2.4_1 23 Jul 2025 07:23:09
    |
Po-Chuan Hsieh (sunpoet)  |
devel/uid_wrapper: Fix LICENSE
- Update WWW
- Add LICENSE_FILE
- Use USES=cmake:testing
- Use USES=pathfix to fix .pc installation
- Fix indent
- Convert PLIST_FILES to PLIST
- Update pkg-descr
- Take maintainership |
1.2.4_1 07 Jul 2025 19:41:46
    |
Rene Ladan (rene)  |
all: return timur's ports to the pool after safekeeping his commit bit.
Hat: portmgr |
1.2.4_1 07 Mar 2024 09:47:32
    |
Nuno Teixeira (eduardo)  |
devel/uid_wrapper: Move man pages to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.2.4 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.2.4 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.2.4 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.2.4 25 Dec 2018 20:25:40
  |
tcberner  |
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine |
1.2.4 03 Jul 2018 13:09:10
  |
timur  |
Incorporate mat@ cleanup suggrestions |
1.2.4 03 Jul 2018 03:29:43
  |
timur  |
Add a Cwrap suit - set of preloadable wrappers that allow to test different
aspects of the application in a transparent manner.
Sponsored by: iXsystems Inc. |