Support /dev/(tcp|udp)/host/port redirection.
Submitted by: David Yeske <dyeske@yahoo.com>
This commit is contained in:
parent
7c630823f9
commit
273ccf2e3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77412
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user