pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/doas



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Oct 26 09:00:35 UTC 2020

Modified Files:
        pkgsrc/security/doas: Makefile PLIST

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/doas/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/doas/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/doas/Makefile
diff -u pkgsrc/security/doas/Makefile:1.12 pkgsrc/security/doas/Makefile:1.13
--- pkgsrc/security/doas/Makefile:1.12  Wed Oct 21 19:32:39 2020
+++ pkgsrc/security/doas/Makefile       Mon Oct 26 09:00:35 2020
@@ -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 @@ LICENSE=    2-clause-bsd AND isc AND modifi
 
 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"

Index: pkgsrc/security/doas/PLIST
diff -u pkgsrc/security/doas/PLIST:1.2 pkgsrc/security/doas/PLIST:1.3
--- pkgsrc/security/doas/PLIST:1.2      Wed Oct 21 19:32:39 2020
+++ pkgsrc/security/doas/PLIST  Mon Oct 26 09:00:35 2020
@@ -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