FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
doas Simple sudo alternative to run commands as another user
6.0p2 security on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: jsmith@resonatingmedia.com search for ports maintained by this maintainer
Port Added: 24 Jun 2016 00:07:23
License: BSD2CLAUSE ISCL
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.

WWW: https://github.com/slicer69/doas/
SVNWeb : Homepage : PortsMon : pkg-plist

To install the port: cd /usr/ports/security/doas/ && make install clean
To add the package: pkg install doas

PKGNAME: doas

distinfo:

TIMESTAMP = 1507747922
SHA256 (slicer69-doas-6.0p2_GH0.tar.gz) = 5afff34eaa4d9bf65ebe861f57056a97f9ea6ce61f6d3d1a25e69bcfadd33c46
SIZE (slicer69-doas-6.0p2_GH0.tar.gz) = 18439


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake

This port is required by:

for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
gmake

Master Sites:
  1. https://codeload.github.com/slicer69/doas/tar.gz/6.0p2?dummy=/

Number of commits found: 13

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
12 Oct 2017 14:22:57
Original commit files touched by this commit  6.0p2
Revision:451880
vanilla search for other commits by this committer
Update to 6.0p2.

PR:		222936
Submitted by:	maintainer
06 Sep 2017 10:03:52
Original commit files touched by this commit  6.0p1
Revision:449334
tobik search for other commits by this committer
security/doas: Update to 6.0p1

This update brings the security/doas port up to date with upstream.
This gives us the added benefit of restricted path searching.  Which
means if the admin puts a relative path in the doas.conf file, doas
will limit the number of places where the executable can be found.
This prevents users from putting malicious executables with the same
name in their custom path.

PR:		222092
Submitted by:	jsmith@resonatingmedia.com (maintainer)
MFH:		2017Q3
22 Feb 2017 14:52:56
Original commit files touched by this commit  6.0p0
Revision:434585
jrm search for other commits by this committer
security/doas: Update to version 6.0p.

- Pull tarball from a GitHub release rather than a commit.
- Update license information.  There is code under BSD2CLAUSE and code
  under ISCL.

PR:		217176
Submitted by:	jsmith@resonatingmedia.com (maintainer)
Approved by:	mat, swills (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D9664
07 Dec 2016 07:04:19
Original commit files touched by this commit  5.9p7
Revision:428036
wen search for other commits by this committer
- Update to 5.9p7

PR:		214414
Submitted by:	jsmith@resonatingmedia.com(maintainer)
01 Oct 2016 15:10:15
Original commit files touched by this commit  5.9p6
Revision:423070
pawel search for other commits by this committer
Update to version 5.9p6

PR:		212975
Submitted by:	maintainer
24 Aug 2016 15:31:58
Original commit files touched by this commit  5.9p5
Revision:420802
woodsb02 search for other commits by this committer
security/doas: Update to 5.9p5

This update enforces the correct uid and gid when -u switch is used.

PR:		211622
Reported by:	telnetuserid@sdf.org
Submitted by:	jsmith@resonatingmedia.com (maintainer)
Approved by:	koobs, adamw (mentors)
Relnotes:	https://github.com/slicer69/doas/releases/tag/v5.9-5
Differential Revision:	https://reviews.freebsd.org/D7630
05 Jul 2016 21:13:30
Original commit files touched by this commit  5.9p4
Revision:418113
naddy search for other commits by this committer
Update to 5.9p4, which fixes a bug where command output is not displayed
properly when the user authenticates with "nopass" specified in the
doas.conf configuration file.

PR:		210851
Submitted by:	jsmith@resonatingmedia.com (maintainer)
27 Jun 2016 18:58:52
Original commit files touched by this commit  5.9p2
Revision:417675
pi search for other commits by this committer
security/doas: 5.9p1 -> 5.9p2

- fixed a bug where, when the user authenticates successfully as root,
  only the user's effective user id (euid) becomes zero (0).
  This leads to file permission errors when performing upgrades or
  other file-oriented operations.
- introduced gmake as a dependency as it is needed to process upstream's
  makefile.

PR:		210596
Submitted by:	jsmith@resonatingmedia.com (maintainer)
25 Jun 2016 11:41:18
Original commit files touched by this commit  5.9p1
Revision:417463
roberto search for other commits by this committer
Fix filename in distinfo.

PR:		210553
Submitted by:	t@tobik.me
24 Jun 2016 23:17:39
Original commit files touched by this commit  5.9p1
Revision:417452
roberto search for other commits by this committer
Change PORTREVISION to something sensible as upstream did not change.

Reported by:	mat
24 Jun 2016 21:00:07
Original commit files touched by this commit  5.9
Revision:417446
roberto search for other commits by this committer
Missed the fact that ${ETCDIR} includes the port's name.

Submitted by:	@mordin_ on Twitter.
24 Jun 2016 20:34:30
Original commit files touched by this commit  5.9
Revision:417445
roberto search for other commits by this committer
Update to commit 720db72 to fix a security issue.

Reported by:	Bryan Steele (@canadianbryan on Twitter)
24 Jun 2016 00:07:14
Original commit files touched by this commit  5.9
Revision:417407
roberto search for other commits by this committer
New port: security/doas

The doas program allows users to run commands as another user (usually
root). The doas program was written by the OpenBSD team to provide a
lightweight, simplified (and more secure) alternative to the sudo command.

Original upstream (OpenBSD) source:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/doas/

FreeBSD version: https://github.com/slicer69/doas

NOTE: I added the two patch files to workaround issues mentioned in the PR
about hardcoding of /usr/local.

PR:		210473
Submitted by:	jsmith@resonatingmedia.com
Modified by:	jrm@ftfl.ca (see PR) and me (roberto)

Number of commits found: 13

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
curlOct 23
mariadb100-server*Oct 23
mariadb101-server*Oct 23
mariadb102-server*Oct 23
mariadb55-server*Oct 23
mysql55-server*Oct 23
mysql56-server*Oct 23
mysql57-server*Oct 23
percona55-server*Oct 23
percona56-server*Oct 23
percona57-server*Oct 23
irssiOct 22
chromiumOct 21
arjOct 19
cactiOct 19

26 vulnerabilities affecting 111 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31617
Broken 153
Deprecated 79
Ignore 423
Forbidden 0
Restricted 176
No CDROM 78
Vulnerable 58
Expired 16
Set to expire 72
Interactive 0
new 24 hours 2
new 48 hours5
new 7 days24
new fortnight52
new month429

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.