mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
bash: define SSH_SOURCE_BASHRC
This makes bash agree with its documentation at https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html Bash attempts to determine when it is being run with its standard input connected to a network connection, as when executed by the historical remote shell daemon, usually rshd, or the secure shell daemon sshd. If Bash determines it is being run non-interactively in this fashion, it reads and executes commands from ~/.bashrc, if that file exists and is readable. [...] Notes: - Disabled by upstream in 2.05a (2001), manual never changed - This is enabled in Debian, Fedora, Gentoo, ... Closes: #50280 [via git-merge-pr]
This commit is contained in:
parent
fc1fd7b74c
commit
c8e0c3dc98
2 changed files with 2 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bash'
|
# Template file for 'bash'
|
||||||
pkgname=bash
|
pkgname=bash
|
||||||
version=5.2.21
|
version=5.2.21
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-bash-malloc --with-curses --without-installed-readline"
|
configure_args="--without-bash-malloc --with-curses --without-installed-readline"
|
||||||
make_build_args="TERMCAP_LIB=${XBPS_CROSS_BASE}/usr/lib/libncursesw.a"
|
make_build_args="TERMCAP_LIB=${XBPS_CROSS_BASE}/usr/lib/libncursesw.a"
|
||||||
|
@ -24,7 +24,7 @@ alternatives="
|
||||||
sh:sh:/usr/bin/bash
|
sh:sh:/usr/bin/bash
|
||||||
sh:sh.1:/usr/share/man/man1/bash.1"
|
sh:sh.1:/usr/share/man/man1/bash.1"
|
||||||
|
|
||||||
CFLAGS="-DNON_INTERACTIVE_LOGIN_SHELLS -DSYS_BASHRC='\"/etc/bash/bashrc\"'"
|
CFLAGS="-DSSH_SOURCE_BASHRC -DNON_INTERACTIVE_LOGIN_SHELLS -DSYS_BASHRC='\"/etc/bash/bashrc\"'"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -r ${DESTDIR}/usr/share/doc
|
rm -r ${DESTDIR}/usr/share/doc
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
site="http://git.savannah.gnu.org/cgit/bash.git/log/"
|
|
||||||
pattern="Bash-\K\d(\.\d)+( patch \d+|-testing)?"
|
|
||||||
version="$_bash_distver"
|
|
||||||
[ ! -z "$_bash_patchlevel" ] && version+=" patch $_bash_patchlevel"
|
|
||||||
ignore="*testing"
|
|
Loading…
Add table
Reference in a new issue