Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
bash
> deb-bash-config.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File deb-bash-config.patch of Package bash
# DP: Changed compile time configuration options: # DP: # DP: - Set the default path to comply with Debian policy # DP: # DP: - Enable System-wide .bashrc file for interactive shells. # DP: # DP: - Enable System-wide .bash.logout file for interactive shells. # DP: # DP: - make non-interactive shells begun with argv[0][0] == '-' # DP: run the startup files when not in posix mode. # DP: # DP: - try to check whether bash is being run by sshd and source # DP: the .bashrc if so (like the rshd behavior). # DP: # DP: - don't define a default DEFAULT_MAIL_DIRECTORY, because it # DP: can cause a timeout on NFS mounts. --- bash/config-top.h.orig 2008-08-17 16:52:25.000000000 +0000 +++ bash/config-top.h 2008-11-29 17:35:03.000000000 +0000 @@ -54,14 +54,14 @@ /* The default value of the PATH variable. */ #ifndef DEFAULT_PATH_VALUE #define DEFAULT_PATH_VALUE \ - "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:." + "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" #endif /* The value for PATH when invoking `command -p'. This is only used when the Posix.2 confstr () function, or CS_PATH define are not present. */ #ifndef STANDARD_UTILS_PATH #define STANDARD_UTILS_PATH \ - "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc" + "/bin:/usr/bin:/sbin:/usr/sbin" #endif /* Default primary and secondary prompt strings. */ @@ -75,20 +75,20 @@ #define KSH_COMPATIBLE_SELECT /* System-wide .bashrc file for interactive shells. */ -/* #define SYS_BASHRC "/etc/bash.bashrc" */ +#define SYS_BASHRC "/etc/bash.bashrc" /* System-wide .bash_logout for login shells. */ -/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */ +#define SYS_BASH_LOGOUT "/etc/bash.bash_logout" /* Define this to make non-interactive shells begun with argv[0][0] == '-' run the startup files when not in posix mode. */ -/* #define NON_INTERACTIVE_LOGIN_SHELLS */ +#define NON_INTERACTIVE_LOGIN_SHELLS /* Define this if you want bash to try to check whether it's being run by sshd and source the .bashrc if so (like the rshd behavior). This checks for the presence of SSH_CLIENT or SSH2_CLIENT in the initial environment, which can be fooled under certain not-uncommon circumstances. */ -/* #define SSH_SOURCE_BASHRC */ +#define SSH_SOURCE_BASHRC /* Define if you want the case-capitalizing operators (~[~]) and the `capcase' variable attribute (declare -c). */ --- bash/config-bot.h.orig 2008-08-17 16:52:02.000000000 +0000 +++ bash/config-bot.h 2008-11-29 17:32:42.000000000 +0000 @@ -192,4 +192,4 @@ /******************************************************************/ /* If you don't want bash to provide a default mail file to check. */ -/* #undef DEFAULT_MAIL_DIRECTORY */ +#undef DEFAULT_MAIL_DIRECTORY