[Midnightbsd-cvs] mports [22211] trunk/security: add doas port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jan 15 15:05:19 EST 2017


Revision: 22211
          http://svnweb.midnightbsd.org/mports/?rev=22211
Author:   laffer1
Date:     2017-01-15 15:05:19 -0500 (Sun, 15 Jan 2017)
Log Message:
-----------
add doas port

Modified Paths:
--------------
    trunk/security/Makefile

Added Paths:
-----------
    trunk/security/doas/
    trunk/security/doas/Makefile
    trunk/security/doas/distinfo
    trunk/security/doas/files/
    trunk/security/doas/files/pkg-message.in
    trunk/security/doas/pkg-descr

Modified: trunk/security/Makefile
===================================================================
--- trunk/security/Makefile	2017-01-15 20:02:15 UTC (rev 22210)
+++ trunk/security/Makefile	2017-01-15 20:05:19 UTC (rev 22211)
@@ -20,6 +20,7 @@
 SUBDIR += cyrus-sasl2-ldapdb
 SUBDIR += cyrus-sasl2-saslauthd
 SUBDIR += dirmngr
+SUBDIR += doas
 SUBDIR += easy-rsa
 SUBDIR += firewalk
 SUBDIR += gcr

Added: trunk/security/doas/Makefile
===================================================================
--- trunk/security/doas/Makefile	                        (rev 0)
+++ trunk/security/doas/Makefile	2017-01-15 20:05:19 UTC (rev 22211)
@@ -0,0 +1,35 @@
+# $MidnightBSD$
+# $FreeBSD: head/security/doas/Makefile 423070 2016-10-01 15:10:14Z pawel $
+
+PORTNAME=	doas
+PORTVERSION=	5.9p6
+CATEGORIES=	security
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Simple sudo alternative to run commands as another user
+
+LICENSE=	iscl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	slicer69
+GH_PROJECT=	doas
+GH_TAGNAME=	045f56f
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
+
+USES=	gmake
+
+BINMODE=	4755
+ETCDIR=	${PREFIX}/etc
+
+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>


Property changes on: trunk/security/doas/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/doas/distinfo
===================================================================
--- trunk/security/doas/distinfo	                        (rev 0)
+++ trunk/security/doas/distinfo	2017-01-15 20:05:19 UTC (rev 22211)
@@ -0,0 +1,2 @@
+SHA256 (doas-5.9p6_GH0.tar.gz) = ec50f5a6144a3e1e2befb844b4dd83eaa93985841251b1216c0ec404cb543d4a
+SIZE (doas-5.9p6_GH0.tar.gz) = 15266


Property changes on: trunk/security/doas/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/doas/files/pkg-message.in
===================================================================
--- trunk/security/doas/files/pkg-message.in	                        (rev 0)
+++ trunk/security/doas/files/pkg-message.in	2017-01-15 20:05:19 UTC (rev 22211)
@@ -0,0 +1,9 @@
+============================================================
+To use doas,
+
+%%ETCDIR%%/doas.conf
+
+must be created.
+
+Refer to doas.conf(5).
+============================================================


Property changes on: trunk/security/doas/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/security/doas/pkg-descr
===================================================================
--- trunk/security/doas/pkg-descr	                        (rev 0)
+++ trunk/security/doas/pkg-descr	2017-01-15 20:05:19 UTC (rev 22211)
@@ -0,0 +1,6 @@
+This is the FreeBSD port of the OpenBSD "doas" command. The doas program
+allows a regular user to run commands as another user (usually root). The
+doas command is a simplified (hopefully more secure) version of the "sudo"
+command and offers an easier to read/modify configuration.
+
+WWW: https://github.com/slicer69/doas/


Property changes on: trunk/security/doas/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list