- Timestamp:
- May 13, 2006, 8:48:41 PM (19 years ago)
- Location:
- branches/stable
- Files:
-
- 17 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/ChangeLog
r427 r542 3 3 MINDI CHANGES 4 4 5 1.07 (2006-02-23) 5 1.0.7 (2006-03-10) 6 - Fix issue for 2.6 kernels with VIA chipsets (Andree Leidenfrost) 6 7 - stop creating further size of floppy disks if the smaller one succeeds 7 8 (Bruno Cornec) -
branches/stable/mindi/VERSION
r339 r542 1 stable 1 1.0.7 -
branches/stable/mindi/distributions/redhat/spec.m4
r541 r542 2 2 dnl 3 3 dnl SSS is replaced by the source package format 4 define(`SSS', %{name}-%{version}.tgz)dnl4 define(`SSS', ftp://ftp.mondorescue.org/src/%{name}-%{version}.tgz)dnl 5 5 dnl DDD is replaced by the list of dependencies specific to that distro 6 6 define(`DDD', %{addreqb}, which, grep >= 2.5)dnl 7 7 dnl GRP is replaced by the RPM group of apps 8 define(`GRP', A rchiving/Archiving)dnl8 define(`GRP', Applications/Archiving)dnl -
branches/stable/mindi/distributions/rpm/mindi.spec
r541 r542 17 17 License: GPL 18 18 Group: %{grp} 19 Url: http:// mondorescue.berlios.de19 Url: http://www.mondorescue.org 20 20 Source: %{src} 21 BuildRoot: %{_tmppath}/%{name}-%{version} 21 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 22 22 Requires: %{addreq} 23 Epoch: %(echo EEE | cut -d- -f1 | sed "s~M~~") 23 24 # Not on all systems 24 25 #Conflicts: bonnie++ … … 31 32 32 33 %prep 33 %{__rm} -rf $RPM_BUILD_ROOT34 34 %setup -n %name-%{version} 35 35 … … 41 41 42 42 %install 43 %{__rm} -rf $RPM_BUILD_ROOT 43 44 export DONT_RELINK=1 44 45 45 %{__rm} -rf $RPM_BUILD_ROOT46 46 export PREFIX=${RPM_BUILD_ROOT}%{_exec_prefix} 47 47 export CONFDIR=${RPM_BUILD_ROOT}%{_sysconfdir} … … 60 60 %files 61 61 %defattr(644,root,root,755) 62 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 62 %config(noreplace) %{_sysconfdir}/mindi 63 %config(noreplace) %{_sysconfdir}/mindi/deplist.txt 63 64 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log 64 65 %{_mandir}/man8/* -
branches/stable/mindi/install.sh
r541 r542 109 109 fi 110 110 111 # Special case for SuSE family where doc is put elsewhere in the RPM 112 if [ _"$dfam" = _"suse" ]; then 113 rm -rf $DOCDIR 114 fi 115 111 116 exit 0 -
branches/stable/mindi/mindi
r541 r542 1254 1254 if [ $tmpmodprobe_flag == "Y" ] ; then 1255 1255 infile="/tmp/modprobe.conf.mindi.$$" 1256 find /etc/modprobe.d -maxdepth 1 -name "*" -xtype f > $infile1256 find /etc/modprobe.d -maxdepth 1 -name "*" -xtype f -print0 | xargs -0 cat > $infile 1257 1257 else 1258 1258 infile="/etc/modules.conf" … … 1315 1315 if [ -d "/proc/lvm" ] || [ -d "/dev/mapper" ]; then 1316 1316 echo -en "\rAnalyzing LVM...\r" 1317 all_partitions=`$MINDI_ LIB/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32`1317 all_partitions=`$MINDI_SBIN/analyze-my-lvm | fgrep ">>>" | cut -d' ' -f2-32` 1318 1318 fi 1319 1319 all_partitions="$all_partitions `ListAllPartitions 2> /dev/null`" … … 2217 2217 cp -f $TMP_ROOT/mountlist.txt $CACHE_LOC 2218 2218 [ "`DidMondoCallMe`" ] && cp -f $minidir_root/$noof_disks/tmp/mountlist.txt $MONDO_TMP/. 2219 [ -d "/proc/lvm" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2220 [ -d "/dev/mapper" ] && $MINDI_ LIB/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm2219 [ -d "/proc/lvm" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2220 [ -d "/dev/mapper" ] && $MINDI_SBIN/analyze-my-lvm > $minidir_root/$noof_disks/tmp/i-want-my-lvm 2221 2221 cat $minidir_root/$noof_disks/tmp/mountlist.txt >> $LOGFILE 2222 2222 ZipMinidirsIntoTarballs $minidir_root $tardir $noof_disks -
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'], -
branches/stable/tools/mkdeliv
r541 r542 8 8 # BerliOS FTP/SSH setup 9 9 ACCOUNT=bruno@ftp.mondorescue.org 10 DSTDIR=/ 10 DSTDIR=/mondo/ftp 11 11 FTPSERV="ftp.berlios.de" 12 12 FTPDIR="/incoming" -
branches/stable/tools/mkspec
r541 r542 12 12 if [ -f ${dir}/../$ddir/spec.m4 ]; then 13 13 inc=${dir}/../$ddir/spec.m4 14 elif [ -f ${dir}/../$d dmir/spec.m4 ]; then15 inc=${dir}/../$d dmir/spec.m414 elif [ -f ${dir}/../$dfam/spec.m4 ]; then 15 inc=${dir}/../$dfam/spec.m4 16 16 else 17 17 echo "Unable to build RPM for this distro. Please report to authors" … … 25 25 cat >> /tmp/mondorescue.mc << EOF 26 26 define(\`RRR', ${REVISION}${suf})dnl 27 define(\`EEE', ${REVISION})dnl 27 28 define(\`VVV', ${1})dnl 28 29 EOF -
branches/stable/tools/rpm-env
r541 r542 56 56 export ddir="redhat" 57 57 dver=`awk '{print $5}' /etc/redhat-release` 58 export dver=`echo ${dver} | sed "s/\.//"` 58 59 export suf=".rh${dver}" 59 export dver=`echo ${dver} | sed "s/\.//"`60 60 fi 61 61 elif [ -e /etc/SuSE-release ]; then
Note:
See TracChangeset
for help on using the changeset viewer.