Changes of Revision 25
[-] | Changed | automysqlbackup.spec |
x 1
2 Name: automysqlbackup 3 -Version: 2.6.6 4 +Version: 2.6.7 5 Release: 1 6 Group: System/Backup 7 Summary: MySQL backup script 8 License: GPL 9 Url: http://members.lycos.co.uk/wipe_out/automysqlbackup/ 10 BuildRoot: %{_tmppath}/%{name}-%{version}-root 11 -Source0: automysqlbackup-2.6.6.sh 12 +Source0: automysqlbackup-%{version}.sh 13 Source1: multimysqlbackup.sh 14 Source2: multimysqlbackup.conf 15 Source3: automysqlbackup.8 16
17 %{_mandir}/man8/automysqlbackup.8* 18 19 %changelog 20 +* Tue Jul 09 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.7-1 21 +- fix readlink endless loop in qmail detection code 22 + 23 * Thu Jul 04 2013 Carsten Schoene <cs@linux-administrator.com> - 2.6.6-1 24 - detect --events support in mysqldump and use it when available 25 26 |
||
[+] | Changed | automysqlbackup-2.6.7.sh ^ |
@@ -275,6 +275,8 @@ #===================================================================== # Change Log #===================================================================== +# VER 2.6.7 - (2013-07-09) +# - fix readlink endless loop in qmail detection code # VER 2.6.6 - (2013-07-04) # - detect --events support in mysqldump and use it when available # VER 2.6.5 - (2013-06-26) @@ -424,8 +426,8 @@ READLINK="`${WHICH} readlink 2>/dev/null`" function is_sendmail_qmail { - while [ -h ${SMBIN} ] ; do - SMBIN=`${READLINK} ${SMBIN}` + while [ -L ${SMBIN} ] ; do + SMBIN=`${READLINK} -e ${SMBIN}` done if [ -z "`echo ${SMBIN} | ${GREP} -i qmail`" ] ; then echo 0 @@ -509,7 +511,7 @@ DOM=`${DATEC} +%d` # Date of the Month e.g. 27 M=`${DATEC} +%B` # Month e.g January W=`${DATEC} +%V` # Week Number e.g 37 -VER=2.6.5 # Version Number +VER=2.6.7 # Version Number LOGFILE=${BACKUPDIR}/${DBHOST}-`${DATEC} +%N`.log # Logfile Name LOGERR=${BACKUPDIR}/ERRORS_${DBHOST}-`${DATEC} +%N`.log # Logfile Name BACKUPFILES="" |