| Port details on branch 2026Q3 |
- py-privleap Limited Privilege Escalation Framework
- 6.5.1 security
=0 6.5.1Version of this port present on the latest quarterly branch. - Maintainer: dtxdf@FreeBSD.org
 - Port Added: 2026-09-03 05:37:05
- Last Update: 2026-09-03 04:52:21
- Commit Hash: b2fb328
- Also Listed In: python
- License: AGPLv3
- WWW:
- https://www.kicksecure.com/wiki/Privleap
- Description:
- privleap is a privilege escalation framework similar in purpose to
sudo and doas, but very different conceptually. It is designed to
allow user-level applications to run very specific operations as
root without allowing full root control of the machine. Unlike
directly executable privilege escalation frameworks like sudo,
privleap runs as a background service that listens for signals from
other applications. Each signal can request a particular, pre-configured
action to be taken. Signals are authenticated, and each action is
taken only if the signal passes authentication. Any console output
from the action is then returned to the caller. This system allows
privleap to function without being SUID-root, and avoids a lot of
the potential pitfalls of sudo, doas, run0, etc.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}privleap>0:security/py-privleap@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-privleap/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-privleap
- pkg install py313-privleap
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py313-privleap listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py313-privleap
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1788392718
SHA256 (Kicksecure-privleap-6.5-1_GH0.tar.gz) = d250542c9c075f454c0e98097023465bfb7bf44b78262f04a9a33a8c574a1626
SIZE (Kicksecure-privleap-6.5-1_GH0.tar.gz) = 125867
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:
-
- python3.13 : lang/python313
- Test dependencies:
-
- python3.13 : lang/python313
- Runtime dependencies:
-
- py313-PAM>=0 : security/py-PAM@py313
- python3.13 : lang/python313
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- security_py-privleap
- USES:
- python:3.13+ shebangfix
- pkg-message:
- For install:
- pam_exec(8) could be used to call leapctl(8) to create the
communication socket required by leaprun(8) by simply adding
the following to a PAM policy file:
session optional pam_exec.so /usr/local/libexec/privleap/pam_create_socket.sh
- Master Sites:
|