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: remove vidoas functionality



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2fcf9779126
branches:  trunk
changeset: 441094:e2fcf9779126
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Oct 26 09:00:35 2020 +0000

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

diffstat:

 security/doas/Makefile |  17 +++++++++++++----
 security/doas/PLIST    |   3 +--
 2 files changed, 14 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 29ecd182a1aa -r e2fcf9779126 security/doas/Makefile
--- a/security/doas/Makefile    Mon Oct 26 08:29:15 2020 +0000
+++ b/security/doas/Makefile    Mon Oct 26 09:00:35 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2020/10/21 19:32:39 pin Exp $
+# $NetBSD: Makefile,v 1.13 2020/10/26 09:00:35 pin Exp $
 
 DISTNAME=      doas-6.3p2
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=slicer69/}
 
@@ -11,16 +12,24 @@
 
 USE_TOOLS+=    gmake yacc
 
-# XXX: Upstream supports only NetBSD, FreeBSD, Linux,
-# illumos, SmartOS, OpenIndiana.
+# Upstream supports only NetBSD, FreeBSD, Linux,
+# illumos, SmartOS, OmniOS and macOS Catalina.
 # Add any failing platforms as BROKEN_ON_PLATFORM.
 
-MAKE_ENV+=     MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=   MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
 MAKE_ENV+=     SYSCONFDIR=${PKG_SYSCONFDIR:Q}
 
 SPECIAL_PERMS+=                bin/doas ${SETUID_ROOT_PERMS}
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
 
+# Security concerns have been raised by kim%netbsd.org@localhost
+# regarding the vidoas functionality in pkgsrc-security.
+# Remove this functionality until the situation is clarified
+# with upstream, https://github.com/slicer69/doas/pull/46
+
+post-install:
+       ${RM} -rf ${DESTDIR}${PREFIX}/bin/vidoas
+
 .include "../../mk/pam.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 29ecd182a1aa -r e2fcf9779126 security/doas/PLIST
--- a/security/doas/PLIST       Mon Oct 26 08:29:15 2020 +0000
+++ b/security/doas/PLIST       Mon Oct 26 09:00:35 2020 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/10/21 19:32:39 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/10/26 09:00:35 pin Exp $
 bin/doas
-bin/vidoas
 man/man1/doas.1
 man/man5/doas.conf.5



Home | Main Index | Thread Index | Old Index