1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/security/doas/Makefile
Tobias Kortkamp 1d1c7d3eca security/doas: Update to 6.0p1
This update brings the security/doas port up to date with upstream.
This gives us the added benefit of restricted path searching.  Which
means if the admin puts a relative path in the doas.conf file, doas
will limit the number of places where the executable can be found.
This prevents users from putting malicious executables with the same
name in their custom path.

PR:		222092
Submitted by:	jsmith@resonatingmedia.com (maintainer)
MFH:		2017Q3
2017-09-06 10:03:52 +00:00

34 lines
723 B
Makefile

# $FreeBSD$
PORTNAME= doas
PORTVERSION= 6.0p1
CATEGORIES= security
MAINTAINER= jsmith@resonatingmedia.com
COMMENT= Simple sudo alternative to run commands as another user
LICENSE= BSD2CLAUSE ISCL
LICENSE_COMB= multi
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE
LICENSE_FILE_ISCL= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= slicer69
GH_PROJECT= doas
USES= gmake
BINMODE= 4755
SUB_FILES= pkg-message
PLIST_FILES= bin/doas \
man/man5/doas.conf.5.gz \
man/man1/doas.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doas.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doas.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
.include <bsd.port.mk>