Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2013-10-10 10:36:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base" Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2013-09-27 17:05:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes 2013-10-10 10:36:23.000000000 +0200 @@ -1,0 +2,17 @@ +Wed Oct 2 11:40:22 UTC 2013 - [email protected] + +- Add support for mksh +- Do not use bashisms in PS1 for unknown shells + +------------------------------------------------------------------- +Tue Oct 1 14:39:10 UTC 2013 - [email protected] + +- Adds a minor fix - changes JRE_HOME only in a case it was not defined before (bnc#841284) + +------------------------------------------------------------------- +Mon Sep 30 12:13:07 UTC 2013 - [email protected] + +- Use systemctl show to list the properties NeedDaemonReload, UnitFileState, and LoadState + and then check fore daemon-reload, masked, and forbidden services (bnc#843123, FATE#313323) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base-13.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/bash.bashrc new/aaa_base-13.1/files/etc/bash.bashrc --- old/aaa_base-13.1/files/etc/bash.bashrc 2013-09-27 09:38:06.000000000 +0200 +++ new/aaa_base-13.1/files/etc/bash.bashrc 2013-10-02 13:39:29.000000000 +0200 @@ -28,6 +28,8 @@ */ksh) is=ksh ;; */ksh93) is=ksh ;; */pdksh) is=ksh ;; + */mksh) is=ksh ;; + */lksh) is=ksh ;; */*pcksh) is=ksh ;; */zsh) is=zsh ;; */*) is=sh ;; @@ -236,8 +238,11 @@ fi ;; *) -# PS1='\u:\w> ' - PS1='\h:\w> ' + if test "$UID" = 0 ; then + PS1="${HOST}:"'${PWD}'" # " + else + PS1="${USER}@${HOST}:"'${PWD}'"> " + fi ;; esac PS2='> ' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/profile new/aaa_base-13.1/files/etc/profile --- old/aaa_base-13.1/files/etc/profile 2013-09-27 09:38:06.000000000 +0200 +++ new/aaa_base-13.1/files/etc/profile 2013-10-02 13:39:29.000000000 +0200 @@ -26,6 +26,8 @@ */ksh) is=ksh ;; */ksh93) is=ksh ;; */pdksh) is=ksh ;; + */mksh) is=ksh ;; + */lksh) is=ksh ;; */*pcksh) is=ksh ;; */zsh) is=zsh ;; */*) is=sh ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/profile.d/alljava.sh new/aaa_base-13.1/files/etc/profile.d/alljava.sh --- old/aaa_base-13.1/files/etc/profile.d/alljava.sh 2013-09-27 09:38:06.000000000 +0200 +++ new/aaa_base-13.1/files/etc/profile.d/alljava.sh 2013-10-02 13:39:29.000000000 +0200 @@ -29,16 +29,17 @@ case "$JPATH" in *jre*) - export JRE_HOME=$JPATH + [ -z "$JRE_HOME" ] && export JRE_HOME=$JPATH ;; *) - export JRE_HOME=$JPATH/jre + [ -z "$JRE_HOME" ] && export JRE_HOME=$JPATH/jre # it is development kit if [ -x $JPATH/bin/javac ] ; then export JDK_HOME=$JPATH export SDK_HOME=$JPATH - break; # we found a JRE + SDK -- don't look any further + unset JPATH + break 2; # we found a JRE + SDK -- don't look any further fi ;; esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/rc.status new/aaa_base-13.1/files/etc/rc.status --- old/aaa_base-13.1/files/etc/rc.status 2013-09-27 09:38:06.000000000 +0200 +++ new/aaa_base-13.1/files/etc/rc.status 2013-10-02 13:39:29.000000000 +0200 @@ -53,23 +53,26 @@ fi ;; esac - if ! _rc_system=$(systemctl is-enabled "${_rc_base}.service" 2>/dev/null) ; then - case "$_rc_system" in - static) echo "Skipped: ${_rc_base} is overwritten by a native systemd unit" 1>&2 - exit 2 ;; - masked) echo "Error: ${_rc_base} is masked out and forbidden by systemd" 1>&2 - exit 2 ;; - esac - systemctl daemon-reload - systemctl --no-reload enable "${_rc_base}.service" 2> /dev/null - fi + _rc_system=$(/usr/bin/systemctl show --system --no-pager -p NeedDaemonReload \ + -p UnitFileState -p LoadState "${_rc_base}.service" 2>/dev/null) + case "$_rc_system" in + *LoadState=masked*) + echo "Error: ${_rc_base} is masked out and forbidden by systemd" 1>&2 + exit 2 ;; + *UnitFileState=static*) + echo "Skipped: ${_rc_base} is overwritten by a native systemd unit" 1>&2 + exit 2 ;; + *NeedDaemonReload=yes*) + /usr/bin/systemctl --system --no-pager daemon-reload + esac + unset _rc_system case "$1" in status) SYSTEMD_NO_WRAP=1 "$0" "$1" ;; start|stop|reload|restart|try-restart|force-reload) echo "redirecting to systemctl $1 ${_rc_base}" 1>&2 ;; *) unset _rc_base ;; esac - if test -n "$_rc_base" -a -x /bin/systemctl ; then - exec /bin/systemctl $1 "${_rc_base}.service" + if test -n "$_rc_base" -a -x /usr/bin/systemctl ; then + exec /usr/bin/systemctl $1 "${_rc_base}.service" fi unset _rc_base fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/shells new/aaa_base-13.1/files/etc/shells --- old/aaa_base-13.1/files/etc/shells 2013-09-27 09:38:06.000000000 +0200 +++ new/aaa_base-13.1/files/etc/shells 2013-10-02 13:39:29.000000000 +0200 @@ -5,6 +5,7 @@ /bin/false /bin/ksh /bin/ksh93 +/bin/mksh /bin/pdksh /bin/sh /bin/tcsh @@ -14,6 +15,7 @@ /usr/bin/dash /usr/bin/ksh /usr/bin/ksh93 +/usr/bin/mksh /usr/bin/passwd /usr/bin/pdksh /usr/bin/bash -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
