svn commit: r541094 - in head/security/doas: . files

Fernando Apesteguía fernape at FreeBSD.org
Fri Jul 3 09:58:44 UTC 2020


Author: fernape
Date: Fri Jul  3 09:58:43 2020
New Revision: 541094
URL: https://svnweb.freebsd.org/changeset/ports/541094

Log:
  security/doas: Add upstream doas.conf.sample
  
  PR:	247496
  Submitted by:	ed.arrakis at gmail.com
  Approved by:	jsmith at resonatingmedia.com (maintainer)

Modified:
  head/security/doas/Makefile
  head/security/doas/files/pkg-message.in

Modified: head/security/doas/Makefile
==============================================================================
--- head/security/doas/Makefile	Fri Jul  3 09:35:11 2020	(r541093)
+++ head/security/doas/Makefile	Fri Jul  3 09:58:43 2020	(r541094)
@@ -2,6 +2,7 @@
 
 PORTNAME=	doas
 PORTVERSION=	6.3
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	jsmith at resonatingmedia.com
@@ -22,6 +23,7 @@ BINMODE=	4755
 
 SUB_FILES=	pkg-message
 PLIST_FILES=	bin/doas \
+		etc/doas.conf.sample \
 		man/man5/doas.conf.5.gz \
 		man/man1/doas.1.gz
 
@@ -38,5 +40,6 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/doas.1.final ${STAGEDIR}${MAN1PREFIX}/man/man1/doas.1
 	${INSTALL_MAN} ${WRKSRC}/doas.conf.5.final ${STAGEDIR}${MAN5PREFIX}/man/man5/doas.conf.5
+	${INSTALL_DATA} ${WRKSRC}/doas.conf.sample ${STAGEDIR}${PREFIX}/etc/doas.conf.sample
 
 .include <bsd.port.mk>

Modified: head/security/doas/files/pkg-message.in
==============================================================================
--- head/security/doas/files/pkg-message.in	Fri Jul  3 09:35:11 2020	(r541093)
+++ head/security/doas/files/pkg-message.in	Fri Jul  3 09:58:43 2020	(r541094)
@@ -5,7 +5,8 @@ To use doas,
 
 %%PREFIX%%/etc/doas.conf
 
-must be created. Refer to doas.conf(5) for further details.
+must be created. Refer to doas.conf(5) for further details and/or follow
+%%PREFIX%%/etc/doas.conf.sample as an example.
 
 Note: In order to be able to run most desktop (GUI) applications, the user
 needs to have the keepenv keyword specified. If keepenv is not specified then


More information about the svn-ports-all mailing list