Date: Sat, 22 Apr 2017 12:39:11 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439169 - in head/shells/bash: . files Message-ID: <201704221239.v3MCdBn4080549@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + +======================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704221239.v3MCdBn4080549>