pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/doas security/doas: Update to 6.2p1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f05dc5164768
branches:  trunk
changeset: 339529:f05dc5164768
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Sat Sep 14 14:45:45 2019 +0000

description:
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:

 security/doas/Makefile |   8 ++++----
 security/doas/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r 20a17c86a4c8 -r f05dc5164768 security/doas/Makefile
--- a/security/doas/Makefile    Sat Sep 14 14:02:32 2019 +0000
+++ b/security/doas/Makefile    Sat Sep 14 14:45:45 2019 +0000
@@ -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 @@
 
 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_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 -r 20a17c86a4c8 -r f05dc5164768 security/doas/distinfo
--- a/security/doas/distinfo    Sat Sep 14 14:02:32 2019 +0000
+++ b/security/doas/distinfo    Sat Sep 14 14:45:45 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index