The NetBSD Project

CVS log for pkgsrc/security/doas/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / security / doas

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 16 18:27:40 2026 UTC (5 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
doas: Assign maintaintership to Rares Aioanei

Rares volunteered to take maintaintership of the package, thanks Rares!

Closes PR pkg/60336.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 7 00:24:51 2026 UTC (6 months, 1 week ago) by gutteridge
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
doas: add pkgsrc-specific paths to GLOBAL_PATH and SAFE_PATH

Issue noted by Takashi Shimizu on pkgsrc-users@.

This follows how these paths are defined ordering-wise based on doas.h.
The existing SunOS override approach in Makefile varies here, as added
that way upstream. The SunOS setting was left as-is, to keep with the
POLA. (Someone may be surprised by the change on other OSes,
regardless; so it goes.)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Dec 9 18:46:38 2021 UTC (4 years, 11 months ago) by nikita
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
security/doas: change Maintainer

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jan 1 14:21:23 2021 UTC (5 years, 10 months ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1 lines
security/doas: add conflict msg

Prepare to import opendoas

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 26 09:00:35 2020 UTC (6 years ago) by pin
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -4 lines
security/doas: remove vidoas functionality

Security concerns have been raised by Kimmo Suominen
on pkgsrc-security.
See also, https://github.com/slicer69/doas/pull/46

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Oct 21 19:32:39 2020 UTC (6 years ago) by pin
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
security/doas: update to 6.3p2

6.3p2

This release introduces a new utility called vidoas (vi doas). This tool is a
shell script which creates a copy of the doas.conf file, allows the admin to
edit the file, and then checks its syntax for errors. If a problem is found,
vidoas reports which line the error was on and asks us to try editing the file
again. Once the new doas.conf file contains the proper syntax, it is installed
and overwrites the old doas.conf file.

This tool is designed to assist admins and avoid introducing errors to doas.conf
which might accidentally revoke admin access to the machine.

6.3p1
In this release, we work around a quirk of the GNU parameter parser which
required us to use double-dashes (--) after doas's parameters and before a
target command's parameters. In the past we used "doas -- pacman -Syu" and now
we can use simply "doas pacman -Syu".

This change affects only GNU/Linux systems, other platforms like FreeBSD,
NetBSD, etc already had this behaviour.

6.3
This release introduces a few minor changes:
-Added command line parameter (-S) which launches an interactive shell. This is
equivalent to "su -l" or "sudo -i".
-Updated documentation to include the new -S flag.
-Updated documentation to assist users in installing doas on some Linux
distributions, such as CentOS, that prevent PAM authentication from working by
default.

6.2p5
This release simply adds a new sample PAM configuration file for FreeBSD (and
compatible systems). The new sample configuration file is named
campat/pam.conf.freebsd.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Oct 21 17:34:09 2020 UTC (6 years ago) by kim
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
doas: Use setusercontext(3)

Calling setusercontext(3) makes per-user temporary storage work (see
per_user_tmp in security(7) and rc.conf(5)).

May as well use our reallocarray(3) instead of the bundled compat code.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 21 15:25:23 2020 UTC (6 years ago) by kim
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
doas: Pass PKG_SYSCONFDIR to make

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 28 11:46:29 2020 UTC (6 years, 6 months ago) by nikita
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
adjust maintainer to my new login

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Apr 28 04:40:28 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -7 lines
security/doas: fix no-op SUBST block

The Makefile has changed to GNU format, using round parentheses, which
turned the substitution a no-op.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 1 01:30:19 2020 UTC (6 years, 10 months ago) by ng0
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -3 lines
security/doas: update to version 6.2p4

Changelog picked from https://github.com/slicer69/doas/releases:

6.2p4:
* Keeping environment variables with keepenv
  On some platforms (seemingly Linux and macOS) it is possible for
  repeated calls to getpwuid() can over-write the original struct
  passwd structure. (This behaviour may vary depending on which
  C library is used. This can lead to the original user's
  environment data being overwritten by the target user's, even
  when "keepenv" is specified in the doas.conf file.
  We now do a deep copy of the original and target users' struct
  passwd information to avoid over-writing the original on platforms
  where libc uses a static area for all calls.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 14 11:19:54 2019 UTC (6 years, 11 months ago) by ng0
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
security/doas: resolve PR pkg/54717.

patch in the correct installed location of the config file
in the manpages.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 29 15:27:42 2019 UTC (6 years, 11 months ago) by ng0
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
security/doas: assign myself as maintainer.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 15 12:24:01 2019 UTC (7 years, 1 month ago) by ng0
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
security/doas: Update to 6.2p2

Significant items from https://github.com/slicer69/doas/releases:
doas 6.2p2
* Introducing macOS support
  Due to the dedicated work by Gordon Bergling, the doas
  command now builds and runs on macOS. This release
  contains no functionality changes, just the ability to
  build and run on macOS.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 14 14:45:45 2019 UTC (7 years, 2 months ago) by ng0
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
security/doas: Update to 6.2p1

Significant items from https://github.com/slicer69/doas/releases:
doas 6.2p1
* Fixes a crash on Linux systems when a specified user on the
  command line did not match a valid entry in the doas.conf file.
  In the past, doas would first try to find an exact username match
  when the "-u" flag was used and, if one could not be found, it
  would try to find a matching numeric UID.
  Now doas requires that an exact username be specified when
  "-u" is used. This avoids confusion (and, on Linux, fuzzy matches
  when a username begins with a number). This means "doas -u 0" can
  no longer be used to run a command as root, and "duas -u 1000" is
  not ambigious if there is a user with the name "1000" on the system.

doas 6.2
* Group permissions of the original user are now dropped on Linux.
  This prevents the original user's group access from interfering
  with the target user's owned files. Group permissions were already
  dropped on FreeBSD (and I believe) NetBSD, and this brings doas's
  Linux behaviour into line with the other systems.
* Fixed a couple of compiler warnings that get rid of either unneeded
  variables or introduce sanity checks on return functions.
  This should make doas more secure, across platforms/compilers.

doas 6.1p1
* ported to illumos, added support for SmartOS and
  OpenIndiana.
* Better pkgsrc integration.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 24 15:46:59 2019 UTC (7 years, 2 months ago) by ng0
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
security/doas: change license to add bsd-3 and isc.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 23 23:00:51 2019 UTC (7 years, 2 months ago) by ng0
Branches: MAIN
security/doas: Add version 6.1 (from wip)

doas is a port of OpenBSD's doas which runs on FreeBSD, Linux and
NetBSD.

The doas utility is a program originally written for OpenBSD which
allows a user to run a command as though they were another
user. Typically doas is used to allow non-privleged users to run
commands as though they were the root user. The doas program acts as
an alternative to sudo, which is a popular method in the Linux
community for granting admin access to specific users.

The doas program offers two benefits over sudo: its configuration file
has a simple syntax and it is smaller, requiring less effort to audit
the code. This makes it harder for both admins and coders to make
mistakes that potentially open security holes in the system.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>