Changeset 542 in MondoRescue for branches/stable/mondo
- Timestamp:
- May 13, 2006, 8:48:41 PM (19 years ago)
- Location:
- branches/stable/mondo
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/ChangeLog
r541 r542 3 3 MONDO CHANGES 4 4 5 v2.07 (2006-02-23)5 2.0.7 (2006-03-10) 6 6 - useless cat, sort|uniq commands removed 7 7 (Bruno Cornec/Sébastien Aperghis-Tramoni) -
branches/stable/mondo/VERSION
r339 r542 1 stable 1 2.0.7 -
branches/stable/mondo/distributions/mandriva/spec.m4
r541 r542 7 7 dnl GRP is replaced by the RPM group of apps 8 8 define(`GRP', `Archiving/Backup')dnl 9 dnl OBS is replaced vy what is being obsoleted 10 define(`OBS', Obsoletes: libmondo <= 2.04)dnl -
branches/stable/mondo/distributions/redhat/spec.m4
r541 r542 7 7 dnl GRP is replaced by the RPM group of apps 8 8 define(`GRP', Archiving/Archiving)dnl 9 dnl OBS is replaced vy what is being obsoleted 10 define(`OBS', )dnl -
branches/stable/mondo/distributions/rpm/mondo.spec
r541 r542 10 10 %define src SSS 11 11 %define grp GRP 12 %define addreqb mindi >= 1.0 5, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.112 %define addreqb mindi >= 1.0.7, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, slang >= 1.4.1 13 13 %define addreq DDD 14 14 %define rel %{mrel} 15 15 16 16 Summary: A program which a Linux user can utilize to create a rescue/restore CD/tape 17 Summary(fr): Un programme pour les utilisateurs de Linux pour cr �r un CD/tape de sauvegarde/restauration17 Summary(fr): Un programme pour les utilisateurs de Linux pour créer un CD/tape de sauvegarde/restauration 18 18 Summary(it): Un programma per utenti Linux per creare un CD/tape di rescue 19 19 Summary(sp): Un programa para los usuarios de Linux por crear una CD/cinta de restoracion/rescate … … 28 28 BuildRoot: %{_tmppath}/%{name}-%{version} 29 29 BuildRequires: newt-devel >= 0.50, slang-devel >= 1.4.1, gcc 30 Epoch: %(echo EEE | cut -d- -f1 | sed "s~M~~") 31 OBS 30 32 %ifarch ia64 31 33 Requires: %{addreq}, elilo, parted … … 66 68 67 69 %build 68 %configure 70 %configure --program-prefix=%{?_program_prefix} 69 71 %{__make} VERSION=%{version} 70 72 -
branches/stable/mondo/distributions/suse/spec.m4
r541 r542 7 7 dnl GRP is replaced by the RPM group of apps 8 8 define(`GRP', Productivity/Archiving/Backup)dnl 9 dnl OBS is replaced vy what is being obsoleted 10 define(`OBS', )dnl -
branches/stable/mondo/mondo/common/my-stuff.h
r541 r542 345 345 * @c growisofs command to generate a bootable DVD using isolinux, except for the directory to image. 346 346 */ 347 #define MONDO_GROWISOFS_REGULAR_SYSLINUX "growisofs - speed=1 -use-the-force-luke -J -no-emul-boot -boot-load-size 4 -b isolinux.bin --boot-info-table -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_ -v"347 #define MONDO_GROWISOFS_REGULAR_SYSLINUX "growisofs -use-the-force-luke -J -no-emul-boot -boot-load-size 4 -b isolinux.bin --boot-info-table -c boot.cat -boot-load-size 4 -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL_Version -V _CD#_ -v" 348 348 349 349 /** 350 350 * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image. 351 351 */// -b images/mindi-boot.2880.img 352 #define MONDO_GROWISOFS_REGULAR_ELILO "growisofs - speed=1 -use-the-force-luke -no-emul-boot -b images/mindi-boot.2880.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"352 #define MONDO_GROWISOFS_REGULAR_ELILO "growisofs -use-the-force-luke -no-emul-boot -b images/mindi-boot.2880.img -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v" 353 353 354 354 /** 355 355 * @c growisofs command to generate a bootable DVD using LILO, except for the directory to image. 356 356 */// -b images/mindi-boot.2880.img 357 #define MONDO_GROWISOFS_REGULAR_LILO "growisofs - speed=1 -no-emul-boot -b isolinux.bin -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"357 #define MONDO_GROWISOFS_REGULAR_LILO "growisofs -no-emul-boot -b isolinux.bin -c boot.cat -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v" 358 358 359 359 /** 360 360 * @c growisofs command to generate a nonbootable DVD, except for the directory to image. 361 361 */ 362 #define MONDO_GROWISOFS_NONBOOT "growisofs - speed=1 -use-the-force-luke -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v"362 #define MONDO_GROWISOFS_NONBOOT "growisofs -use-the-force-luke -J -r -p MondoRescue -publisher www.mondorescue.org -A Mondo_Rescue_GPL -V _CD#_ -v" 363 363 364 364 /** -
branches/stable/mondo/mondo/mondoarchive/mondo-cli.c
r541 r542 356 356 /*@ buffers ** */ 357 357 char *tmp; 358 char *tmp1; 358 359 char *psz; 359 360 … … 442 443 strcat(bkpinfo->include_paths, " "); 443 444 } 444 if (stat(flag_val['I'], &buf) != 0) { 445 log_msg(1, "ERROR ! %s doesn't exist", flag_val['I']); 446 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 447 } 445 asprintf(&tmp1, flag_val['I']); 446 char *p = tmp1; 447 char *q = tmp1; 448 449 /* Cut the flag_val['I'] in parts containing all paths to test them */ 450 while (p != NULL) { 451 q = strchr(p, ' '); 452 if (q != NULL) { 453 *q = '\0'; 454 p = q+1 ; 455 if (stat(p, &buf) != 0) { 456 log_msg(1, "ERROR ! %s doesn't exist", p); 457 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 458 } 459 } else { 460 if (stat(p, &buf) != 0) { 461 log_msg(1, "ERROR ! %s doesn't exist", p); 462 fatal_error("ERROR ! You specified a directory to include which doesn't exist"); 463 } 464 p = NULL; 465 } 466 } 467 paranoid_free(tmp1); 468 448 469 strncpy(bkpinfo->include_paths + strlen(bkpinfo->include_paths), 449 470 flag_val['I'], … … 659 680 strcat(bkpinfo->exclude_paths, " "); 660 681 } 661 if (stat(flag_val['E'], &buf) != 0) { 662 log_msg(1, "WARNING ! %s doesn't exist", flag_val['E']); 663 } 682 asprintf(&tmp1, flag_val['E']); 683 char *p = tmp1; 684 char *q = tmp1; 685 686 /* Cut the flag_val['E'] in parts containing all paths to test them */ 687 while (p != NULL) { 688 q = strchr(p, ' '); 689 if (q != NULL) { 690 *q = '\0'; 691 p = q+1 ; 692 if (stat(p, &buf) != 0) { 693 log_msg(1, "WARNING ! %s doesn't exist", p); 694 } 695 } else { 696 if (stat(p, &buf) != 0) { 697 log_msg(1, "WARNING ! %s doesn't exist", p); 698 } 699 p = NULL; 700 } 701 } 702 paranoid_free(tmp1); 703 664 704 strncpy(bkpinfo->exclude_paths + strlen(bkpinfo->exclude_paths), 665 705 flag_val['E'],
Note:
See TracChangeset
for help on using the changeset viewer.