pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   ng0
Date:           Fri Aug 23 23:00:51 UTC 2019

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/doas: DESCR Makefile PLIST distinfo

Log Message:
security/doas: Add version 6.1 (from wip)

doas is a port of OpenBSD's doas which runs on FreeBSD, Linux and
NetBSD.

The doas utility is a program originally written for OpenBSD which
allows a user to run a command as though they were another
user. Typically doas is used to allow non-privleged users to run
commands as though they were the root user. The doas program acts as
an alternative to sudo, which is a popular method in the Linux
community for granting admin access to specific users.

The doas program offers two benefits over sudo: its configuration file
has a simple syntax and it is smaller, requiring less effort to audit
the code. This makes it harder for both admins and coders to make
mistakes that potentially open security holes in the system.


To generate a diff of this commit:
cvs rdiff -u -r1.710 -r1.711 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/doas/DESCR \
    pkgsrc/security/doas/Makefile pkgsrc/security/doas/PLIST \
    pkgsrc/security/doas/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.710 pkgsrc/security/Makefile:1.711
--- pkgsrc/security/Makefile:1.710      Wed Aug 14 15:52:21 2019
+++ pkgsrc/security/Makefile    Fri Aug 23 23:00:50 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.710 2019/08/14 15:52:21 fcambus Exp $
+# $NetBSD: Makefile,v 1.711 2019/08/23 23:00:50 ng0 Exp $
 #
 
 COMMENT=       Security tools
@@ -70,6 +70,7 @@ SUBDIR+=      destroy
 SUBDIR+=       dhbitty
 SUBDIR+=       dirb
 SUBDIR+=       dnssec-tools
+SUBDIR+=       doas
 SUBDIR+=       dropbear
 SUBDIR+=       dsniff
 SUBDIR+=       dsniff-nox11

Added files:

Index: pkgsrc/security/doas/DESCR
diff -u /dev/null pkgsrc/security/doas/DESCR:1.1
--- /dev/null   Fri Aug 23 23:00:51 2019
+++ pkgsrc/security/doas/DESCR  Fri Aug 23 23:00:50 2019
@@ -0,0 +1,14 @@
+doas is a port of OpenBSD's doas which runs on FreeBSD, Linux and
+NetBSD.
+
+The doas utility is a program originally written for OpenBSD which
+allows a user to run a command as though they were another
+user. Typically doas is used to allow non-privleged users to run
+commands as though they were the root user. The doas program acts as
+an alternative to sudo, which is a popular method in the Linux
+community for granting admin access to specific users.
+
+The doas program offers two benefits over sudo: its configuration file
+has a simple syntax and it is smaller, requiring less effort to audit
+the code. This makes it harder for both admins and coders to make
+mistakes that potentially open security holes in the system.
Index: pkgsrc/security/doas/Makefile
diff -u /dev/null pkgsrc/security/doas/Makefile:1.1
--- /dev/null   Fri Aug 23 23:00:51 2019
+++ pkgsrc/security/doas/Makefile       Fri Aug 23 23:00:51 2019
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2019/08/23 23:00:51 ng0 Exp $
+
+DISTNAME=      doas-6.1
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=slicer69/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/slicer69/doas/
+COMMENT=       Execute commands as another user
+LICENSE=       2-clause-bsd
+
+USE_TOOLS+=    gmake yacc
+
+# XXX: Upstream supports only NetBSD, FreeBSD, and Linux.
+# 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,$$(PREFIX),$$(DESTDIR)$$(PREFIX),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"
Index: pkgsrc/security/doas/PLIST
diff -u /dev/null pkgsrc/security/doas/PLIST:1.1
--- /dev/null   Fri Aug 23 23:00:51 2019
+++ pkgsrc/security/doas/PLIST  Fri Aug 23 23:00:51 2019
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/23 23:00:51 ng0 Exp $
+bin/doas
+man/man1/doas.1
+man/man5/doas.conf.5
Index: pkgsrc/security/doas/distinfo
diff -u /dev/null pkgsrc/security/doas/distinfo:1.1
--- /dev/null   Fri Aug 23 23:00:51 2019
+++ pkgsrc/security/doas/distinfo       Fri Aug 23 23:00:51 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/08/23 23:00:51 ng0 Exp $
+
+SHA1 (doas-6.1.tar.gz) = d9363d1102a92f8a6276684e98c736f49d3d2bfd
+RMD160 (doas-6.1.tar.gz) = 62d5258e3e6beeb3afbe1b19eda6423106adcd6d
+SHA512 (doas-6.1.tar.gz) = 1397767416ec122170c0a07d0273473e019917c2555446865a5da45168fd81522c1d347ca5cd534ffbe74c5eb21b9f5817847260d8d37c91ffaf4b35ee992c2d
+Size (doas-6.1.tar.gz) = 19965 bytes



Home | Main Index | Thread Index | Old Index