diff options
author | ng0 <ng0@pkgsrc.org> | 2019-09-14 14:45:45 +0000 |
---|---|---|
committer | ng0 <ng0@pkgsrc.org> | 2019-09-14 14:45:45 +0000 |
commit | 45040f5ea1ea08be97d66b16bd2f492224c83286 (patch) | |
tree | cd7db213ee9708e7b87e7c8bc3b9a9d8dc761075 /security | |
parent | c38dfa79decc5f27b4a27ddedf4c0ca452d9ad05 (diff) | |
download | pkgsrc-45040f5ea1ea08be97d66b16bd2f492224c83286.tar.gz |
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.
Diffstat (limited to 'security')
-rw-r--r-- | security/doas/Makefile | 8 | ||||
-rw-r--r-- | security/doas/distinfo | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/security/doas/Makefile b/security/doas/Makefile index d64c325a7ef..1be6293e5a2 100644 --- a/security/doas/Makefile +++ b/security/doas/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2019/08/24 15:46:59 ng0 Exp $ +# $NetBSD: Makefile,v 1.3 2019/09/14 14:45:45 ng0 Exp $ -DISTNAME= doas-6.1 +DISTNAME= doas-6.2p1 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GITHUB:=slicer69/} @@ -11,7 +11,8 @@ LICENSE= 2-clause-bsd AND isc AND modified-bsd USE_TOOLS+= gmake yacc -# XXX: Upstream supports only NetBSD, FreeBSD, and Linux. +# XXX: Upstream supports only NetBSD, FreeBSD, Linux, +# illumos, SmartOS, OpenIndiana. # Add any failing platforms as BROKEN_ON_PLATFORM. SUBST_CLASSES+= fix-paths @@ -19,7 +20,6 @@ SUBST_STAGE.fix-paths= pre-install SUBST_MESSAGE.fix-paths= Fixing paths. SUBST_FILES.fix-paths= Makefile SUBST_SED.fix-paths+= -e 's,$${PREFIX}/etc,${PKG_SYSCONFDIR},g' -SUBST_SED.fix-paths+= -e 's,$$(PREFIX),$$(DESTDIR)$$(PREFIX),g' SUBST_SED.fix-paths+= -e 's,/man/,/${PKGMANDIR}/,g' SPECIAL_PERMS+= bin/doas ${SETUID_ROOT_PERMS} diff --git a/security/doas/distinfo b/security/doas/distinfo index 35e8aaf9cce..f04e33bf236 100644 --- a/security/doas/distinfo +++ b/security/doas/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2019/08/23 23:00:51 ng0 Exp $ +$NetBSD: distinfo,v 1.2 2019/09/14 14:45:45 ng0 Exp $ -SHA1 (doas-6.1.tar.gz) = d9363d1102a92f8a6276684e98c736f49d3d2bfd -RMD160 (doas-6.1.tar.gz) = 62d5258e3e6beeb3afbe1b19eda6423106adcd6d -SHA512 (doas-6.1.tar.gz) = 1397767416ec122170c0a07d0273473e019917c2555446865a5da45168fd81522c1d347ca5cd534ffbe74c5eb21b9f5817847260d8d37c91ffaf4b35ee992c2d -Size (doas-6.1.tar.gz) = 19965 bytes +SHA1 (doas-6.2p1.tar.gz) = cd1d7728b9b0491a2a453017359f4185bdcf3e90 +RMD160 (doas-6.2p1.tar.gz) = 5db2e6deed45192ea4a4f2434e829d2b50201911 +SHA512 (doas-6.2p1.tar.gz) = 0b4e14c87cf5ff441a5262ca4a7316c3fb162ff9ee27b1231ef3f5ec5619245c1e18bf6b8df611718c3c7c81e05f1f32d577b1b3455d95aefd6a77cb2ab0570c +Size (doas-6.2p1.tar.gz) = 24523 bytes |