From owner-svn-ports-branches@freebsd.org Mon Apr 24 17:53:43 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB00CD4E28D; Mon, 24 Apr 2017 17:53:43 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 688A21EB8; Mon, 24 Apr 2017 17:53:43 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3OHrgOn096738; Mon, 24 Apr 2017 17:53:42 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3OHrgWa096736; Mon, 24 Apr 2017 17:53:42 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201704241753.v3OHrgWa096736@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 24 Apr 2017 17:53:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r439339 - in branches/2017Q2/shells/bash: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2017 17:53:43 -0000 Author: swills Date: Mon Apr 24 17:53:42 2017 New Revision: 439339 URL: https://svnweb.freebsd.org/changeset/ports/439339 Log: MFH: r439169, fix fdescfs being enabled by default Make bash use of fdescfs use optional, disabled by default, and forced off when disabled. This allows users to avoid mounting an extra FS that we don't enable by default. Only display pkg-message with fdescfs instructions when option is enabled. Submitted by: swills Differential Revision: https://reviews.freebsd.org/D10394 Approved by: ports-secteam (with hat) Added: branches/2017Q2/shells/bash/files/pkg-message.in - copied unchanged from r439169, head/shells/bash/files/pkg-message.in Deleted: branches/2017Q2/shells/bash/pkg-message Modified: branches/2017Q2/shells/bash/Makefile Directory Properties: branches/2017Q2/ (props changed) Modified: branches/2017Q2/shells/bash/Makefile ============================================================================== --- branches/2017Q2/shells/bash/Makefile Mon Apr 24 17:43:08 2017 (r439338) +++ branches/2017Q2/shells/bash/Makefile Mon Apr 24 17:53:42 2017 (r439339) @@ -4,7 +4,7 @@ PORTNAME= bash PATCHLEVEL= 12 PORTVERSION= 4.4.${PATCHLEVEL:S/^0//g} -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= shells MASTER_SITES= GNU/${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:R} @@ -22,8 +22,9 @@ COMMENT= GNU Project's Bourne Again SHe LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= COLONBREAKSWORDS HELP NLS STATIC SYSLOG DOCS +OPTIONS_DEFINE= COLONBREAKSWORDS FDESCFS HELP NLS STATIC SYSLOG DOCS COLONBREAKSWORDS_DESC= Colons break words +FDESCFS_DESC= Enable use of /dev/fd HELP_DESC= Enable builtin help OPTIONS_DEFAULT= COLONBREAKSWORDS HELP @@ -35,6 +36,9 @@ CPE_VENDOR= gnu COLONBREAKSWORDS_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-colonbreakswords +FDESCFS_CONFIGURE_ENV_OFF= bash_cv_dev_fd=absent +FDESCFS_SUB_FILES= pkg-message + HELP_CONFIGURE_ENABLE= help-builtin NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext Copied: branches/2017Q2/shells/bash/files/pkg-message.in (from r439169, head/shells/bash/files/pkg-message.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q2/shells/bash/files/pkg-message.in Mon Apr 24 17:53:42 2017 (r439339, copy of r439169, head/shells/bash/files/pkg-message.in) @@ -0,0 +1,13 @@ +====================================================================== + +bash requires fdescfs(5) mounted on /dev/fd + +If you have not done it yet, please do the following: + + mount -t fdescfs fdescfs /dev/fd + +To make it permanent, you need the following lines in /etc/fstab: + + fdescfs /dev/fd fdescfs rw,late 0 0 + +======================================================================