Received: by mail.netbsd.org (Postfix, from userid 605) id BE66C84CD9; Thu, 22 Dec 2022 09:24:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EDC3784CE3 for ; Thu, 22 Dec 2022 09:24:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id t5brnJq2f2oB for ; Thu, 22 Dec 2022 09:24:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6286A84CD9 for ; Thu, 22 Dec 2022 09:24:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5C130FA90; Thu, 22 Dec 2022 09:24:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1671701078257630" MIME-Version: 1.0 Date: Thu, 22 Dec 2022 09:24:38 +0000 From: "Paolo Vincenzo Olivo" Subject: CVS commit: pkgsrc/security/opendoas To: pkgsrc-changes@NetBSD.org Reply-To: vins@netbsd.org X-Mailer: log_accum Message-Id: <20221222092438.5C130FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1671701078257630 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: vins Date: Thu Dec 22 09:24:38 UTC 2022 Modified Files: pkgsrc/security/opendoas: Makefile Added Files: pkgsrc/security/opendoas: options.mk Log Message: security/opendoas: allow optional 'persist' support. Add optional support for a persist argument to enable time-based credential caching, modeled after the equivalent OpenBSD's doas behaviour. Implemented via timestamp records, in lack of a TIOCCHKVERAUTH ioctl. Marked upstream as experimental and hereby disabled by default. Available only on Linux. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/opendoas/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/security/opendoas/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1671701078257630 Content-Disposition: inline Content-Length: 1452 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/opendoas/Makefile diff -u pkgsrc/security/opendoas/Makefile:1.5 pkgsrc/security/opendoas/Makefile:1.6 --- pkgsrc/security/opendoas/Makefile:1.5 Mon Jul 4 08:25:58 2022 +++ pkgsrc/security/opendoas/Makefile Thu Dec 22 09:24:38 2022 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2022/07/04 08:25:58 pin Exp $ +# $NetBSD: Makefile,v 1.6 2022/12/22 09:24:38 vins Exp $ DISTNAME= opendoas-6.8.2 CATEGORIES= security @@ -32,8 +32,12 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} CONFIGURE_ARGS+= --datadir=${PREFIX}/${EGDIR} -.if ${OPSYS} == "Linux" && !exists(/usr/include/security/pam_appl.h) + +.if ${OPSYS} == "Linux" +.include "options.mk" +. if !exists(/usr/include/security/pam_appl.h) CONFIGURE_ARGS+= --without-pam +. endif .endif USE_TOOLS= gmake yacc Added files: Index: pkgsrc/security/opendoas/options.mk diff -u /dev/null pkgsrc/security/opendoas/options.mk:1.1 --- /dev/null Thu Dec 22 09:24:38 2022 +++ pkgsrc/security/opendoas/options.mk Thu Dec 22 09:24:38 2022 @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1 2022/12/22 09:24:38 vins Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.opendoas + +PKG_SUPPORTED_OPTIONS+= persist +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +## +## Enable credential caching. +## +.if !empty(PKG_OPTIONS:Mpersist) +CONFIGURE_ARGS+= --with-timestamp +.endif --_----------=_1671701078257630--