commit aaa_base for openSUSE:Factory
Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at Thu Jul 23 18:07:54 CEST 2009. -------- --- aaa_base/aaa_base.changes 2009-07-17 16:33:12.000000000 +0200 +++ aaa_base/aaa_base.changes 2009-07-23 12:40:21.000000000 +0200 @@ -1,0 +2,26 @@ +Thu Jul 23 12:39:04 CEST 2009 - werner@suse.de + +- Remove INFOPATH and INFODIR as info knowns about (bnc#524541) + +------------------------------------------------------------------- +Wed Jul 22 15:41:05 CEST 2009 - ro@suse.de + +- fix typo in boot.cleanup + +------------------------------------------------------------------- +Wed Jul 22 15:01:54 CEST 2009 - ro@suse.de + +- import some speedups from moblin + boot.cleanup: use xargs and use -m option from mkdir + boot.localnet: depend on boot.rootfsck instead of boot.cleanup +- adapt boot.clock to changed hwclock/util-linux: + - drop --hctosys for utc case + - replace by --systz for non-utc case + +------------------------------------------------------------------- +Wed Jul 22 14:36:28 CEST 2009 - werner@suse.de + +- Fix expansion bug in bash completion without loosing expansion + of the tilde for the users home directory (bnc#524224) + +------------------------------------------------------------------- @@ -4,0 +31,5 @@ + +------------------------------------------------------------------- +Fri Jul 17 15:16:51 CEST 2009 - ro@suse.de + +- update alljava.csh (expand PATH like alljava.sh bnc#480480) calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.HRDxEp/_old 2009-07-23 18:06:12.000000000 +0200 +++ /var/tmp/diff_new_pack.HRDxEp/_new 2009-07-23 18:06:12.000000000 +0200 @@ -28,7 +28,7 @@ PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv AutoReqProv: on Version: 11.2 -Release: 33 +Release: 34 Summary: SUSE Linux Base Package BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: aaa_base.tar.bz2 ++++++ aaa_base.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/csh.login new/aaa_base/etc/csh.login --- old/aaa_base/etc/csh.login 2009-01-08 19:20:37.000000000 +0100 +++ new/aaa_base/etc/csh.login 2009-07-23 12:37:28.000000000 +0200 @@ -194,18 +194,6 @@ # #setenv XAPPLRESDIR "$XAPPLRESDIR:/var/X11R6/app-defaults:/usr/X11R6/lib/X11/app-defaults" -# -# Set INFOPATH to tell xemacs where he can find the info files -# -if (! ${?CSHRCREAD} ) then - if ( ${?INFODIR} ) then - setenv INFODIR "${INFODIR}:/usr/local/info:/usr/share/info:/usr/info" - else - setenv INFODIR "/usr/local/info:/usr/share/info:/usr/info" - endif - setenv INFOPATH $INFODIR -endif - if (! ${?CSHRCREAD} ) then # # These settings are recommended for old motif applications diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/init.d/boot.cleanup new/aaa_base/etc/init.d/boot.cleanup --- old/aaa_base/etc/init.d/boot.cleanup 2009-02-23 15:34:23.000000000 +0100 +++ new/aaa_base/etc/init.d/boot.cleanup 2009-07-22 15:40:58.000000000 +0200 @@ -32,12 +32,14 @@ rm -f /var/lib/rpm/__db* rm -rf /tmp/screens /tmp/uscreens /var/run/screens /var/run/uscreens 2>/dev/null rm -f /tmp/.X*lock /var/spool/uucp/LCK* /var/log/sa/sadc.LOCK /fsck_corrected_errors 2>/dev/null - if test -x /usr/bin/find; then - find /tmp/ssh-* /tmp/gpg-* -type s -name "*agent*" -maxdepth 1 -exec rm -f {} + 2>/dev/null - find /var/run /var/lock -type f ! -wholename /var/run/utmp -exec rm -f {} + 2>/dev/null - if test -d /var/lib/ntp/var/run; then - find /var/lib/ntp/var/run -type f -exec rm -f {} + 2>/dev/null - fi + if test -x /usr/bin/find -a -x /usr/bin/xargs; then + { + find /tmp/ssh-* /tmp/gpg-* -type s -name "*agent*" -maxdepth 1 -print0 + find /var/run /var/lock -type f ! -wholename /var/run/utmp -print0 + if test -d /var/lib/ntp/var/run; then + find /var/lib/ntp/var/run -type f -print0 + fi + } 2>/dev/null | xargs -0r rm -f else # fallback for find if we get /usr from nfs rec_rem() { @@ -60,8 +62,11 @@ # Re-read inittab for jobs and redo utmp records if required test "$PREVLEVEL" = "S" && telinit q - # Restore a possibly dynamically modified /etc/resolv.conf - /sbin/netconfig update +# FASTBOOT: This costs us ~1s, and could be done by a simple "mv" +# if at all necessary. +# +# # Restore a possibly dynamically modified /etc/resolv.conf + test -z "$DO_FASTBOOT" && /sbin/netconfig update # delete temp files # If $CLEAR_TMP_DIRS_AT_BOOTUP = yes, delete files in @@ -72,27 +77,19 @@ CLEAR_DIRS="$CLEAR_TMP_DIRS_AT_BOOTUP" CLEAR_TMP_DIRS_AT_BOOTUP=yes fi - if test -x /usr/bin/find; then + if test -x /usr/bin/find -a -x /usr/bin/xargs ; then if test "$CLEAR_TMP_DIRS_AT_BOOTUP" = yes; then echo -n "Cleaning temporary directories $CLEAR_DIRS" - for CURDIR in $CLEAR_DIRS ; do - find $CURDIR -mindepth 1 -maxdepth 1 -exec rm -rf {} + - done + find $CLEAR_DIRS -maxdepth 1 -print0 2>/dev/null | xargs -0r rm -f rc_status -v -r fi fi for CURDIR in /tmp /tmp/.X11-unix /tmp/.ICE-unix \ /var/tmp /var/tmp/vi.recover /var/run/uscreens ; do - test -d $CURDIR || \ - mkdir $CURDIR && \ - chown root:root $CURDIR && \ - chmod 1777 $CURDIR + test -d $CURDIR || mkdir -m 1777 $CURDIR done for CURDIR in /var/run/screens ; do - test -d $CURDIR || \ - mkdir $CURDIR && \ - chown root:root $CURDIR && \ - chmod 755 $CURDIR + test -d $CURDIR || mkdir -m 755 $CURDIR done ;; stop|restart) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/init.d/boot.clock new/aaa_base/etc/init.d/boot.clock --- old/aaa_base/etc/init.d/boot.clock 2009-05-08 15:00:53.000000000 +0200 +++ new/aaa_base/etc/init.d/boot.clock 2009-07-22 15:21:55.000000000 +0200 @@ -146,11 +146,11 @@ echo "0" echo "UTC" fi > /etc/adjtime - rtc_rule /sbin/hwclock --hctosys $HWCLOCK --adjust + rtc_rule /sbin/hwclock $HWCLOCK --adjust else # Remove any /etc/adjtime left over test -e /etc/adjtime && rm -f /etc/adjtime - rtc_rule /sbin/hwclock --hctosys $HWCLOCK --noadjfile + rtc_rule /sbin/hwclock --systz $HWCLOCK --noadjfile fi rc_status -v ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/init.d/boot.localnet new/aaa_base/etc/init.d/boot.localnet --- old/aaa_base/etc/init.d/boot.localnet 2008-08-18 01:36:11.000000000 +0200 +++ new/aaa_base/etc/init.d/boot.localnet 2009-07-22 14:57:47.000000000 +0200 @@ -7,7 +7,7 @@ # ### BEGIN INIT INFO # Provides: boot.localnet -# Required-Start: boot.cleanup +# Required-Start: boot.rootfsck # Required-Stop: $null # Default-Start: B # Default-Stop: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/profile new/aaa_base/etc/profile --- old/aaa_base/etc/profile 2009-01-08 19:21:14.000000000 +0100 +++ new/aaa_base/etc/profile 2009-07-23 12:37:41.000000000 +0200 @@ -243,21 +243,6 @@ #export XAPPLRESDIR # -# Set INFOPATH to tell xemacs where he can find the info files -# -if test -z "$PROFILEREAD" ; then - tmp="$INFODIR" - if test -n "$tmp" ; then - INFODIR="${tmp}:/usr/local/info:/usr/share/info:/usr/info" - else - INFODIR="/usr/local/info:/usr/share/info:/usr/info" - fi - INFOPATH=$INFODIR - unset tmp - export INFODIR INFOPATH -fi - -# # These settings are recommended for old motif applications # if test -z "$PROFILEREAD" ; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/profile.d/alljava.csh new/aaa_base/etc/profile.d/alljava.csh --- old/aaa_base/etc/profile.d/alljava.csh 2009-04-15 16:46:04.000000000 +0200 +++ new/aaa_base/etc/profile.d/alljava.csh 2009-07-17 15:16:05.000000000 +0200 @@ -33,6 +33,7 @@ else if ( -x /usr/$__libdir/jvm/jre/bin/java ) then # it is IBMJava2-JRE or SunJava2-JRE + setenv PATH ${PATH}:/usr/$__libdir/jvm/jre/bin setenv JAVA_BINDIR /usr/$__libdir/jvm/jre/bin setenv JAVA_ROOT /usr/$__libdir/jvm/jre setenv JAVA_HOME /usr/$__libdir/jvm/jre diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/profile.d/complete.bash new/aaa_base/etc/profile.d/complete.bash --- old/aaa_base/etc/profile.d/complete.bash 2009-07-14 14:03:13.000000000 +0200 +++ new/aaa_base/etc/profile.d/complete.bash 2009-07-22 14:32:00.000000000 +0200 @@ -274,12 +274,12 @@ let o=0 local -a reply=() for s in ${COMPREPLY[@]}; do - eval e="$s" + e=$(eval echo $s) if test -d "$e" ; then reply[$((o++))]="$s" continue fi - case "$(eval file -b "$s" 2> /dev/null)" in + case "$(file -b $e 2> /dev/null)" in $t) reply[$((o++))]="$s" esac done @@ -293,8 +293,9 @@ _gdb_ () { local c=${COMP_WORDS[COMP_CWORD]} - local x + local e p local -i o + local IFS if test $COMP_CWORD -eq 1 ; then case "$c" in @@ -303,7 +304,9 @@ esac return 0 fi - local p=${COMP_WORDS[COMP_CWORD-1]} + + p=${COMP_WORDS[COMP_CWORD-1]} + IFS=$'\n' case "$p" in -args) COMPREPLY=($(compgen -c -- "$c")) ;; -tty) COMPREPLY=(/dev/tty* /dev/pts/*) @@ -320,18 +323,17 @@ fi let o=${#COMPREPLY[*]} for s in $(compgen -f -- "$c") ; do - eval e="$s" + e=$(eval echo $s) if test -d "$e" ; then COMPREPLY[$((o++))]="$s" continue fi - case "$(eval file -b "$e" 2> /dev/null)" in + case "$(file -b $e 2> /dev/null)" in *) COMPREPLY[$((o++))]="$s" esac done esac - - return 0 + return 0 } complete -d -X '.[^./]*' -F _exp_ ${_file} ${_def} \ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de