openpkg/dot.bash_login

Sat, 03 Oct 2009 16:18:52 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Oct 2009 16:18:52 +0200
changeset 220
a6cd892638c1
child 428
f880f219c566
permissions
-rw-r--r--

Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:

'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'

and

'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'

     1 ##
     2 ##  @l_prefix@/.bash_login -- Local Bash Login Script
     3 ##
     5 #   provide user and host information in default prompt
     6 PS1="\u@\h\$ "
     8 #   environment permissions
     9 umask 022
    10 ulimit -c 16384
    12 #   history functionality
    13 shopt -s histappend
    14 HISTSIZE=100
    15 HISTFILESIZE=100
    17 #   various additional variables
    18 export TMPDIR=/tmp
    19 export BLOCKSIZE=1024
    21 #   activate the bootstrapping Bourne-Shell
    22 #   environment of the OpenPKG hierarchy
    23 eval `@l_prefix@/bin/openpkg rc --eval openpkg env`
    25 #   make sure some non-standard but usually
    26 #   important executable directories are active
    27 test -d /usr/ccs/bin   && PATH="$PATH:/usr/ccs/bin"
    28 test -d /usr/local/bin && PATH="$PATH:/usr/local/bin"
    30 #   initially adjust $PWD to symbolic path
    31 cd $HOME
    33 #   path to bash environment init script
    34 BASH_ENV=$HOME/.bashrc
    36 #   source the standard environment script
    37 . $BASH_ENV

mercurial