Changeset 1043 in MondoRescue
- Timestamp:
- Jan 8, 2007, 11:31:22 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 45 edited
- 8 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi-busybox/ChangeLog
r956 r1043 3 3 MINDI-BUSYBOX CHANGES 4 4 5 1.2.2 (2006-11-17) 5 1.2.2 (2006-12-23) 6 - mindi-busybox version is now extended with the SVN revision (Bruno Cornec) 7 - Fix a known bug for busybox where -gc-section in makefile + static for link crea tes a buggy busybox with glibc (Bruno Cornec) 6 8 - Updated based on busybox 1.2.2 (Bruno Cornec) 7 9 - Handles modules back again (Bruno Cornec) 10 - Fix bug #88 around install conflicts (Bruno Cornec) 8 11 9 12 1.2.1 (2006-10-04) -
trunk/mindi-busybox/Rules.mak
r904 r1043 266 266 CFLAGS +=-DNDEBUG 267 267 CHECKED_LDFLAGS += $(call check_ld,$(LD),--sort-common,) 268 ifneq ($(strip $(CONFIG_STATIC)),y) 268 269 CHECKED_LDFLAGS += $(call check_ld,$(LD),--gc-sections,) 270 endif 269 271 endif 270 272 -
trunk/mindi-busybox/distributions/debian/control
r823 r1043 8 8 Package: mindi-busybox 9 9 Architecture: amd64 i386 ia64 10 Depends: binutils, bzip2, module-init-tools11 10 Description: creates a busybox version suited for mindi 12 11 Mindi is a script to create boot/root disks based on your system. It uses -
trunk/mindi-busybox/distributions/debian/rules
r823 r1043 9 9 PACKAGE_NAME = mindi-busybox 10 10 11 configure: 12 # Nothing to configure in this package. 11 # Don't set any compiler flags - busybox does that just fine 13 12 14 build: 15 # Nothing to build in this package. 13 configure: configure-stamp 14 15 configure-stamp: 16 dh_testdir 17 touch configure-stamp 18 19 # Build both architecture dependent and independent 20 build: build-stamp 21 22 build-stamp: configure-stamp 23 dh_testdir 24 25 # Compile the package. 26 mv .config .config.sav 27 $(MAKE) distclean 28 mv .config.sav .config 29 $(MAKE) oldconfig 30 $(MAKE) busybox 31 32 touch build-stamp 16 33 17 34 clean: 18 35 dh_testdir 19 36 dh_testroot 37 rm -f build-stamp configure-stamp 38 # Clean temporary document directory 39 rm -rf debian/doc-temp 40 # Clean up. 41 -mv .config .config.sav 42 -$(MAKE) distclean 43 -mv .config.sav .config 44 -rm -f busybox 45 20 46 dh_clean 21 47 22 install: 48 # Install architecture dependent and independent 49 install: build 23 50 dh_testdir 24 51 dh_testroot 25 52 dh_clean -k 26 53 dh_installdirs 27 # Build the installation tree:28 ( export RPMBUILDMINDI=true && export PREFIX=$(CURDIR)/debian/$(PACKAGE_NAME)/usr && export CONFDIR=$(CURDIR)/debian/$(PACKAGE_NAME)/etc && ./install.sh )29 54 30 # Build architecture-independent files here. 31 binary-indep: install 32 # We have nothing to do by default. 55 # Install the package files into build directory: 56 # - start with upstream make install 57 $(MAKE) install PREFIX=$(CURDIR)/debian/$(PACKAGE_NAME)/usr/lib/mindi/rootfs 58 # - copy doc 59 mkdir -p debian/doc-temp 60 cp -a ChangeLog INSTALL LICENSE AUTHORS README TODO changelog svn.log debian/doc-temp 33 61 34 # Build architecture-dependent files here. 35 binary-arch: install 62 dh_install -s 63 64 # Build architecture independant packages using the common target. 65 binary-indep: build install 66 # None 67 68 # Build architecture dependant packages using the common target. 69 binary-arch: build install 36 70 dh_testdir 37 71 dh_testroot 38 dh_installchangelogs ChangeLog39 72 dh_installdocs 40 dh_installexamples41 dh_link42 73 dh_strip 43 74 dh_compress … … 48 79 dh_builddeb 49 80 50 binary: binary- indep binary-arch81 binary: binary-arch binary-indep 51 82 .PHONY: build clean binary-indep binary-arch binary install configure -
trunk/mindi-busybox/distributions/gentoo/mindi-busybox.ebuild
r932 r1043 27 27 src_install() { 28 28 # bundle up the symlink files for use later 29 emake PREFIX="/usr/share/mindi/rootfs/bin" install || die 30 rm _install/bin/busybox 31 tar cf busybox-links.tar -C _install . || die 32 insinto /usr/share/mindi 33 doins busybox-links.tar || die 29 emake PREFIX="${D}/usr/share/mindi/rootfs" install || die 34 30 } 35 36 pkg_preinst() {37 mv "${D}"/usr/share/mindi/busybox-links.tar "${T}"/ || die38 }39 40 pkg_postinst() {41 cd "${T}" || die42 mkdir _install43 tar xf busybox-links.tar -C _install || die44 cp -vpPR _install/* /usr/share/mindi/rootfs/bin || die "copying links for ${x} failed"45 46 echo47 } -
trunk/mindi/ChangeLog
r903 r1043 2 2 3 3 MINDI CHANGES 4 5 1.2.1 (2006-12-23) 6 - mindi now supports a configuration file (Bruno Cornec) 7 - Fix again support for LABEL on swap partitions (Bruno Cornec) 8 - mindi now prints mindi-busybox version (Bruno Cornec) 9 - mindi now supports gzip compression format (#113) (Bruno Cornec) 10 - Inline code of some useless functions for readability (Bruno Cornec) 11 - Add support for nvidia and ahci drivers (Bruno Cornec) 12 - Remove wrong full path name for cut (Matija Nalis/Bruno Cornec) 13 - UUID support (Bruno Cornec) 14 - Cleaner messages generated on screen (with defaults) and in logs (Bruno Cornec) 15 - First use of a configuration file with mindi to permit variable to be overwritten (Bruno Cornec) 16 - All temporary files are now under MINDI_TMP, unique dir under /tmp by default and not removed when called by mondo (Bruno Cornec) 17 - All generated files are now under CACHE_LOC, /var/cache/mindi by default (Bruno Cornec) 18 - Fix bug #100 where the temporary dir could be removed and be /home (Matija Nalis/Bruno Cornec) 19 - Should now work correctly under x86_64 distributions (Bruno Cornec) 20 - Fix a blocking bug in mindi where a " was misplaced (Bruno Cornec) 21 - New MindiExit function called everywhere (Bruno Cornec) 22 - TAG is now per package (Bruno Cornec) 23 - Add CentOS build support (Andy Wright/Bruno Cornec) 24 - Removal of grep -w|-x during restore as not supported by busybox fixes bug #101 (Alfred Chua/Bruno Cornec) 25 - init now reports the mindi version when executed (Bruno Cornec) 4 26 5 27 1.2.0 (2006-10-04) -
trunk/mindi/distributions/debian/rules
r939 r1043 26 26 dh_installdirs 27 27 # Build the installation tree: 28 ( export RPMBUILDMINDI=true && export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) && export PREFIX=/usr && export CONFDIR=/etc && export MANDIR=$(PREFIX)/share/man && &&export LIBDIR=$(PREFIX)/lib && export DOCDIR=$(PREFIX)/share/doc && ./install.sh )28 ( export RPMBUILDMINDI=true && export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) && export PREFIX=/usr && export CONFDIR=/etc && export MANDIR=$(PREFIX)/share/man && export LIBDIR=$(PREFIX)/lib && export DOCDIR=$(PREFIX)/share/doc && ./install.sh ) 29 29 30 30 # Build architecture-independent files here. -
trunk/mindi/mindi
r979 r1043 93 93 TAPE_MODS="ht st osst ide-tape ide_tape" 94 94 SCSI_MODS="3w-xxxx 53c7,8xx a100u2w a320raid aacraid advansys aha152x aha1542 aha1740 aic79xx aic79xx_mod aic7xxx aic7xxx_mod aic7xxx_old AM53C974 atp870u BusLogic cciss cpqfc dmx3191d dpt_i2o dtc eata eata_dma eata_pio fdomain gdth g_NCR5380 i2o_block i2o_core ide-scsi ieee1394 imm in2000 initio ips iscsi isp megaraid mptbase mptscsih NCR53c406a ncr53c8xx nsp32 pas16 pci2000 pci2220i pcmcia ppa psi240i qla1280 qla2200 qla2300 qlogicfas qlogicfc qlogicisp raw1394 scsi_debug scsi_mod sd_mod seagate sg sim710 sr_mod sym53c416 sym53c8xx sym53c8xx_2 t128 tmscsim u14-34f ultrastor wd7000 vmhgfs" 95 IDE_MODS="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core libata edd paride ata_piix libata via82cxxx generic "95 IDE_MODS="ide ide-generic ide-detect ide-mod ide-disk ide-cd ide_cd ide-cs ide-core ide_core libata edd paride ata_piix libata via82cxxx generic nvidia ahci" 96 96 PCMCIA_MODS="pcmcia_core ds yenta_socket" 97 97 USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd usbkbd usbhid" 98 98 CDROM_MODS="$TAPE_MODS $FLOPPY_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_cp437 sg sr_mod zlib_inflate $USB_MODS $PCMCIA_MODS" 99 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet" 100 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 lvm-mod dm-mod jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd" 99 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 100 NET_MODS="sunrpc nfs nfs_acl lockd loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 vmxnet vmnet" 101 EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache" 101 102 102 103 BOOT_MEDIA_MESSAGE="$mindi_boot_msg" … … 139 140 echo -en "label memtest\n kernel memdisk\n append initrd=memtest.img\n\n" 140 141 fi 141 }142 143 144 AbortIfYourDistroIsAPieceOfStercus() {145 which which > /dev/null 2> /dev/null || Die "Please install 'which'."146 which strings > /dev/null 2> /dev/null || Die "Please install binutils and libbinutils; you have no 'strings' executable."147 which gawk > /dev/null 2> /dev/null || Die "Gawk is missing from your computer. Please install gawk. You may find the package on Debian's website. How did I know you're running Debian? Because only Debian would be stupid enough not to include gawk in your distribution."148 which gawk > /dev/null 2> /dev/null && AWK=`which gawk 2>/dev/null` || AWK="`which awk 2>/dev/null`"149 if which awk &> /dev/null ; then150 if ! which gawk &> /dev/null ; then151 LogIt "You have awk but not gawk.\nPlease note that mindi works fine with a _sane_ awk binary.\nIf your awk binary misbehaves then please contact your vendor\nor distribution's mailing list for technical support.\n"152 fi153 fi154 which mke2fs > /dev/null 2> /dev/null || Die "Please put mke2fs in system path"155 [ ! -e "$FDISK" ] && Die "Cannot find (s)fdisk"156 }157 158 159 AbortIfMkfsVfatMissing() {160 #if grep -F "vfat" /etc/fstab &> /dev/null ; then161 if ! which mkfs.vfat &> /dev/null ; then162 Die "mkfs.vfat missing from your filesystem - please install your dosfstools RPM or DEB package. Perhaps your PATH environmental variable is broken, too?"163 fi164 #fi165 142 } 166 143 … … 610 587 611 588 612 FindHomeOfMindiAndMondo() {613 [ "$MINDI_PREFIX" = "XXX" ] && Die "Mindi has not been installed correctly."614 echo "MINDI_LIB = $MINDI_LIB" >> $LOGFILE615 echo "MINDI_SBIN = $MINDI_SBIN" >> $LOGFILE616 [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly."617 echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE618 echo "MONDO_SHARE = $MONDO_SHARE" >> $LOGFILE619 }620 621 622 589 FindIsolinuxBinary() { 623 590 ISOLINUX=/usr/lib/isolinux.bin … … 642 609 else 643 610 LILO_EXE=`which false` 644 fi645 }646 647 648 FindELiloBinary() {649 if which elilo &> /dev/null ; then650 LILO_EXE=elilo651 else652 LILO_EXE=`which false`653 fi654 }655 656 657 FixPathIfBroken() {658 if [ -e "/sbin/mkfs" ] && ! which mkfs &> /dev/null ; then659 PATH=$PATH:/sbin:/usr/sbin660 export PATH661 echo "Your PATH did not include /sbin or /usr/sbin. I have fixed that, temporarily." >> $LOGFILE662 echo "However, you may wish to ask your vendor to provide a permanent fix..." >> $LOGFILE663 echo "You might like to call 'su -' instead of 'su', for example." >> $LOGFILE664 611 fi 665 612 } … … 1010 957 fi 1011 958 1012 link=`readlink $file`959 link=`readlink -f $file` 1013 960 d=`dirname $file` 1014 961 if [ ! -e "$link" -a ! -e "$d/$link" ]; then … … 1076 1023 [ "$INTERNAL_TAPE_BLOCK_SIZE" ] && echo "internal-tape-block-size $INTERNAL_TAPE_BLOCK_SIZE" >> $outfile 1077 1024 use_lzo=$USE_LZO; [ "$use_lzo" = "" ] && use_lzo="no" 1025 use_gzip=$USE_GZIP; [ "$use_gzip" = "" ] && use_gzip="no" 1078 1026 use_comp=$USE_COMP; [ "$use_comp" = "" ] && use_comp="yes" 1079 1027 use_star=$USE_STAR; [ "$use_star" = "" ] && use_star="no" 1080 1028 echo "use-lzo $use_lzo" >> $outfile 1029 echo "use-gzip $use_gzip" >> $outfile 1081 1030 echo "use-star $use_star" >> $outfile 1082 1031 echo "use-comp $use_comp" >> $outfile … … 1239 1188 if [ "`echo "$current_partition" | /bin/grep -i "LABEL="`" != "" ]; then 1240 1189 str_to_find_fmt_with=$current_partition 1241 redhat_label=`echo "$current_partition" | /bin/cut -d'=' -f2`1190 redhat_label=`echo "$current_partition" | cut -d'=' -f2` 1242 1191 actual_dev="" 1243 1192 … … 1249 1198 # 2nd try : blkid, the good way for all LABEL except swap 1250 1199 if [ "x$actual_dev" = "x" -a -x "/sbin/blkid" ]; then 1251 actual_dev=`/sbin/blkid | /bin/grep "$redhat_label" | grep LABEL= | /bin/cut -d':' -f1`1200 actual_dev=`/sbin/blkid | /bin/grep "$redhat_label" | grep LABEL= | cut -d':' -f1` 1252 1201 # For LVM FS it will give a /dev/dm-# which should then be converted 1253 1202 if [ $LVM = "v2" ] && [ "`echo $actual_dev | grep '/dev/dm'`" ]; then … … 1268 1217 # For LVM gives a /dev/mapper entry 1269 1218 if [ "x$actual_dev" = "x" ]; then 1270 actual_dev=`/bin/mount -l | /bin/grep "\[$redhat_label\]" | /bin/cut -d' ' -f1`1219 actual_dev=`/bin/mount -l | /bin/grep "\[$redhat_label\]" | cut -d' ' -f1` 1271 1220 fi 1272 1221 … … 1292 1241 do 1293 1242 # Location of the swap label for kernel 2.6 1294 try_dev_label=`dd bs=1 count=16 skip=1052 if=$try_dev &> /dev/null`1243 try_dev_label=`dd bs=1 count=16 skip=1052 if=$try_dev 2> /dev/null` 1295 1244 if [ "x$try_dev_label" = "x$redhat_label" ]; then 1296 1245 actual_dev=$try_dev … … 1298 1247 done 1299 1248 fi 1300 fi 1301 1249 1250 # Check if one of all those tries has known success 1251 if [ "x$actual_dev" != "x" ]; then 1252 current_partition=$actual_dev 1253 else 1254 Die "Your system uses a LABEL partition ($current_partition), but you lack the tool to support it.\nPlease replace labels with their correct devices in /etc/fstab or install findfs|blkid|vol_id" 1255 fi 1302 1256 # This part tries to retrieve the correct device from a UUID line in /etc/fstab 1303 1257 # current_partition contains only first column of /etc/fstab 1304 if [ "`echo "$current_partition" | /bin/grep -i "UUID="`" != "" ]; then1258 elif [ "`echo "$current_partition" | /bin/grep -i "UUID="`" != "" ]; then 1305 1259 str_to_find_fmt_with=$current_partition 1306 uuid=`echo "$current_partition" | /bin/cut -d'=' -f2`1260 uuid=`echo "$current_partition" | cut -d'=' -f2` 1307 1261 actual_dev="" 1308 1262 … … 1314 1268 # 2nd try : blkid, the good way for all LABEL except swap 1315 1269 if [ "x$actual_dev" = "x" -a -x "/sbin/blkid" ]; then 1316 actual_dev=`/sbin/blkid | /bin/grep "$uuid" | grep UUID= | /bin/cut -d':' -f1`1270 actual_dev=`/sbin/blkid | /bin/grep "$uuid" | grep UUID= | cut -d':' -f1` 1317 1271 # For LVM FS it will give a /dev/dm-# which should then be converted 1318 1272 if [ $LVM = "v2" ] && [ "`echo $actual_dev | grep '/dev/dm'`" ]; then … … 1590 1544 old_pwd=`pwd` 1591 1545 cd $MINDI_TMP/iso 1592 mkdir -p $MONDO_ROOT/iso/isolinux1593 1546 echo "mindi_lib = $MINDI_LIB" >> $LOGFILE 1594 1547 for i in memdisk memtest.bin memtest.img ; do … … 1603 1556 done 1604 1557 MakeSyslinuxMessageFile $MINDI_TMP/iso/isolinux/message.txt 1605 cp $kernelpath $MINDI_TMP/iso/isolinux/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/isolinux/vmlinuz). Did you run out of disk space?" 1558 cp $kernelpath $MINDI_TMP/iso/isolinux/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MINDI_TMP/iso/isolinux/vmlinuz). Did you run out of disk space?" 1559 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?" 1606 1560 cp $MINDI_TMP/mindi.rdz $MINDI_TMP/iso/isolinux/initrd.img 2>> $LOGFILE 1607 cp $MINDI_TMP/mindi.rdz $ CACHE_LOC/initrd.img 2>> $LOGFILE1561 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2>> $LOGFILE 1608 1562 [ -e "$iso_cfg_file" ] || Die "FIXME - unable to find $iso_cfg_file - this should never occur" 1609 1563 cd $MINDI_TMP/iso/isolinux … … 2643 2597 echo -en "$LAST_FILELIST_NUMBER" > $mountpoint/tmp/LAST-FILELIST-NUMBER 2644 2598 [ "$USE_LZO" = "yes" ] && echo -en "Pras 4 Pres 2004" >> $mountpoint/tmp/USING-LZO 2599 [ "$USE_GZIP" = "yes" ] && echo -en "YES" >> $mountpoint/tmp/USING-GZIP 2645 2600 [ "$USE_COMP" = "yes" ] && echo -en "Compression, yep" >> $mountpoint/tmp/USING-COMP 2646 2601 [ "$USE_STAR" = "yes" ] && echo -en "Using star. Hooray." >> $mountpoint/tmp/USING-STAR … … 2712 2667 2713 2668 ############################################################################## 2714 #----------------------------------- main -----------------------------------#2669 #----------------------------------- Main -----------------------------------# 2715 2670 ############################################################################## 2716 2671 … … 2737 2692 [ -e "/sbin/mkdosfs" ] && [ ! -e "/sbin/mkfs.vfat" ] && ln -sf /sbin/mkdosfs /sbin/mkfs.vfat 2738 2693 2739 FindHomeOfMindiAndMondo 2694 # Log some capital variables 2695 [ "$MINDI_PREFIX" = "XXX" ] && Die "Mindi has not been installed correctly." 2696 echo "MINDI_LIB = $MINDI_LIB" >> $LOGFILE 2697 echo "MINDI_SBIN = $MINDI_SBIN" >> $LOGFILE 2698 [ "$MINDI_CONF" = "YYY" ] && Die "Mindi has not been installed correctly." 2699 echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE 2700 echo "MONDO_SHARE = $MONDO_SHARE" >> $LOGFILE 2701 2740 2702 trap AbortHere SIGTERM SIGHUP SIGQUIT SIGKILL SIGABRT SIGINT 2741 AbortIfYourDistroIsAPieceOfStercus 2703 2704 # Sanity checks 2705 which which > /dev/null 2> /dev/null || Die "Please install 'which'." 2706 which strings > /dev/null 2> /dev/null || Die "Please install binutils and libbinutils; you have no 'strings' executable." 2707 which gawk > /dev/null 2> /dev/null || Die "Gawk is missing from your computer. Please install gawk. You may find the package on Debian's website. How did I know you're running Debian? Because only Debian would be stupid enough not to include gawk in your distribution." 2708 which gawk > /dev/null 2> /dev/null && AWK=`which gawk 2>/dev/null` || AWK="`which awk 2>/dev/null`" 2709 if which awk &> /dev/null ; then 2710 if ! which gawk &> /dev/null ; then 2711 LogIt "You have awk but not gawk.\nPlease note that mindi works fine with a _sane_ awk binary.\nIf your awk binary misbehaves then please contact your vendor\nor distribution's mailing list for technical support.\n" 2712 fi 2713 fi 2714 which mke2fs > /dev/null 2> /dev/null || Die "Please put mke2fs in system path" 2715 [ ! -e "$FDISK" ] && Die "Cannot find (s)fdisk" 2716 2742 2717 [ "`uname -r | grep "2.4.[0-6]" | grep -v "2.4.[0-9][0-9]"`" != "" ] && echo "WARNING! Your kernel may have buggy loopfs code. Consider upgrading to 2.4.7" 2743 2718 # If we have a 2.6 kernel, the system uses module-init-tools which means that we … … 2755 2730 [ ! -e "/etc/modules.conf" ] && Die "/etc/modules.conf not found; you may have to create a softlink from /etc/conf.modules to /etc/modules.conf; of course, all good distros use modules.conf anyway..." 2756 2731 fi 2757 FixPathIfBroken 2732 2733 # Update the PATH variable if incomplete 2734 if [ -e "/sbin/mkfs" ] && ! which mkfs &> /dev/null ; then 2735 PATH=$PATH:/sbin:/usr/sbin 2736 export PATH 2737 echo "Your PATH did not include /sbin or /usr/sbin. I have fixed that, temporarily." >> $LOGFILE 2738 echo "However, you may wish to ask your vendor to provide a permanent fix..." >> $LOGFILE 2739 echo " Or you might like to call 'su -' instead of 'su', for example." >> $LOGFILE 2740 fi 2741 2758 2742 [ -f "$MINDI_LIB/vmlinuz" ] && FAILSAFE_KVER=`strings $MINDI_LIB/vmlinuz 2> /dev/null | grep -E "2\.[46]" | cut -d' ' -f1` 2759 AbortIfMkfsVfatMissing 2743 2744 if ! which mkfs.vfat &> /dev/null ; then 2745 Die "mkfs.vfat missing from your filesystem - please install your dosfstools RPM or DEB package. Perhaps your PATH environmental variable is broken, too?" 2746 fi 2747 2760 2748 ### BERLIOS 2761 2749 ### Fix as it's not mandatory on ia64 2762 2750 if [ "$ARCH" = "ia64" ] ; then 2763 FindELiloBinary 2751 if which elilo &> /dev/null ; then 2752 LILO_EXE=elilo 2753 else 2754 LILO_EXE=`which false` 2755 fi 2764 2756 else 2765 2757 FindIsolinuxBinary … … 2774 2766 MAX_COMPRESSED_SIZE=1300 2775 2767 kernelpath="" 2776 MONDO_ROOT= $TMPMONDO/mondo-root2768 MONDO_ROOT=/var/cache/mondo 2777 2769 mkdir -p $MONDO_ROOT 2778 2770 … … 2788 2780 LVM="false" 2789 2781 fi 2782 echo "LVM set to $LVM" >> $LOGFILE 2783 echo "----------" >> $LOGFILE 2784 echo "df result:" >> $LOGFILE 2785 echo "----------" >> $LOGFILE 2786 df -T >> $LOGFILE 2787 echo "-------------" >> $LOGFILE 2788 echo "lsmod result:" >> $LOGFILE 2789 echo "-------------" >> $LOGFILE 2790 lsmod >> $LOGFILE 2791 echo "-------------" >> $LOGFILE 2790 2792 2791 2793 if [ "$#" -ge "2" ] ; then … … 2824 2826 # Change MINDI_TMP for the one provided by mondo 2825 2827 # So that it can get back the built files 2826 rm -rf $MINDI_TMP 2828 mv $MINDI_TMP/* $MINDI_TMP/.??* $MONDO_TMP 2> /dev/null 2829 rmdir $MINDI_TMP 2827 2830 MINDI_TMP=$MONDO_TMP 2828 2831 mkdir -p $MINDI_TMP 2832 # This is the scratch dir in mondo 2829 2833 CACHE_LOC=$3 2830 2834 if [ _"$CACHE_LOC" != _"" ]; then … … 2873 2877 INTERNAL_TAPE_BLOCK_SIZE="${18}" 2874 2878 DIFFERENTIAL="${19}" 2875 NOT_BOOT="${20}" 2879 USE_GZIP="${20}" 2880 NOT_BOOT="${21}" 2876 2881 [ "$USE_COMP" = "" ] && USE_COMP=yes 2882 [ "$USE_GZIP" = "" ] && USE_GZIP=no 2877 2883 [ "$NOT_BOOT" = "" ] && NOT_BOOT=no 2878 2884 [ "$TAPEDEV" ] && LogIt "This is a tape-based backup. Fine." … … 2917 2923 else 2918 2924 echo "You are using Mindi-Linux v$MINDI_VERSION to make boot+data disks" >> /var/log/mondo-archive.log 2925 fi 2926 if [ -f $MINDI_LIB/rootfs/bin/busybox ]; then 2927 LogIt "Mindi-`$MINDI_LIB/rootfs/bin/busybox 2>&1 | head -1`" 2928 else 2929 LogIt "Unable to find mindi-busybox, please install it" 2930 MindiExit -1 2919 2931 fi 2920 2932 -
trunk/mindi/rootfs/README
r295 r1043 1 # $Id$ 2 # 1 3 README MINDI LINUX / MONDO RESCUE February 7th, 2002 2 4 … … 24 26 accordingly. 25 27 26 Before you e-mail me, please read the FAQ, the manual, the log and preferably28 Before you e-mail us, please read the FAQ, the manual, the log and preferably 27 29 the mailing list. 28 30 29 - Hugo Rabson <hugo@firstlinux.net>31 - Dev Team 30 32 31 33 -
trunk/mondo-doc/distributions/debian/rules
r764 r1043 64 64 dh_testdir 65 65 dh_testroot 66 dh_installchangelogs ChangeLog67 66 dh_installdocs 68 67 dh_installman -
trunk/mondo-doc/mondoarchive.8
r956 r1043 256 256 257 257 .TP 258 .BI "-G " 259 Use gzip, the standard and quicker Linux compression engine, instead of bzip2. 260 261 .TP 258 262 .BI "-R " 259 263 EXPERIMENTAL. Do not use in mission-critical environments. Star is an alternative to afio. Mondo now supports POSIX ACLs and extended attributes, so -R is essentially redundant for now. -
trunk/mondo/ChangeLog
r923 r1043 7 7 - asprintf used instead of malloc_string + sprintf/strcpy/strcat without verifications. Optimisations on memory consumption (allocate only size needed + remove memory leaks) (Bruno Cornec) 8 8 - Internationalization (A huge thank to rene-marc dolhen <rmd_at_mecreant.org> who achieved that big task) 9 10 2.2.1 (2006-12-23) 11 - Fix a memory allocation bug in gen_aux_list (Klaus Ade Johnstad/Andree Leidenfrost) 12 - fedora core 6 and suse 10.2 support added in build process (Bruno Cornec) 13 - Fix a bug where grub.conf was a symlink (Bruno Cornec) 14 - mondo now supports gzip compression format (-G option) (#113) (Bruno Cornec) 15 - ACL and XATTR are now NOT backed up anymore by default. Should increase mondoarchive speed. To handle them as before, please use the -z option. Fix Bug #63 (Bruno Cornec) 16 - Fix a bug in libmondo-fifo.c where potentially no buffer content could let mondo runni ng forever in case of an exception (Bruno Cornec) 17 - Fix a bug where ps (busybox) and ps (system) do not give PID in the same column (Bruno Cornec) 18 - TAG is now per package (Bruno Cornec) 19 - Add CentOS build support (Andy Wright/Bruno Cornec) 20 - Fix bug #89 (env var were queried too early, and not ncessarily in PXE mode) (Bruno Cornec) 21 - fix #66 (setfacl not existing => no error) (Bruno Cornec) 22 - Removal of grep -w|-x during restore as not supported by busybox fixes bug #101 (Alfred Chua/Bruno Cornec) 23 - Fix a bug with DVD+RW format, when mondo asks for retry without success indifinitely (Mariano Aliaga) 24 - Fix Bug #90 mondoarchive fails when using space in the prefix (Bruno Cornec) 25 - Fix Bug #87 LABEL= swap does not come online after mondorestore (Bruno Cornec) 26 - Source directory for mondo is now src (compatibility with trunk) (Bruno Cornec) 9 27 10 28 2.2.0 (2006-10-04) … … 26 44 - Fix for bug #21 prefix taken from PXE server first (Bruno Cornec) 27 45 - Fix for bug #24 ps options (Bruno Cornec) 28 >>>>>>> .merge-right.r88829 46 30 47 2.0.9 (2006-08-04) -
trunk/mondo/distributions/rpm/mondo.spec
r904 r1043 19 19 ExcludeArch: ppc 20 20 OBS 21 Requires: mindi >= 1.2. 0, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD21 Requires: mindi >= 1.2.1, bzip2 >= 0.9, afio, mkisofs, binutils, newt >= 0.50, DDD 22 22 %ifarch ia64 23 23 Requires: elilo, parted -
trunk/mondo/src/common/libmondo-archive.c
r962 r1043 546 546 char *command = NULL; 547 547 char *use_lzo_sz = NULL; 548 char *use_gzip_sz = NULL; 548 549 char *use_comp_sz = NULL; 549 550 char *use_star_sz = NULL; … … 607 608 } else { 608 609 mr_asprintf(&use_lzo_sz, "no"); 610 } 611 if (bkpinfo->use_gzip) { 612 mr_asprintf(&use_gzip_sz, "yes"); 613 } else { 614 mr_asprintf(&use_gzip_sz, "no"); 609 615 } 610 616 if (bkpinfo->use_star) { … … 861 867 "mindi --custom %s %s/images '%s' '%s' \ 862 868 '%s' %ld '%s' '%s' '%s' \ 863 '%s' %s %ld '%s' '%s' '%s' '%s' %ld %d %s", bkpinfo->tmpdir, // parameter #2869 '%s' %s %ld '%s' '%s' '%s' '%s' %ld %d '%s'", bkpinfo->tmpdir, // parameter #2 864 870 bkpinfo->scratchdir, // parameter #3 865 871 bkpinfo->kernel_path, // parameter #4 … … 879 885 bkpinfo->internal_tape_block_size, // parameter #18 (LONG) 880 886 bkpinfo->differential, // parameter #19 (INT) 887 use_gzip_sz, // parameter #20 (STRING) 881 888 tmp); 882 889 mr_free(tmp); … … 891 898 mr_free(devs_to_exclude); 892 899 mr_free(use_lilo_sz); 900 mr_free(use_gzip_sz); 893 901 894 902 log_msg(2, command); -
trunk/mondo/src/common/libmondo-filelist.c
r991 r1043 428 428 char *syscall; 429 429 char *file_to_analyze = NULL; 430 char *strtmp = NULL; 430 431 int i; 431 432 size_t n = 0; … … 452 453 log_msg(8, "Analyzing %s", file_to_analyze); 453 454 /* BERLIOS : to be checked */ 454 mr_asprintf(&syscall, "%s %s 2>> /dev/null", syscall_sprintf,mr_stresc(file_to_analyze, "`$\\\"", '\\')); 455 mr_asprintf(&strtmp, syscall_sprintf, mr_stresc(file_to_analyze, "`$\\\"", '\\')); 456 mr_asprintf(&syscall, "%s 2>> /dev/null", strtmp); 457 paranoid_free(strtmp); 455 458 call_exe_and_pipe_output_to_fd(syscall, pout); 456 459 mr_free(syscall); -
trunk/mondo/src/common/libmondo-files.c
r903 r1043 1205 1205 if (bkpinfo->use_lzo) { 1206 1206 scratchLL = (scratchLL * 2) / 3; 1207 } else if (bkpinfo->use_gzip) { 1208 scratchLL = (scratchLL * 2) / 3; 1207 1209 } else { 1208 1210 scratchLL = scratchLL / 2; -
trunk/mondo/src/common/libmondo-tools.c
r1000 r1043 431 431 mr_allocstr(bkpinfo->zip_exe, "lzop"); 432 432 mr_allocstr(bkpinfo->zip_suffix, "lzo"); 433 } else if (bkpinfo->use_gzip) { 434 strcpy(bkpinfo->zip_exe, "gzip"); 435 strcpy(bkpinfo->zip_suffix, "gz"); 436 } else if (bkpinfo->use_gzip) { 437 strcpy(bkpinfo->zip_exe, "gzip"); 438 strcpy(bkpinfo->zip_suffix, "gz"); 433 439 } else if (bkpinfo->compression_level != 0) { 434 440 mr_allocstr(bkpinfo->zip_exe, "bzip2"); … … 753 759 mr_free(bkpinfo->restore_path); 754 760 bkpinfo->use_lzo = FALSE; 761 bkpinfo->use_gzip = FALSE; 762 bkpinfo->do_not_compress_these[0] = '\0'; 755 763 bkpinfo->verify_data = FALSE; 756 764 bkpinfo->backup_data = FALSE; … … 909 917 } 910 918 retval += whine_if_not_found("bzip2"); 919 retval += whine_if_not_found("gzip"); 911 920 retval += whine_if_not_found("awk"); 912 921 retval += whine_if_not_found("md5sum"); -
trunk/mondo/src/common/libmondo-verify.c
r956 r1043 238 238 if (bkpinfo->use_lzo) { 239 239 mr_asprintf(&sz_exe, "lzop"); 240 else if (bkpinfo->use_gzip) { 241 strcpy(sz_exe, "gzip"); 242 } else if (bkpinfo->use_gzip) { 243 strcpy(sz_exe, "gzip"); 240 244 } else { 241 245 mr_asprintf(&sz_exe, "bzip2"); … … 409 413 mr_allocstr(bkpinfo->zip_suffix, "lzo"); 410 414 bkpinfo->use_lzo = TRUE; 415 bkpinfo->use_gzip = FALSE; 416 } 417 if (strstr(tarball_fname, ".gz") 418 && strcmp(bkpinfo->zip_suffix, "gz")) { 419 log_msg(2, "OK, I'm going to start using gzip."); 420 strcpy(bkpinfo->zip_exe, "gzip"); 421 strcpy(bkpinfo->zip_suffix, "gz"); 422 bkpinfo->use_lzo = FALSE; 423 bkpinfo->use_gzip = TRUE; 411 424 } 412 425 if (strstr(tarball_fname, ".bz2") … … 416 429 mr_allocstr(bkpinfo->zip_suffix, "bz2"); 417 430 bkpinfo->use_lzo = FALSE; 431 bkpinfo->use_gzip = FALSE; 418 432 } 419 433 unlink(outlog); -
trunk/mondo/src/common/mondostructures.h
r900 r1043 387 387 */ 388 388 bool use_lzo; 389 390 /** 391 * If TRUE, then use @c gzip to compress data. 392 * This is used mainly in estimates. The backup/restore may or may 393 * not work if you do not set this. You should also set @p zip_exe 394 * and @p zip_suffix. 395 */ 396 bool use_gzip; 397 398 /** 399 * A filename containing a list of extensions, one per line, to not 400 * compress. If this is set to "", afio will still exclude a set of well-known 401 * compressed files from compression, but biggiefiles that are compressed 402 * will be recompressed again. 403 */ 404 char do_not_compress_these[MAX_STR_LEN / 2]; 389 405 390 406 /** -
trunk/mondo/src/mondoarchive/mondo-cli.c
r956 r1043 799 799 } 800 800 801 if (flag_set['G']) { 802 bkpinfo->use_gzip = TRUE; 803 if (run_program_and_log_output("which gzip", FALSE)) { 804 retval++; 805 log_to_screen 806 ("Please install gzip. You can't use '-G' until you do.\n"); 807 } 808 } 809 801 810 if (!flag_set['o'] 802 811 && … … 893 902 while ((opt = 894 903 getopt(argc, argv, 895 "0123456789A:B:C:DE:F HI:J:K:LNOP:QRS:T:VWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z"))904 "0123456789A:B:C:DE:FGHI:J:K:LNOP:QRS:T:VWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z")) 896 905 != -1) { 897 906 if (opt == '?') { -
trunk/mondo/src/mondorestore/mondo-restore.c
r973 r1043 1002 1002 char *outfile_fname = NULL; 1003 1003 char *tmp = NULL; 1004 char *tmp0 = NULL; 1004 1005 char *tmp1 = NULL; 1005 1006 char *tmp2 = NULL; … … 1157 1158 for (sliceno = 1, finished = FALSE; !finished;) { 1158 1159 tmp = slice_fname(bigfileno, sliceno, ARCHIVES_PATH, ""); 1160 tmp0 = slice_fname(bigfileno, sliceno, ARCHIVES_PATH, "gz"); 1159 1161 tmp1 = slice_fname(bigfileno, sliceno, ARCHIVES_PATH, "lzo"); 1160 1162 tmp2 = slice_fname(bigfileno, sliceno, ARCHIVES_PATH, "bz2"); 1161 if (!does_file_exist(tmp) && !does_file_exist(tmp1) && 1163 if (!does_file_exist(tmp) && 1164 !does_file_exist(tmp0) && 1165 !does_file_exist(tmp1) && 1162 1166 !does_file_exist(tmp2)) { 1163 1167 log_msg(3, … … 1190 1194 if (does_file_exist(tmp1)) { 1191 1195 mr_asprintf(&bzip2_command, "lzop -dc %s 2>> %s",tmp1, MONDO_LOGFILE); 1196 } else if (does_file_exist(tmp0)) { 1197 mr_asprintf(&bzip2_command, "gzip -dc %s 2>> %s",tmp0, MONDO_LOGFILE); 1192 1198 } else if (does_file_exist(tmp2)) { 1193 1199 mr_asprintf(&bzip2_command, "bzip2 -dc %s 2>> %s",tmp2, MONDO_LOGFILE); … … 1616 1622 if (strstr(tarball_fname, ".bz2")) { 1617 1623 mr_asprintf(&executable, "bzip2"); 1624 } else if (strstr(tarball_fname, ".gz")) { 1625 strcpy(executable, "gzip"); 1626 } else if (strstr(tarball_fname, ".gz")) { 1627 strcpy(executable, "gzip"); 1618 1628 } else if (strstr(tarball_fname, ".lzo")) { 1619 1629 mr_asprintf(&executable, "lzop"); -
trunk/mondo/src/mondorestore/mondo-rstr-compare.c
r900 r1043 241 241 if (strstr(tarball_fname, ".bz2")) { 242 242 mr_asprintf(&compressor_exe, "bzip2"); 243 } else if (strstr(tarball_fname, ".gz")) { 244 strcpy(compressor_exe, "gzip"); 245 } else if (strstr(tarball_fname, ".gz")) { 246 strcpy(compressor_exe, "gzip"); 243 247 } else if (strstr(tarball_fname, ".lzo")) { 244 248 mr_asprintf(&compressor_exe, "lzop"); -
trunk/mondo/src/mondorestore/mondo-rstr-tools.c
r972 r1043 952 952 mr_allocstr(bkpinfo->zip_exe, "lzop"); 953 953 mr_allocstr(bkpinfo->zip_suffix, "lzo"); 954 bkpinfo->use_gzip = FALSE; 954 955 } else { 955 956 mr_free(value); 956 read_cfg_var(cfg_file, "use- comp", value);957 read_cfg_var(cfg_file, "use-gzip", value); 957 958 if (strstr(value, "yes")) { 958 959 bkpinfo->use_lzo = FALSE; 959 mr_allocstr(bkpinfo->zip_exe, "bzip2"); 960 mr_allocstr(bkpinfo->zip_suffix, "bz2"); 960 bkpinfo->use_gzip = TRUE; 961 mr_allocstr(bkpinfo->zip_exe, "gzip"); 962 mr_allocstr(bkpinfo->zip_suffix, "gz"); 961 963 } else { 962 // Just to be sure 963 bkpinfo->zip_exe = NULL; 964 bkpinfo->zip_suffix = NULL; 964 read_cfg_var(cfg_file, "use-comp", value); 965 if (strstr(value, "yes")) { 966 bkpinfo->use_lzo = FALSE; 967 bkpinfo->use_gzip = FALSE; 968 mr_allocstr(bkpinfo->zip_exe, "bzip2"); 969 mr_allocstr(bkpinfo->zip_suffix, "bz2"); 970 } else { 971 // Just to be sure 972 bkpinfo->zip_exe = NULL; 973 bkpinfo->zip_suffix = NULL; 974 } 965 975 } 966 976 } -
trunk/mondo/src/restore-scripts/mondo/hack-fstab
r588 r1043 1 1 #!/bin/sh 2 2 # 3 # $Id$ 3 4 # 4 #5 #6 #7 # 2003/08/048 # - added some logging9 #10 # mid-2002 --- created11 ################################################12 13 5 14 6 LogIt() { 15 7 echo "$1" >> /dev/stderr 16 8 } 17 18 19 9 20 10 … … 33 23 # echo "original_fstab_line = $original_fstab_line" >> /dev/stderr 34 24 if [ "`grep "LABEL=" $old_fstab`" != "" ] ; then 35 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then36 device="LABEL=$mountpoint"37 fi25 if [ "$format" = "ext2" ] || [ "$format" = "ext3" ] ; then 26 device="LABEL=$mountpoint" 27 fi 38 28 fi 39 29 … … 44 34 if [ "$original_fstab_line" != "" ] ; then 45 35 # echo $original_fstab_line | gawk '{i=index($0,$4); print substr($0,i);}' 46 echo "$original_fstab_line" | cut -d' ' -f4-19 | tr -s ' ' ' '36 echo "$original_fstab_line" | cut -d' ' -f4-19 | tr -s ' ' ' ' 47 37 else 48 echo -e "defaults 0 0"38 echo -e "defaults 0 0" 49 39 fi 50 40 } 51 52 41 53 42 -
trunk/mondo/src/restore-scripts/mondo/restore-bigfiles-from-iso
r588 r1043 63 63 if echo "$slicename" | grep "bz2" > /dev/null ; then 64 64 bzip2 -dc $slicename >> "$OUTFNAME" || Die "Failed to decompress slice $slicename" 65 elif echo "$slicename" | grep "gz" > /dev/null ; then 66 gzip -dc $slicename >> "$OUTFNAME" || Die "Failed to decompress slice $slicename" 65 67 elif echo "$slicename" | grep "lzo" > /dev/null ; then 66 68 lzop -dc $slicename >> "$OUTFNAME" || Die "Failed to decompress slice $slicename" -
trunk/mondo/src/restore-scripts/mondo/stabgrub-me
r839 r1043 32 32 LogIt "No need for fstab search." 2 33 33 # fstab_list=/mnt/RESTORING/etc/fstab 34 old_fstab=/mnt/RESTORING/etc/fstab35 old_grubconf=/mnt/RESTORING/etc/grub.conf34 old_fstab=/mnt/RESTORING/etc/fstab 35 old_grubconf=/mnt/RESTORING/etc/grub.conf 36 36 # For some distros, e.g. Debian, /etc/grub.conf is a symbolic link 37 # which we need to resolve and prepend with /mnt/RESTORING because38 # we run this outside the chroot.39 if [ -L "$old_grubconf" ] ; then40 old_grubconf=/mnt/RESTORING`readlink "$old_grubconf"`41 fi42 return 037 # which we need to resolve and prepend with /mnt/RESTORING because 38 # we run this outside the chroot. 39 if [ -L "$old_grubconf" ] ; then 40 old_grubconf=/mnt/RESTORING/etc/`readlink "$old_grubconf"` 41 fi 42 return 0 43 43 elif [ -f "/mnt/cdrom/archives/CUCKOO" ] ; then 44 44 LogIt "Because I'm cuckoo, I'll stop searching." 2 -
trunk/tools/DISTROS
r839 r1043 7 7 fedora_4 8 8 fedora_5 9 fedora_6 9 10 rhel_3 10 11 rhel_4 11 12 suse_10.0 12 13 suse_10.1 14 suse_10.2 13 15 sles_9 14 16 sles_10 … … 16 18 gentoo_1.6 17 19 slackware_10.2 20 slackware_11.0 21 freebsd_5.5 -
trunk/tools/build2pkg
r932 r1043 11 11 dname=`dirname $0` 12 12 prem=`echo $dname |cut -c1` 13 if [ ${prem} =="/" ]; then13 if [ _${prem} = _"/" ]; then 14 14 export TOOLHOME=$dname 15 15 else … … 115 115 status=-1 116 116 fi 117 export pkg="$pkg $p-${PVER}.ebuild" 117 118 elif [ _"$dtype" = _"deb" ]; then 118 119 cd $TOPBUILDDIR … … 122 123 ln -s distributions/${ddir}-$dver debian 123 124 dpkg-buildpackage -us -uc -rfakeroot 125 export pkg="$pkg $p-${PVER}.deb" 124 126 # Et voila ! 127 elif [ _"$dtype" = _"port" ]; then 128 cd $TOPBUILDDIR 129 tar xfz $src 130 cd ${p}-${PVER} 131 mv distributions/${ddir}-$dver/* $TOPBUILDDIR 132 cd .. 133 rm -rf ${p}-${PVER} 134 make DISTDIR=$TOPBUILDDIR 135 elif [ _"$dfam" = _"slackware" ]; then 136 mkdir -p $TOPBUILDDIR/build-${p}/install 137 cd $TOPBUILDDIR 138 tar xfz $src 139 cd ${p}-${PVER} 140 mv distributions/${ddir}-$dver/slack-* $TOPBUILDDIR/build-${p}/install 141 if [ -e distributions/${ddir}-$dver/doinst.sh ]; then 142 mv distributions/${ddir}-$dver/doinst.sh $TOPBUILDDIR/build-${p}/install 143 fi 144 if [ _"$p" = _"mindi-busybox" ]; then 145 make oldconfig 146 make busybox 147 DESTDIR=$TOPBUILDDIR/build-${p}/usr/lib/mindi/rootfs 148 make PREFIX=$DESTDIR install 149 elif [ _"$p" = _"mindi" ]; then 150 export DONT_RELINK=1 151 export HEAD=$TOPBUILDDIR/build-${p} 152 export PREFIX=/usr 153 export CONFDIR=/etc 154 export MANDIR=/usr/man 155 export DOCDIR=/usr/doc 156 export LIBDIR=/usr/lib 157 export RPMBUILDMINDI="true" 158 ./install.sh 159 elif [ _"$p" = _"mondo" ]; then 160 ./configure --prefix=/usr 161 make VERSION=$PVER 162 make DESTDIR=$TOPBUILDDIR/build-${p} install 163 elif [ _"$p" = _"mondo-doc" ]; then 164 make -f Makefile.man VERSION=$PVER 165 make -f Makefile.howto VERSION=$PVER 166 make -f Makefile.man install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER} 167 make -f Makefile.howto install INSTALLDIR=$TOPBUILDDIR/build-${p}/usr/doc/$p-${PVER} 168 else 169 echo "Package $p not configured for $dfam" 170 fi 171 cd $TOPBUILDDIR/build-${p} 172 ar=`arch` 173 pkg1=$p-${PVER}-${ar}-${TAG}mr.tgz 174 echo "Running sudo /sbin/makepkg -p -l y -c y $pkg1" 175 sudo /sbin/makepkg -p -l y -c y $pkg1 176 export pkg="$pkg $pkg1" 125 177 else 126 178 echo "Unknown" -
trunk/tools/build2qemu
r932 r1043 6 6 # 7 7 8 #if [ _"$1" = =_"" ]; then8 #if [ _"$1" = _"" ]; then 9 9 #echo "Syntax: build2qemu [version-tag [vm1]..|vmx]] )" 10 10 #exit -1 11 11 #fi 12 12 13 # Syntax: build2qemu [version-tag [ vm1]..|vmx]]13 # Syntax: build2qemu [version-tag [--pkg "pkg1...pkgn"] [vm1]..|vmx]] 14 14 15 15 ( 16 16 dname=`dirname $0` 17 17 prem=`echo $dname |cut -c1` 18 if [ ${prem} =="/" ]; then18 if [ _${prem} = _"/" ]; then 19 19 export TOOLHOME=$dname 20 20 else … … 36 36 echo "Working on ${VER}-$TAG" 37 37 38 if [ _"$1" == _"" ]; then 38 if [ _"$1" = _"--pkg" ]; then 39 shift 40 c=$1 41 shift 42 fi 43 44 if [ _"$1" = _"" ]; then 39 45 export VMS=`cat ${TOOLHOME}/DISTROS` 40 46 single=0 … … 52 58 export TOOLHOME=$TOOLHOME 53 59 54 $TOOLHOME/build2pkg $LAST < /dev/null55 $TOOLHOME/pkg2ftp $LAST 60 $TOOLHOME/build2pkg $LAST $c < /dev/null 61 $TOOLHOME/pkg2ftp $LAST $c 56 62 EOF 57 63 chmod 755 $MONDOTMP/mkmondo … … 68 74 69 75 for m in $VMS; do 76 echo "Working on $m" 70 77 vmp=0 71 78 if [ ! -f /users/qemu/$m.qemu ]; then … … 86 93 scp -P $sp $MONDOTMP/mkmondo.tar.gz ~/.rpmmacros ~/.rpmrc bruno@localhost: 87 94 rdate=`date "+%m%d%H%M"` 88 ssh - p $sp root@localhost "date $rdate"89 ssh - p $sp bruno@localhost "cd / ; rm -rf ~bruno/mondo ~bruno/RPMS/BUILD/* ~bruno/RPMS/tmp/* /tmp/* ; tar xfz ~bruno/mkmondo.tar.gz ; $MONDOTMP/mkmondo " | tee $MONDOTMP/mkvm.log95 ssh -q -p $sp root@localhost "date $rdate" 96 ssh -q -p $sp bruno@localhost "cd / ; rm -rf ~bruno/mondo ~bruno/RPMS/BUILD/* ~bruno/RPMS/tmp/* /tmp/* ; tar xfz ~bruno/mkmondo.tar.gz ; $MONDOTMP/mkmondo " | tee $MONDOTMP/mkvm.log 90 97 if [ $vmp -eq 1 ]; then 91 ssh - p $sp root@localhost "halt -p"98 ssh -q -p $sp root@localhost "halt -p" 92 99 sleep 300 93 100 proces=`ps auxww | grep qemu | grep -v grep | grep /users/qemu/$m.qemu | awk '{print $2}'` -
trunk/tools/distro-env
r932 r1043 39 39 export ddir="sles" 40 40 export dver=`head -1 /etc/SuSE-release | awk '{print $5}'` 41 elif grep -q openSUSE /etc/SuSE-release ; then 42 export ddir="suse" 43 export dver=`head -1 /etc/SuSE-release | awk '{print $2}'` 41 44 else 42 45 export ddir="suse" 43 46 export dver=`head -1 /etc/SuSE-release | awk '{print $3}'` 44 47 fi 48 elif [ -e /etc/slackware-version ]; then 49 export ddir="slackware" 50 export dver=`awk '{print $2}' /etc/slackware-version | cut -d. -f1-2` 45 51 elif [ -e /etc/gentoo-release ]; then 46 52 export ddir="gentoo" … … 57 63 if [ $dver = "testing/unstable" ]; then 58 64 export dver = "sid" 65 fi 66 elif [ -e /etc/motd ]; then 67 head -1 /etc/motd | grep -q FreeBSD 68 if [ $? -eq 0 ]; then 69 export ddir="freebsd" 70 export dver=`head -1 /etc/motd | awk '{print $2}' /etc/motd | cut -d- -f1` 71 else 72 export ddir="unknown" 73 export dver="" 59 74 fi 60 75 else … … 77 92 suf=".${ddir}${dver1}" 78 93 elif [ $ddir = "slackware" ]; then 79 dfam="slack "94 dfam="slackware" 80 95 dtype="tgz" 81 96 suf=".${dfam}${dver}" … … 106 121 dtype="rpm" 107 122 suf=".`echo $dver | sed 's/\.//'`mdv" 123 elif [ $ddir = "freebsd" ]; then 124 dfam="freebsd" 125 dtype="port" 126 suf=".`echo $dver | sed 's/\.//'`fbsd" 108 127 else 109 128 dfam="unknown" … … 124 143 125 144 if [ _"$dtype" = _"rpm" ]; then 126 export TOPBUILDDIR=`rpmquery - E'%{_topdir}' 2> /dev/null`145 export TOPBUILDDIR=`rpmquery --eval '%{_topdir}' 2> /dev/null` 127 146 export ARCH=`rpm --showrc | egrep "^build arch" | awk '{print $4}'` 128 147 mkdir -p ${TOPBUILDDIR}/{RPMS,SRPMS,SPECS,SOURCES,BUILD} … … 135 154 elif [ _"$dtype" = _"deb" ]; then 136 155 mkdir -p ${TOPBUILDDIR} 156 elif [ _"$dtype" = _"port" ]; then 157 mkdir -p ${TOPBUILDDIR} 158 elif [ _"$dfam" = _"slackware" ]; then 159 mkdir -p ${TOPBUILDDIR}/install 137 160 elif [ _"$dtype" = _"ebuild" ]; then 138 161 mkdir -p ${TOPBUILDDIR}/portage -
trunk/tools/file2ftp
r932 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else -
trunk/tools/livwww
r932 r1043 33 33 dname=`dirname $0` 34 34 prem=`echo $dname |cut -c1` 35 if [ ${prem} = ="/" ]; then35 if [ ${prem} = "/" ]; then 36 36 export TOOLHOME=$dname 37 37 else … … 91 91 $TOOLHOME/mknewshtml.pl $LOCALDIR 92 92 93 if [ _"$1" = =_"" ]; then93 if [ _"$1" = _"" ]; then 94 94 exit 0 95 95 else 96 if [ _"$1" = =_"test" ]; then96 if [ _"$1" = _"test" ]; then 97 97 DESTDIR=$TESTDIR 98 98 else … … 104 104 scp /tmp/mondo-www.tgz ${DESTUSER}@${DESTMACH}:/tmp 105 105 rm -f /tmp/mondo-www.tgz 106 ssh ${DESTUSER}@${DESTMACH} "rm -rf ${DESTDIR} ; mkdir ${DESTDIR} ; cd ${DESTDIR} ; tar xfz /tmp/mondo-www.tgz"106 ssh -q ${DESTUSER}@${DESTMACH} "rm -rf ${DESTDIR} ; mkdir ${DESTDIR} ; cd ${DESTDIR} ; tar xfz /tmp/mondo-www.tgz" -
trunk/tools/mkannounce
r900 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else … … 36 36 MondoRescue $VER is now available</p> 37 37 38 <p>I'm happy to announce the availability of a newest version of mondo escue $VER. Enjoy it as usual!</p>38 <p>I'm happy to announce the availability of a newest version of mondorescue $VER. Enjoy it as usual!</p> 39 39 <p> 40 40 Now available at <a href="ftp://ftp.mondorescue.org/">ftp://ftp.mondorescue.org/ … … 43 43 <p> 44 44 EOF 45 ssh ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp45 ssh -q ${ACCOUNT} "cd $DSTDIR ; find . -name 'm[oi]nd[io]-[0-9]$SEARCH*'" | grep -v 'src.rpm' >> $MONDOTMP/announce.tmp 46 46 cat >> $MONDOTMP/announce.tmp << EOF 47 47 </p> … … 57 57 $TOOLHOME/mkchangelog.pl announce mindi $MONDOTMP/mindi.ann 58 58 $TOOLHOME/mkchangelog.pl announce mondo $MONDOTMP/mondo.ann 59 $TOOLHOME/mkchangelog.pl announce mindi-busybox $MONDOTMP/mindi-busybox.ann 59 60 echo "<p>" >> $MONDOTMP/announce.tmp 60 61 sed 's/$/<br>/' $MONDOTMP/mindi.ann >> $MONDOTMP/announce.tmp 61 62 echo "</p><p>" >> $MONDOTMP/announce.tmp 62 63 sed 's/$/<br>/' $MONDOTMP/mondo.ann >> $MONDOTMP/announce.tmp 64 echo "</p><p>" >> $MONDOTMP/announce.tmp 65 sed 's/$/<br>/' $MONDOTMP/mindi-busybox.ann >> $MONDOTMP/announce.tmp 63 66 echo "</p>" >> $MONDOTMP/announce.tmp 64 67 rm -f $MONDOTMP/mindi.ann $MONDOTMP/mondo.ann … … 85 88 cat $MONDOTMP/announce.hdr $MONDOTMP/announce.tmp $MONDOTMP/announce.ftr | w3m -dump -T text/html > $MONDOTMP/mondo.ann.txt 86 89 export EMAIL="bruno@mondorescue.org" 87 cat $MONDOTMP/mondo.ann.txt | mutt -s " `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de90 cat $MONDOTMP/mondo.ann.txt | mutt -s "ANNOUNCE: `head -1 $MONDOTMP/mondo.ann.txt`" mondo-devel@lists.sourceforge.net -c mondorescue-announce@lists.berlios.de 88 91 rm -rf $MONDOTMP -
trunk/tools/mknewtag
r932 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else -
trunk/tools/mknewversion
r932 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else … … 37 37 fi 38 38 39 svn copy $SVN_M/branches/stable $SVN_M/branches/${VER} 39 echo "Copying the stable version to ${VER}" 40 svn copy $SVN_M/branches/stable $SVN_M/branches/${VER} -m "Creation of mondo ${VER} from stable" 40 41 cd $TOOLHOME/../.. 41 42 svn co $SVN_M/branches/${VER} ${VER} … … 53 54 echo "$v" > $p/VERSION 54 55 done 55 svn ci -m " Creation of mondo ${VER}-$TAG"56 svn ci -m "VERSION and TAG update" 56 57 svn up -
trunk/tools/mkqemu
r904 r1043 6 6 # 7 7 8 if [ _"$1" = =_"" ]; then8 if [ _"$1" = _"" ]; then 9 9 echo "Syntax: qemu vm" 10 10 exit -1 … … 20 20 21 21 ARCH=`/bin/arch` 22 if [ $ARCH = ="x86_64" ]; then22 if [ $ARCH = "x86_64" ]; then 23 23 qemucmd32=/usr//bin/qemu-system-i386 24 24 qemucmd64=/usr//bin/qemu -
trunk/tools/pkg2fc
r932 r1043 9 9 dname=`dirname $0` 10 10 prem=`echo $dname |cut -c1` 11 if [ ${prem} =="/" ]; then11 if [ _${prem} = _"/" ]; then 12 12 export TOOLHOME=$dname 13 13 else … … 78 78 scp -p /tmp/mkmondo ${ACCOUNT}: 79 79 echo "Packages rebuild on ${DSTNODE}" 80 ssh ${ACCOUNT} ${DSTNODE} "./mkmondo"80 ssh -q ${ACCOUNT} ${DSTNODE} "./mkmondo" 81 81 ) 2>&1 | tee /tmp/pk2mdv.log -
trunk/tools/pkg2ftp
r932 r1043 10 10 dname=`dirname $0` 11 11 prem=`echo $dname |cut -c1` 12 if [ ${prem} =="/" ]; then12 if [ _${prem} = _"/" ]; then 13 13 export TOOLHOME=$dname 14 14 else … … 52 52 src=${TOPDIR}/${VER}-$TAG/$p-[1-9st]*.tar.gz 53 53 pv=`basename $src .tar.gz` 54 tag=`echo $pv | sed "s/-\([0-9]*.*\)/\2/"` 54 tar -xz -C $MONDOTMP -f $src $pv/TAG 55 tag=`cat $MONDOTMP/$pv/TAG` 55 56 if [ _"$dtype" = _"rpm" ]; then 56 57 if [ _"$p" = _"mondo-doc" ]; then … … 67 68 spkg="$spkg ${TOPBUILDDIR}/portage/sys-apps/$p/$pv.ebuild" 68 69 pkg="$pkg /usr/portage/packages/All/$pv.tbz2" 70 elif [ _"$dfam" = _"slackware" ]; then 71 pkg="$pkg ${TOPBUILDDIR}/build-$p/$pv-*-${tag}mr.tgz" 69 72 fi 70 73 done 71 74 75 rm -rf $MONDOTMP 72 76 echo "Packages delivery to ${ACCOUNT}:${DSTDIR}/${ddir}/${dver}" 73 ssh ${ACCOUNT} "mkdir -p ${DSTDIR}/${ddir}/${dver}"77 ssh -q ${ACCOUNT} "mkdir -p ${DSTDIR}/${ddir}/${dver} ; cd ${DSTDIR}/${ddir}/${dver} ; rm -f ${pkg} ${spkg}" 74 78 scp ${pkg} ${spkg} ${ACCOUNT}:${DSTDIR}/${ddir}/${dver} 75 79 ) 2>&1 | tee /tmp/pkg2ftp.log -
trunk/tools/pkg2mdv
r932 r1043 9 9 dname=`dirname $0` 10 10 prem=`echo $dname |cut -c1` 11 if [ ${prem} =="/" ]; then11 if [ _${prem} = _"/" ]; then 12 12 export TOOLHOME=$dname 13 13 else … … 18 18 . $TOOLHOME/distro-env 19 19 . $TOOLHOME/mdv-env 20 21 export LANGUAGE="C" 20 22 21 23 # We need to get $VER and $TAG … … 44 46 src=${TOPDIR}/${VER}-$TAG/$p-[1-9]*.tar.bz2 45 47 s=`basename $src` 46 oldver=`echo $s | sed "s/$p-\([1-9][0-9.]*\).tar.bz2/\1/"` 47 newver=`echo $oldver | sed 's/\([0-9]\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\)/\1.\2\3/'` 48 if [ _"$p" = _"mindi-busybox" ]; then 49 oldver=`echo $s | sed "s/$p-\([1-9][0-9.]*\).tar.bz2/\1/"` 50 newver=$oldver 51 else 52 oldver=`echo $s | sed "s/$p-\([1-9][0-9.]*\).tar.bz2/\1/"` 53 newver=`echo $oldver | sed 's/\([0-9]\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\)/\1.\2\3/'` 54 fi 48 55 distro=`ls -d ${TOPDIR}/${VER}-$TAG/$p-[1-9]*/distributions/mandriva-* | tail -1` 49 56 spec=${distro}/$p.spec … … 51 58 cd $SVNMDV/$p 52 59 mkdir -p SOURCES SPECS 53 echo "Modifying $oldver => $newver"54 60 svn del --force SOURCES/$p-*.tar.bz2 55 61 cp -a $src SOURCES/$p-$newver.tar.bz2 56 tar xfj SOURCES/$p-$newver.tar.bz2 57 mv $p-$oldver $p-$newver 58 perl -pi -e "s/$oldver/$newver/" $p-$newver/VERSION 59 tar cfj SOURCES/$p-$newver.tar.bz2 $p-$newver 60 rm -rf $p-$newver 62 cp -a $spec SPECS 63 64 # Case when there is a version change 65 if [ _"$oldver" != _"$newver" ]; then 66 echo "Modifying $oldver => $newver" 67 tar xfj SOURCES/$p-$newver.tar.bz2 68 mv $p-$oldver $p-$newver 69 perl -pi -e "s/$oldver/$newver/" $p-$newver/VERSION 70 tar cfj SOURCES/$p-$newver.tar.bz2 $p-$newver 71 rm -rf $p-$newver 72 perl -pi -e 's/^Version:[ \t]+([0-9])\.([0-9]+)\.([0-9]+)/Version: $1.$2$3/' SPECS/$p.spec 73 fi 61 74 svn add SOURCES/$p-$newver.tar.bz2 62 cp -a $spec SPECS63 75 # Use mkrel for mdv 64 perl -pi -e "s/^Release:[ \t]+..*/Release: %mkrel $ tag/" SPECS/$p.spec65 perl -pi -e 's/^Version:[ \t]+([0-9])\.([0-9]+)\.([0-9]+)/Version: $1.$2$3/'SPECS/$p.spec76 perl -pi -e "s/^Release:[ \t]+..*/Release: %mkrel $TAG/" SPECS/$p.spec 77 perl -pi -e "s/^Release:/Packager: Bruno Cornec <bcornec\@mandriva.org>\nRelease:/" SPECS/$p.spec 66 78 perl -pi -e 's/mindi >= ..*,/mindi/' SPECS/$p.spec 67 79 $TOOLHOME/mdv-changelog.pl SPECS/$p.spec … … 77 89 rm -f $MONDOTMP/cmt.spec 78 90 echo "Building on Mandriva's cluster" 79 ssh $ACCOUNT $DSTNODE "yr $p" 91 rev=`svn info | egrep "^Revision:" | cut -d: -f2` 92 repsys submit svn+ssh://svn.mandriva.com/svn/packages/cooker/$p $rev 80 93 fi 81 94 fi -
trunk/tools/qemu-vm.txt
r932 r1043 2 2 qemu-img create -f qcow image.qemu 3G 3 3 qemu -cdrom /dev/hdc -m 256 -boot d image.qemu 4 5 # Recent SUSE acpi=off 4 6 5 7 # RPM based : urpmi, yum install, yast2 … … 14 16 #Cf: http://wiki.xensource.com/xenwiki/QEMUGentoo 15 17 emerge neon newt slang autoconf automake subversion libtool gcc wget vim man groff lynx grub afio buffer mindi mondo-rescue 18 19 # Slackware 20 # Cf: http://www.linuxpackages.net/howto.php?page=package&title=Package+Howto 16 21 17 22 #Changing CD during install: … … 68 73 rpmbuild -ba build/SPECS/buffer.spec 69 74 chmod 644 build/RPMS/i386/* 70 scp -p build/RPMS/i?86/afio-[0-9]* build/RPMS/i?86/buffer-[0-9]* ftp.mondorescue.org:/mondo/ftp/rhel/3/75 scp -p build/RPMS/i?86/afio-[0-9]* build/RPMS/i?86/buffer-[0-9]* www.mondorescue.org:/mondo/ftp/rhel/3/ 71 76 72 77 73 78 root: 74 79 rpm -ivh ~bruno/build/RPMS/i?86/afio-[0-9]* ~bruno/build/RPMS/i?86/buffer-[0-9]* 75 # In case76 scp bruno@10.0.2.2:/usr/bin/man2dvi /usr/local/bin77 80 78 81 #for gentoo 79 82 chown bruno /etc/make.conf 80 83 bruno in portage group 84 85 # for FreeBSD 86 ln -sf /usr/local/bin/bash /bin/bash -
trunk/tools/svn2build
r977 r1043 9 9 dname=`dirname $0` 10 10 prem=`echo $dname |cut -c1` 11 if [ ${prem} =="/" ]; then11 if [ _${prem} = _"/" ]; then 12 12 export TOOLHOME=$dname 13 13 else … … 92 92 elif [ "$dtype" = "ebuild" ]; then 93 93 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/$p.ebuild > $dest/distributions/${ddir}-$dver/$p-$v.ebuild 94 elif [ "$dtype" = "tgz" ]; then 95 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/slack-desc > $dest/distributions/${ddir}-$dver/slack-desc 96 elif [ "$dtype" = "port" ]; then 97 m4 $MONDOTMP/mondorescue.mc $dest/distributions/$dfam/Makefile > $dest/distributions/${ddir}-$dver/Makefile 94 98 elif [ "$dtype" = "deb" ]; then 95 99 cp -a $dest/distributions/$ddir/* $dest/distributions/${ddir}-$dver … … 121 125 exit -1 122 126 fi 127 cd .. 128 fi 129 if [ _"`echo $p | grep 'busybox'`" != _"" ]; then 130 cd $dest 131 mv Rules.mak Rules.mak.orig 132 cat Rules.mak.orig | sed "s/^EXTRAVERSION\([\t ]*\):=/EXTRAVERSION\1:=-$tag-r$REVISION/" > Rules.mak 123 133 cd .. 124 134 fi -
trunk/trac/trac.ini
r794 r1043 1 [ header_logo]2 src = http://www.mondorescue.org/images/trac-logo.png 3 height = 120 4 width = 350 5 link = http://www.mondorescue.org6 alt = Mondo Rescue 1 [project] 2 name = MondoRescue 3 descr = GPL disaster recovery solution 4 footer = The <a href="http://www.mondorescue.org">Mondo Rescue</a> project is hosted <br>by the <a href="http://www.hpintelco.net">HP Intel Solution Center</a> on a <a href="http://www.mandriva.com">Mandriva</a> system. 5 url = http://trac.mondorescue.org 6 icon = /mondo/www/html/mondo/favicon.ico 7 7 8 8 [logging] … … 27 27 always_notify_reporter = true 28 28 29 [ project]30 name = MondoRescue 31 descr = GPL disaster recovery solution 32 footer = The <a href="http://www.mondorescue.org">Mondo Rescue</a> project is hosted <br>by the <a href="http://www.hpintelco.net">HP Intel Solution Center</a> on a <a href="http://www.mandriva.com">Mandriva</a> system. 33 url= http://www.mondorescue.org34 icon = /mondo/www/html/mondo/favicon.ico 29 [header_logo] 30 src = http://www.mondorescue.org/images/trac-logo.png 31 height = 120 32 width = 350 33 link = http://www.mondorescue.org 34 alt = Mondo Rescue 35 35 36 36 [mimeviewer] … … 44 44 webadmin.* = enabled 45 45 acct_mgr.web_ui.registrationmodule = enabled 46 acct_mgr.web_ui. accountmodule = enabled46 acct_mgr.web_ui.loginmodule = enabled 47 47 acct_mgr.htfile.htdigeststore = enabled 48 48 acct_mgr.api.accountmanager = enabled 49 acct_mgr.web_ui. loginmodule = enabled49 acct_mgr.web_ui.accountmodule = enabled 50 50 acct_mgr.htfile.htpasswdstore = enabled 51 51 acct_mgr.htfile.abstractpasswordfilestore = enabled … … 56 56 [account-manager] 57 57 password_format = htpasswd 58 password_file = / etc/trac.htpasswd58 password_file = /usr/local/etc/trac.htpasswd 59 59 60 60 [diff] … … 62 62 63 63 [ticket] 64 default_version = 2. 0.964 default_version = 2.2.0 65 65 default_component = mondo 66 66 default_milestone = 2.0.9 67 67 default_severity = normal 68 68 default_priority = normal 69 -
trunk/website/downloads.shtml
r932 r1043 24 24 <p>We are interested in up to date mirrors for both the Web and FTP sites. Please contact us on the <a href="/support.shtml">mailing list</a>. 25 25 <ul> 26 <li><b>Europe</b>: 26 <li><b>Americas</b></li>: 27 <ul> 28 <li><i>USA</i>:</li> 29 <ul> 30 <li>muskokamug.org : 31 <a href="http://mondorescue.muskokamug.org/">Web site</a>, 32 <ul> 33 <li>Update times: Every 3 hours</li> 34 </ul> 35 </li> 36 </ul> 37 </ul> 38 <li><b>Europe</b></li>: 27 39 <ul> 28 40 <li><i>France</i>:</li> -
trunk/website/index.shtml
r932 r1043 10 10 11 11 <h1>Mondo Rescue Home Page</h1> 12 <div class="h2-5">13 <h2>Latest news</h2>14 </div>15 <!--#include virtual="/latest-news.html" -->16 <p> For more news look <a href="/news.shtml">here</a></p>17 18 12 <div class="h2-1"> 19 13 <h2>What is Mondo Rescue ?</h2> … … 34 28 <a href="mailto:hugo_at_mondorescue.org">Hugo Rabson</a>: Creator of Mondo Rescue. The Mondo Rescue <a href="http://oldwww.mondorescue.org">original Web site</a> made by Hugo is also still available. Note that the paypal icon there is for rewarding Hugo's work, but has nothing to do with the current development of Mondo Rescue.<br> 35 29 </p> 30 31 <div class="h2-5"> 32 <h2>Latest news</h2> 33 </div> 34 <!--#include virtual="/latest-news.html" --> 35 <p> For more news look <a href="/news.shtml">here</a></p> 36 36 37 37
Note:
See TracChangeset
for help on using the changeset viewer.