Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2012-03-12 08:53:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2012-03-07 20:08:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes 2012-03-12 08:53:19.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Mar 9 16:58:56 UTC 2012 - [email protected] + +- Yet an other bash completion problem worked around + +------------------------------------------------------------------- +Fri Mar 9 14:27:10 UTC 2012 - [email protected] + +- Add old request from gitorious + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/csh.login new/aaa_base/files/etc/csh.login --- old/aaa_base/files/etc/csh.login 2012-03-07 00:38:46.000000000 +0100 +++ new/aaa_base/files/etc/csh.login 2012-03-09 17:58:01.000000000 +0100 @@ -33,9 +33,7 @@ if ( -d /proc/iSeries && ( $tty == "tty1" || "$tty" == "console")) then setenv LINES 24 setenv COLUMNS 80 - if ( -x /usr/bin/initviocons ) then - eval `/usr/bin/initviocons -q -e -c` - endif + eval `path initviocons -q -e -c` endif settc km yes endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/init.d/skeleton.compat new/aaa_base/files/etc/init.d/skeleton.compat --- old/aaa_base/files/etc/init.d/skeleton.compat 2012-03-07 00:38:46.000000000 +0100 +++ new/aaa_base/files/etc/init.d/skeleton.compat 2012-03-09 17:58:01.000000000 +0100 @@ -130,6 +130,9 @@ # Read config . $FOO_CONFIG +# Some variables +FOO_PIDFILE=/var/run/foo.pid + # Source LSB init functions # providing start_daemon, killproc, pidofproc, # log_success_msg, log_failure_msg and log_warning_msg. @@ -185,7 +188,7 @@ fi } # TODO: Add checking for lockfiles - checkproc() { return pidofproc ${1+"$@"} >/dev/null 2>&1; } + checkproc() { pidofproc ${1+"$@"} >/dev/null 2>&1; return $?; } elif test -e /etc/init.d/functions; then # RHAT . /etc/init.d/functions @@ -198,8 +201,8 @@ failure " [${_SMSG[${_RC_RV}]}] " fi } - checkproc() { return status ${1+"$@"}; } - start_daemon() { return daemon ${1+"$@"}; } + checkproc() { status ${1+"$@"}; return $?; } + start_daemon() { daemon ${1+"$@"}; return $?; } else # emulate it echo_rc() { echo " [${_SMSG[${_RC_RV}]}] "; } @@ -263,18 +266,30 @@ ## the return value is set appropriately by startproc. start_daemon $FOO_BIN - # Remember status and be verbose + ## Remember status and be verbose rc_status -v + + ## Update PIDFILE if not automatically written + # pidofproc $FOO_BIN > $FOO_PIDFILE ;; stop) echo -n "Shutting down FOO " ## Stop daemon with killproc(8) and if this fails ## killproc sets the return value according to LSB. - + ## Usage on RH: killproc [-p pidfile] [-d delay] {progrm} [-signal] + + ## This one signal TERM followed by e.g. signal KILL killproc $FOO_BIN + ## or only with signal TERM + # killproc $FOO_BIN -TERM - # Remember status and be verbose + ## Remember status and be verbose rc_status -v + + ## Remove PIDFILE it not automatically renmoved + # if test -e $FOO_PIDFILE ; then + # rm -f $FOO_PIDFILE + # fi ;; try-restart|condrestart) ## Do a restart only if the service was active before. @@ -289,7 +304,7 @@ else rc_reset # Not running is not a failure. fi - # Remember status and be quiet + ## Remember status and be quiet rc_status ;; restart) @@ -298,7 +313,7 @@ $0 stop $0 start - # Remember status and be quiet + ## Remember status and be quiet rc_status ;; force-reload) @@ -321,7 +336,7 @@ ## Like force-reload, but if daemon does not support ## signaling, do nothing (!) - # If it supports signaling: + ## If it supports signaling: echo -n "Reload service FOO " killproc -HUP $FOO_BIN #touch /var/run/FOO.pid @@ -336,18 +351,18 @@ ## Check status with checkproc(8), if process is running ## checkproc will return with exit status 0. - # Return value is slightly different for the status command: - # 0 - service up and running - # 1 - service dead, but /var/run/ pid file exists - # 2 - service dead, but /var/lock/ lock file exists - # 3 - service not running (unused) - # 4 - service status unknown :-( - # 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) + ## Return value is slightly different for the status command: + ## 0 - service up and running + ## 1 - service dead, but /var/run/ pid file exists + ## 2 - service dead, but /var/lock/ lock file exists + ## 3 - service not running (unused) + ## 4 - service status unknown :-( + ## 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.) - # NOTE: checkproc returns LSB compliant status values. + ## NOTE: checkproc returns LSB compliant status values. checkproc $FOO_BIN - # NOTE: rc_status knows that we called this init script with - # "status" option and adapts its messages accordingly. + ## NOTE: rc_status knows that we called this init script with + ## "status" option and adapts its messages accordingly. rc_status -v ;; probe) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/profile new/aaa_base/files/etc/profile --- old/aaa_base/files/etc/profile 2012-03-07 00:38:46.000000000 +0100 +++ new/aaa_base/files/etc/profile 2012-03-09 17:58:01.000000000 +0100 @@ -53,11 +53,7 @@ # path () { - if test -x /usr/bin/$1 ; then - ${1+"/usr/bin/$@"} - elif test -x /bin/$1 ; then - ${1+"/bin/$@"} - fi + command -p ${1+$@"} } # @@ -78,9 +74,7 @@ LINES=24 COLUMNS=80 export LINES COLUMNS TERM - if test -x /usr/bin/initviocons ; then - eval `/usr/bin/initviocons -q -e` - fi + eval `path initviocons -q -e` fi fi unset TERMCAP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/profile.d/complete.bash new/aaa_base/files/etc/profile.d/complete.bash --- old/aaa_base/files/etc/profile.d/complete.bash 2012-03-07 00:38:46.000000000 +0100 +++ new/aaa_base/files/etc/profile.d/complete.bash 2012-03-09 17:58:01.000000000 +0100 @@ -346,7 +346,7 @@ \$\{*\}) eval COMPREPLY=\(${c}\) ;; \$\{*) COMPREPLY=($(compgen -v -P '${' -S '}' -- ${c#??})) ;; \$*) COMPREPLY=($(compgen -v -P '$' -- ${c#?})) ;; - \~*/*) COMPREPLY=($(compgen -f -X "$e" -- ${c})) ;; + \~*/*) COMPREPLY=($(compgen -f -X "$e" +o plusdirs -- ${c})) ;; \~*) COMPREPLY=($(compgen -u ${s} -- ${c})) ;; *@*) COMPREPLY=($(compgen -A hostname -P '@' -S ':' -- ${c#*@})) ;; *[*?[]*) COMPREPLY=() # use bashdefault @@ -361,9 +361,9 @@ COMPREPLY=($(compgen -G "${c}")) ;; *) if test "$c" = ".." ; then - COMPREPLY=($(compgen -d -X "$e" ${_nosp} -- $c)) + COMPREPLY=($(compgen -d -X "$e" ${_nosp} +o plusdirs -- $c)) else - COMPREPLY=($(compgen -f -X "$e" -- $c)) + COMPREPLY=($(compgen -f -X "$e" +o plusdirs -- $c)) fi esac -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
