From ad96bd5002c8464ea9994aa9d26377f1819be98c Mon Sep 17 00:00:00 2001 From: Mahdi Mokhtari Date: Wed, 27 Mar 2019 17:10:54 +0000 Subject: databases/automysqlbackup: Add the port to the tree AutoMySQLBackup is a script that takes the pain out of setting up automated incremental daily, weekly, and monthly backups of MySQL databases. Submitted by: Christian Schwarz Reviewed by: matthew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19612 --- .../automysqlbackup/files/patch-automysqlbackup | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 databases/automysqlbackup/files/patch-automysqlbackup (limited to 'databases/automysqlbackup/files/patch-automysqlbackup') diff --git a/databases/automysqlbackup/files/patch-automysqlbackup b/databases/automysqlbackup/files/patch-automysqlbackup new file mode 100644 index 000000000000..ea8a3c8687d6 --- /dev/null +++ b/databases/automysqlbackup/files/patch-automysqlbackup @@ -0,0 +1,20 @@ +--- automysqlbackup.orig 2011-12-03 16:10:43 UTC ++++ automysqlbackup +@@ -55,8 +55,8 @@ let "N_backup_local_nofiles=0x20" + # @info: Default configuration options. + # @deps: (none) + load_default_config() { +- CONFIG_configfile="/etc/automysqlbackup/automysqlbackup.conf" +- CONFIG_backup_dir='/var/backup/db' ++ CONFIG_configfile="%%ETCDIR%%/automysqlbackup.conf" ++ CONFIG_backup_dir='/var/backups/automysqlbackup' + CONFIG_multicore='yes' + CONFIG_multicore_threads=2 + CONFIG_do_monthly="01" +@@ -2252,4 +2252,4 @@ elif (( $# == 0 )) && (( ${#opt_flags[@]} == 0 )); the + method_backup + fi + +-# END __main +\ No newline at end of file ++# END __main -- cgit v1.2.3