From owner-svn-ports-all@freebsd.org Sat Apr 22 12:39:12 2017 Return-Path: Delivered-To: svn-ports-all@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 6ADDAD4951B; Sat, 22 Apr 2017 12:39:12 +0000 (UTC) (envelope-from ehaupt@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 1DCDFAAA; Sat, 22 Apr 2017 12:39:12 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3MCdBQQ080551; Sat, 22 Apr 2017 12:39:11 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3MCdBn4080549; Sat, 22 Apr 2017 12:39:11 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201704221239.v3MCdBn4080549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Sat, 22 Apr 2017 12:39:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439169 - in head/shells/bash: . files 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.23 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: Sat, 22 Apr 2017 12:39:12 -0000 Author: ehaupt Date: Sat Apr 22 12:39:10 2017 New Revision: 439169 URL: https://svnweb.freebsd.org/changeset/ports/439169 Log: 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 Added: head/shells/bash/files/pkg-message.in - copied unchanged from r439168, head/shells/bash/pkg-message Deleted: head/shells/bash/pkg-message Modified: head/shells/bash/Makefile Modified: head/shells/bash/Makefile ============================================================================== --- head/shells/bash/Makefile Sat Apr 22 12:37:02 2017 (r439168) +++ head/shells/bash/Makefile Sat Apr 22 12:39:10 2017 (r439169) @@ -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: head/shells/bash/files/pkg-message.in (from r439168, head/shells/bash/pkg-message) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bash/files/pkg-message.in Sat Apr 22 12:39:10 2017 (r439169, copy of r439168, head/shells/bash/pkg-message) @@ -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 + +======================================================================