From 1aa539b0b931e96c363a1aa97a942d249ad9c161 Mon Sep 17 00:00:00 2001 From: roos Date: Sun, 3 Nov 2019 12:40:51 +0100 Subject: [PATCH 1/4] update CHANGELOG --- CHANGELOG | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6046784..09dcfe9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,22 @@ # Change Log #===================================================================== # +# version 3.0.7 - (2018-05-02) +# - Small changes for MacOS +# version 3.0.6 - (2018-01-10) +# - Fix the mysql login-configuration file cannot be located in a cronjob +# version 3.0.5 - (2017-12-08) +# - Changed usessl to no per default +# version 3.0.4 - (2017-10-27) +# - Adjusted md5sums in install.sh +# version 3.0.3 - (2017-09-27) +# - Configuration fix +# version 3.0.2 - (2017-01-20) +# - Add secure connection config support to install.sh +# version 3.0.1 - (2016-10-05) +# - Forked from Sourceforge +# - Supports MySQL 5.6 and MySQL 5.7 +# - Updated README for login path support # version 3.0_rc4 - (2011-11-24) # - Removing mkfifo commands, thereby improving portability. # - Fixing not working table exclude feature for wildcards. From 4f88053d0c2a2f719ecdd8c02e0cbe0e48555741 Mon Sep 17 00:00:00 2001 From: roos Date: Sun, 3 Nov 2019 12:40:59 +0100 Subject: [PATCH 2/4] update gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index e43b0f9..9d6e5df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store +.idea +*.iml From 70ab9b2fa70369bd365bd771527f87b14278cb4c Mon Sep 17 00:00:00 2001 From: roos Date: Sun, 3 Nov 2019 12:41:06 +0100 Subject: [PATCH 3/4] Added RPM spec file --- automysqlbackup.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 automysqlbackup.spec diff --git a/automysqlbackup.spec b/automysqlbackup.spec new file mode 100644 index 0000000..1201e18 --- /dev/null +++ b/automysqlbackup.spec @@ -0,0 +1,49 @@ +%global commit0 9c7d05ccaf3773e4168278ce3d3da254695b02eb +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global gittag 3.0.7 +%global projname AutoMySQLBackup + +Name: automysqlbackup +Version: 3.0.7 +Release: 1%{?dist} +Summary: MySQL/MariaDB backup script +Group: Applications/Databases +License: GPLv2+ +URL: https://github.com/sixhop/%{projname} +%undefine _disable_source_fetch +Source0: https://github.com/sixhop/%{projname}/archive/%{gittag}/%{projname}-%{version}.tar.gz +%define SHA256SUM0 8641f37ed453c880f541fe729e7b927db62b8d8a81c0d693efb8dd9dece09ee7 +BuildArch: noarch +Requires: bash +Requires: bzip2 +Requires: gzip +Requires: diffutils +Requires: openssl +Requires: mysql + +%description +MySQL/MariaDB backup wrapper script for mysqldump, with support for +backup rotation, encryption, compression and incremental backup. + +%prep +echo "%SHA256SUM0 %SOURCE0" | sha256sum -c - +%autosetup -n %{projname}-%{gittag} + +%build +true + +%install +install -m 755 -d %{buildroot}/%{_bindir} +install -m 755 -d %{buildroot}/%{_sysconfdir}/automysqlbackup + +install -m 755 automysqlbackup %{buildroot}/%{_bindir}/automysqlbackup +install -m 600 automysqlbackup.conf %{buildroot}/%{_sysconfdir}/automysqlbackup/automysqlbackup.conf + +%files +%{_bindir}/automysqlbackup +%config(noreplace) %{_sysconfdir}/automysqlbackup/automysqlbackup.conf +%doc README README.md LICENSE CHANGELOG + +%changelog +* Sun Nov 03 2019 Robert Oschwald 3.0.7 +- Small changes for MacOS From c55362448adb0a1fd41fe2682d8074159e24daa0 Mon Sep 17 00:00:00 2001 From: roos Date: Sun, 3 Nov 2019 12:44:35 +0100 Subject: [PATCH 4/4] use spaces instead of tabs --- automysqlbackup.spec | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/automysqlbackup.spec b/automysqlbackup.spec index 1201e18..f2ddebb 100644 --- a/automysqlbackup.spec +++ b/automysqlbackup.spec @@ -3,23 +3,23 @@ %global gittag 3.0.7 %global projname AutoMySQLBackup -Name: automysqlbackup -Version: 3.0.7 -Release: 1%{?dist} -Summary: MySQL/MariaDB backup script -Group: Applications/Databases -License: GPLv2+ +Name: automysqlbackup +Version: 3.0.7 +Release: 1%{?dist} +Summary: MySQL/MariaDB backup script +Group: Applications/Databases +License: GPLv2+ URL: https://github.com/sixhop/%{projname} %undefine _disable_source_fetch -Source0: https://github.com/sixhop/%{projname}/archive/%{gittag}/%{projname}-%{version}.tar.gz +Source0: https://github.com/sixhop/%{projname}/archive/%{gittag}/%{projname}-%{version}.tar.gz %define SHA256SUM0 8641f37ed453c880f541fe729e7b927db62b8d8a81c0d693efb8dd9dece09ee7 BuildArch: noarch -Requires: bash -Requires: bzip2 -Requires: gzip -Requires: diffutils -Requires: openssl -Requires: mysql +Requires: bash +Requires: bzip2 +Requires: gzip +Requires: diffutils +Requires: openssl +Requires: mysql %description MySQL/MariaDB backup wrapper script for mysqldump, with support for