pkgsrc/security/doas/Makefile
pin 5f5db4fc3a 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
2020-10-26 09:00:35 +00:00

35 lines
1 KiB
Makefile

# $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/}
MAINTAINER= nikita@NetBSD.org
HOMEPAGE= https://github.com/slicer69/doas/
COMMENT= Execute commands as another user
LICENSE= 2-clause-bsd AND isc AND modified-bsd
USE_TOOLS+= gmake yacc
# Upstream supports only NetBSD, FreeBSD, Linux,
# illumos, SmartOS, OmniOS and macOS Catalina.
# Add any failing platforms as BROKEN_ON_PLATFORM.
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
# 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"