Support /dev/(tcp|udp)/host/port redirection.

Submitted by:	David Yeske <dyeske@yahoo.com>
This commit is contained in:
David E. O'Brien 2003-03-24 18:57:50 +00:00
parent 7c630823f9
commit 273ccf2e3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77412
3 changed files with 27 additions and 0 deletions

View file

@ -34,6 +34,15 @@ CONFIGURE_ARGS= --with-installed-readline
CONFIGURE_ENV= LDFLAGS=-static
MAN1= bash.1 bashbug.1
.if defined(WITH_NET_REDIRECTIONS)
CONFIGURE_ARGS+= --enable-net-redirections
.endif
pre-extract:
.if !defined(WITH_NET_REDIRECTIONS)
@${ECHO_MSG} "You can enable support for /dev/(tcp|udp)/host/port redirection by defining WITH_NET_REDIRECTIONS."
.endif
post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells

View file

@ -34,6 +34,15 @@ CONFIGURE_ARGS= --with-installed-readline
CONFIGURE_ENV= LDFLAGS=-static
MAN1= bash.1 bashbug.1
.if defined(WITH_NET_REDIRECTIONS)
CONFIGURE_ARGS+= --enable-net-redirections
.endif
pre-extract:
.if !defined(WITH_NET_REDIRECTIONS)
@${ECHO_MSG} "You can enable support for /dev/(tcp|udp)/host/port redirection by defining WITH_NET_REDIRECTIONS."
.endif
post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells

View file

@ -34,6 +34,15 @@ CONFIGURE_ARGS= --with-installed-readline
CONFIGURE_ENV= LDFLAGS=-static
MAN1= bash.1 bashbug.1
.if defined(WITH_NET_REDIRECTIONS)
CONFIGURE_ARGS+= --enable-net-redirections
.endif
pre-extract:
.if !defined(WITH_NET_REDIRECTIONS)
@${ECHO_MSG} "You can enable support for /dev/(tcp|udp)/host/port redirection by defining WITH_NET_REDIRECTIONS."
.endif
post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells