security/doas 6.4 FreeBSD
Simple sudo alternative to run commands as another user
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8b79ada9a6- License
- BSD2CLAUSE, ISCL
- Categories
- security
- Package size
- 24.6 KiB, 44.8 KiB installed
Description
This is the FreeBSD port of the OpenBSD "doas" command. The doas program allows a regular user to run commands as another user (usually root). The doas command is a simplified (hopefully more secure) version of the "sudo" command and offers an easier to read/modify configuration.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/doas | 6.4 |
| NetBSD | security/doas | 6.3p2nb2 |
| DragonFly | security/doas | 6.3p12 |
| MidnightBSD | security/doas | 6.3p12 |
Install
Binary package:
pkg install doas
From the ports tree:
cd /usr/ports/security/doas/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= doas>0:security/doas
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 6.4 | 6.4 | 6.3p9 | 6.3p12 | 6.4 |
| FreeBSD:14:quarterly | 6.4 | 6.4 | n/a | 6.3p12 | 6.4 |
| FreeBSD:15:latest | 6.4 | 6.4 | n/a | 6.3p12 | 6.3p12 |
| FreeBSD:15:quarterly | 6.4 | 6.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.4 | 6.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- cpe gmake
- Service scripts
- none
- Conflicts with
- opendoas
Message after installing
Files
Manual pages 4
- doas(1)
- doas.conf(5)
- doasedit(8)
- vidoas(8)
pkg-plist 8
- @(,,4755) bin/doas
- bin/doasedit
- bin/vidoas
- @sample etc/doas.conf.sample
- share/man/man1/doas.1.gz
- share/man/man5/doas.conf.5.gz
- share/man/man8/doasedit.8.gz
- share/man/man8/vidoas.8.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| doas-6.4.tar.gz | 34921 | e88ed42abac267526e1acf0c53881d4d3591c3b7c482eb5064fc88501936ec4d |
Master sites 1
- https://codeberg.org/thejessesmith/doas/archive/6.4${EXTRACT_SUFX}?dummy=/