Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2019 22:15:11 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516037 - head/security/duo
Message-ID:  <201910292215.x9TMFBU0083770@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Tue Oct 29 22:15:11 2019
New Revision: 516037
URL: https://svnweb.freebsd.org/changeset/ports/516037

Log:
  Add OPTION to install login_duo setuid

Modified:
  head/security/duo/Makefile
  head/security/duo/pkg-plist

Modified: head/security/duo/Makefile
==============================================================================
--- head/security/duo/Makefile	Tue Oct 29 21:11:40 2019	(r516036)
+++ head/security/duo/Makefile	Tue Oct 29 22:15:11 2019	(r516037)
@@ -22,7 +22,9 @@ USE_LDCONFIG=	yes
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	DOCS
+SUID_DESC=	Install login_duo with suid bit set
+OPTIONS_DEFINE=	DOCS SUID
+OPTIONS_SUB=	yes
 
 post-patch:
 	${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \

Modified: head/security/duo/pkg-plist
==============================================================================
--- head/security/duo/pkg-plist	Tue Oct 29 21:11:40 2019	(r516036)
+++ head/security/duo/pkg-plist	Tue Oct 29 22:15:11 2019	(r516037)
@@ -16,4 +16,6 @@ man/man8/pam_duo.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%SUID%%@mode 4555
 sbin/login_duo
+%%SUID%%@mode



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910292215.x9TMFBU0083770>