notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details
uid_wrapper Testing tool to fake privilege separation
1.3.2 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.2.4_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (14 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/uid_wrapper-1.3.2/catalog.mk
  3. /usr/local/share/licenses/uid_wrapper-1.3.2/LICENSE
  4. /usr/local/share/licenses/uid_wrapper-1.3.2/GPLv3+
  5. lib/cmake/uid_wrapper/uid_wrapper-config-version.cmake
  6. lib/cmake/uid_wrapper/uid_wrapper-config.cmake
  7. lib/libuid_wrapper.so
  8. lib/libuid_wrapper.so.0
  9. lib/libuid_wrapper.so.0.2.2
  10. libdata/pkgconfig/uid_wrapper.pc
  11. share/man/man1/uid_wrapper.1.gz
  12. @owner
  13. @group
  14. @mode
Collapse this list.
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):
uid_wrapper
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.3.21.3.21.2.41.3.21.3.2-1.2.4-
FreeBSD:13:quarterly1.2.4_11.2.4_11.2.41.2.4_11.2.4_11.2.41.2.41.2.4
FreeBSD:14:latest1.3.21.3.21.2.41.3.11.3.21.2.4-1.2.4
FreeBSD:14:quarterly1.2.4_11.2.4_1-1.2.4_11.2.4_11.2.41.2.41.2.4
FreeBSD:15:latest1.3.21.3.2n/a1.2.4_1n/a1.2.41.2.41.2.4
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Test dependencies:
  1. cmocka>=1.1.0 : sysutils/cmocka
This port is required by:
for Run
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://ftp.samba.org/pub/cwrap/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.2
12 Aug 2025 18:15:32
commit hash: d52c466836a75b1de1da981eea1440e61b6da596commit hash: d52c466836a75b1de1da981eea1440e61b6da596commit hash: d52c466836a75b1de1da981eea1440e61b6da596commit hash: d52c466836a75b1de1da981eea1440e61b6da596 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 70dab3df59cf2075b94b6d9aaf8b0a683d539dc4commit hash: 70dab3df59cf2075b94b6d9aaf8b0a683d539dc4commit hash: 70dab3df59cf2075b94b6d9aaf8b0a683d539dc4commit hash: 70dab3df59cf2075b94b6d9aaf8b0a683d539dc4 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 0c450670927c160f66da2c679d0edb4eee56654fcommit hash: 0c450670927c160f66da2c679d0edb4eee56654fcommit hash: 0c450670927c160f66da2c679d0edb4eee56654fcommit hash: 0c450670927c160f66da2c679d0edb4eee56654f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: e3f6f924fe86b9b12c479c5686da7748d81d6f4bcommit hash: e3f6f924fe86b9b12c479c5686da7748d81d6f4bcommit hash: e3f6f924fe86b9b12c479c5686da7748d81d6f4bcommit hash: e3f6f924fe86b9b12c479c5686da7748d81d6f4b files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 72ab8173c3f320fd62e9473f6fdcf68b201f08b2commit hash: 72ab8173c3f320fd62e9473f6fdcf68b201f08b2commit hash: 72ab8173c3f320fd62e9473f6fdcf68b201f08b2commit hash: 72ab8173c3f320fd62e9473f6fdcf68b201f08b2 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
devel/uid_wrapper: Move man pages to share/man

Approved by:	portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.2.4
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.2.4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.2.4
25 Dec 2018 20:25:40
Revision:488341Original commit files touched by this commit
tcberner search for other commits by this committer
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
Revision:473829Original commit files touched by this commit
timur search for other commits by this committer
Incorporate mat@ cleanup suggrestions
1.2.4
03 Jul 2018 03:29:43
Revision:473793Original commit files touched by this commit
timur search for other commits by this committer
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.

Number of commits found: 12