X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=make_catalog_backup-setup-home.patch;h=68d76a4265f93aae0bbfefa9335d910d42e37056;hb=c0d46bda428ed72051a2c37e71ee9dd4a1f4495b;hp=524ff2d0828efe23a6da035acd137d4ab220cc09;hpb=e32bc3f66476a04b2800f6d904fe160fca5a74e4;p=packages%2Fbacula.git diff --git a/make_catalog_backup-setup-home.patch b/make_catalog_backup-setup-home.patch index 524ff2d..68d76a4 100644 --- a/make_catalog_backup-setup-home.patch +++ b/make_catalog_backup-setup-home.patch @@ -1,16 +1,18 @@ ---- bacula-5.0.3/./src/cats/make_catalog_backup.in~ 2010-10-22 17:51:14.000000000 +0300 -+++ bacula-5.0.3/./src/cats/make_catalog_backup.in 2010-10-22 17:53:17.329321909 +0300 -@@ -13,11 +13,13 @@ +--- bacula-5.2.1/src/cats/make_catalog_backup.in~ 2011-10-30 13:03:42.000000000 +0100 ++++ bacula-5.2.1/src/cats/make_catalog_backup.in 2011-11-01 17:27:38.863760358 +0100 +@@ -13,12 +13,15 @@ # line arguments and the environment using ps. Please consult your # MySQL or PostgreSQL manual for secure methods of specifying the # password. -+# In MySQL, you can create @working_dir@/.my.cnf and put password there in [client] section ++# In MySQL, you can create @working_dir@/.my.cnf and put password there in [client] section. # $4 is the host on which the database is located # (default "") + # $5 is the type of database # # - BINDIR=@SQL_BINDIR@ + +HOME=@working_dir@ ++ + default_db_type=@DEFAULT_DB_TYPE@ - cd @working_dir@ - rm -f $1.sql + #