pkgsrc/security/doas/Makefile
ng0 60cf554ea9 security/doas: update to version 6.2p4
Changelog picked from https://github.com/slicer69/doas/releases:

6.2p4:
* Keeping environment variables with keepenv
  On some platforms (seemingly Linux and macOS) it is possible for
  repeated calls to getpwuid() can over-write the original struct
  passwd structure. (This behaviour may vary depending on which
  C library is used. This can lead to the original user's
  environment data being overwritten by the target user's, even
  when "keepenv" is specified in the doas.conf file.
  We now do a deep copy of the original and target users' struct
  passwd information to avoid over-writing the original on platforms
  where libc uses a static area for all calls.
2020-01-01 01:30:19 +00:00

30 lines
903 B
Makefile

# $NetBSD: Makefile,v 1.7 2020/01/01 01:30:19 ng0 Exp $
DISTNAME= doas-6.2p4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=slicer69/}
MAINTAINER= ng0@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
# XXX: Upstream supports only NetBSD, FreeBSD, Linux,
# illumos, SmartOS, OpenIndiana.
# Add any failing platforms as BROKEN_ON_PLATFORM.
SUBST_CLASSES+= fix-paths
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,/man/,/${PKGMANDIR}/,g'
SPECIAL_PERMS+= bin/doas ${SETUID_ROOT_PERMS}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"