From owner-svn-ports-all@FreeBSD.ORG Thu Oct 11 13:36:48 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00E4C501; Thu, 11 Oct 2012 13:36:47 +0000 (UTC) (envelope-from wxs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C45438FC17; Thu, 11 Oct 2012 13:36:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9BDallv030813; Thu, 11 Oct 2012 13:36:47 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9BDalND030810; Thu, 11 Oct 2012 13:36:47 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201210111336.q9BDalND030810@svn.freebsd.org> From: Wesley Shields Date: Thu, 11 Oct 2012 13:36:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305723 - head/security/sudo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2012 13:36:48 -0000 Author: wxs Date: Thu Oct 11 13:36:47 2012 New Revision: 305723 URL: http://svn.freebsd.org/changeset/ports/305723 Log: If OPIE option is on we can not pass --with-pam in CONFIGURE_ARGS. Make it so that OPIE will pass --with-opie and if it is off we pass --with-pam. [1] No functional changes with this, just a build fix. While here use tabs where appropriate and cleanup pkg-descr. [2] Feature safe: yes Modified: head/security/sudo/Makefile head/security/sudo/pkg-descr (contents, props changed) Modified: head/security/sudo/Makefile ============================================================================== --- head/security/sudo/Makefile Thu Oct 11 13:35:55 2012 (r305722) +++ head/security/sudo/Makefile Thu Oct 11 13:36:47 2012 (r305723) @@ -29,8 +29,7 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/e --with-tty-tickets \ --with-env-editor \ --with-logincap \ - --with-long-otp-prompt \ - --with-pam + --with-long-otp-prompt OPTIONS_DEFINE= LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \ AUDIT OPIE NLS @@ -41,7 +40,7 @@ DISABLE_ROOT_SUDO_DESC= Do not allow roo DISABLE_AUTH_DESC= Do not require authentication by default NOARGS_SHELL_DESC= Run a shell if no arguments are given AUDIT_DESC= Enable BSM audit support -OPIE_DESC= Enable one-time passwords +OPIE_DESC= Enable one-time passwords (no PAM support) LOGFAC?= local2 CONFIGURE_ARGS+= --with-logfac=${LOGFAC} @@ -86,19 +85,21 @@ CONFIGURE_ARGS+=--disable-root-sudo .endif .if ${PORT_OPTIONS:MDISABLE_AUTH} -CONFIGURE_ARGS+=--disable-authentication +CONFIGURE_ARGS+= --disable-authentication .endif .if ${PORT_OPTIONS:MNOARGS_SHELL} -CONFIGURE_ARGS+=--enable-noargs-shell +CONFIGURE_ARGS+= --enable-noargs-shell .endif .if ${PORT_OPTIONS:MAUDIT} -CONFIGURE_ARGS+=--with-bsm-audit +CONFIGURE_ARGS+= --with-bsm-audit .endif .if ${PORT_OPTIONS:MOPIE} -CONFIGURE_ARGS+=--with-opie +CONFIGURE_ARGS+= --with-opie +.else +CONFIGURE_ARGS+= --with-pam .endif MAN5+= sudoers.5 Modified: head/security/sudo/pkg-descr ============================================================================== --- head/security/sudo/pkg-descr Thu Oct 11 13:35:55 2012 (r305722) +++ head/security/sudo/pkg-descr Thu Oct 11 13:36:47 2012 (r305723) @@ -5,13 +5,4 @@ privileges to users and log root activit give as few privileges as possible but still allow people to get their work done. -MAILING LISTS: - -Please send bugs, problems, comments, etc to sudo-bugs@courtesan.com -There is a mailing list that receives announcements whenever a new -version of sudo is released. You can subscribe to it by sending a -message to "majordomo@courtesan.com" that includes the line -"subscribe sudo-announce". There is also a list for people working -on sudo. The command to add yourself is "subscribe sudo-workers". - WWW: http://www.courtesan.com/sudo/