Erik(s); First, thank you both for all your work! You are both important and gracious assets to the Linux and qmail communities and I, for one, thank you, thank you, thank you. You are doing a great work here.
So, I finally had the chance to run the qtp-whatami script with your changes and, after chewing through my fingernails, had great success. (I will make this long for future reference in the mailer archive.) My notes: I couldn't run the qtp-whatami.txt script. I changed the extension and permissions but it returned a "bash: ./qtp-whatami.txt: /bin/sh^M: bad interpreter: No such file or directory" which, to me, shows an advanced text editor carriage return after the /bin/sh entry. I searched for any extra carriage returns (nano, vi, vim, gedit) and compared between the original qtp-whatami and the updated qtp-whatami.txt files but didn't see any "^M" entry. So, I just manually changed the original qtp-whatami script's check fedora section with your changes and it worked without a problem: [EMAIL PROTECTED] Desktop]# qtp-whatami qtp-whatami v0.2.5 DISTRO=Fedora OSVER=7 QTARCH=i686 BUILD_DIST=fdr60 BUILD_DIR=/usr/src/redhat This machine's OS is supported, but this version/arch has not been tested. ############################################################################ So I ran qtp-newmodel; twice. The first try I followed all default answers (suggested) except the question to create a linked sandbox. It had [n] suggested but I figured that the link couldn't hurt and, instead, answered "y." It ran well until it got to the "Copying files... ...to the linked Sandbox ..." section: ... Creating /mnt/qtp-sandbox/ misc directories ... Copying the RPM database to the linked sandbox ... Copying files from qmail-pop3d-toaster-1.03-1.3.15 to the linked sandbox ... Copying files from qmailmrtg-toaster-4.2-1.3.3 to the linked sandbox ... Copying files from simscan-toaster-1.3.1-1.3.6 to the linked sandbox ... Copying files from clamav-toaster-0.92-1.3.16 to the linked sandbox ... unexpected: /usr/share/clamav/daily.cvd in package clamav-toaster-0.92-1.3.16 does not exist Continuing ... Copying files from libdomainkeys-toaster-0.68-1.3.3 to the linked sandbox ... Copying files from ezmlm-toaster-0.53.324-1.3.3 to the linked sandbox ... Copying files from daemontools-toaster-0.76-1.3.3 to the linked sandbox ... Copying files from libsrs2-toaster-1.0.18-1.3.3 to the linked sandbox ... Copying files from courier-imap-toaster-4.1.2-1.3.7 to the linked sandbox ... Copying files from ezmlm-cgi-toaster-0.53.324-1.3.3 to the linked sandbox ... Copying files from maildrop-toaster-devel-2.0.3-1.3.5 to the linked sandbox ... Copying files from qmailtoaster-plus.repo-0.1-1 to the linked sandbox ... Copying files from ucspi-tcp-toaster-0.88-1.3.5 to the linked sandbox ... Copying files from qmail-toaster-1.03-1.3.15 to the linked sandbox ... Copying files from autorespond-toaster-2.0.4-1.3.3 to the linked sandbox ... Copying files from qmailadmin-toaster-1.2.11-1.3.4 to the linked sandbox ... Copying files from isoqlog-toaster-2.1-1.3.4 to the linked sandbox ... Copying files from ripmime-toaster-1.4.0.6-1.3.3 to the linked sandbox ... Copying files from qmailtoaster-plus-0.3.0-1.4.0 to the linked sandbox ... Copying files from vpopmail-toaster-5.4.17-1.3.4 to the linked sandbox ... Directory /mnt/qtp-sandbox/home/vpopmail/domains does not exist - script error Exiting. qtp-newmodel - build sandbox failed, exiting ############################################################################ Hoping for success, I ran qtp-newmodel again but followed all suggested answers (without the linked sandbox). It seemed that all other packages were updated from the first attempt except for squirrelmail, spamassassin, and clamav: [EMAIL PROTECTED] ~]# qtp-newmodel qtp-newmodel v0.2.11 starting Thu Mar 6 12:07:36 EST 2008 qtp-whatami v0.2.5 DISTRO=Fedora OSVER=7 QTARCH=i686 BUILD_DIST=fdr60 BUILD_DIR=/usr/src/redhat This machine's OS is supported, but this version/arch has not been tested. If your OS is not current, you should consider upgrading it. Do you want to proceed at your own risk? (yes, no) y/[n] : y Ok, here we go ... The following packages have already been selected: squirrelmail-toaster-1.4.13-1.3.9.src.rpm spamassassin-toaster-3.2.4-1.3.13.src.rpm clamav-toaster-0.92.1-1.3.17.src.rpm Do you want to process this selection? Shall we continue? (yes, no|skip, batch, quit) [y] / n|s / b / q : y Getting source packages ...(this may take a while) squirrelmail-toaster-1.4.13-1.3.9.src.rpm is already downloaded, bypassed spamassassin-toaster-3.2.4-1.3.13.src.rpm is already downloaded, bypassed clamav-toaster-0.92.1-1.3.17.src.rpm is already downloaded, bypassed Shall we build a new sandbox at /mnt/qtp-sandbox? y/[n]: y Removing sandbox at /mnt/qtp-sandbox ... qtp-build-sandbox v0.2.5 starting Thu Mar 6 12:07:54 EST 2008 Warning: This script does not check for available disk space. You'll need anywhere from 120M+ (linked) to 1.4G+ (copied) to build the sandbox. Estimating disk space usage for a copied sandbox (might take a while): 2.3G total The sandbox may be built in any partition. A 'linked' sandbox can only be in the / partition The sandbox will be built at /mnt/qtp-sandbox Shall we continue? (yes, no|quit) [y] / n|q : y Would you like to create a linked sandbox? (yes, no) y/[n] :n Creating Copied sandbox: /mnt/qtp-sandbox ... (coffee anyone?) ... And Sandbox was built successfully: ... Sandbox has been built successfully! ############################################################################ If, for any reason, you would like to see the build log files, let me know and I will gladly forward them to you. Thank you both, again, for all your help. Thomas M. Jaeger Computer Technician, A.A.S. [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: Eric "Shubes" [mailto:[EMAIL PROTECTED] Sent: Sunday, March 02, 2008 1:56 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: FW: FW: FW: [qmailtoaster] qmailtoaster-plus-0.2.14-1.3.17 is out! Thanks for clearing that up, EE. I've attached the latest version of qtp-whatami, which will also be included in the next QT-plus release. It uses the fdr60 parameter for FC7,8 systems, so they might work better. Users should understand that this is the best we can do with the 1.3 branch, and FC7+ will not be supported until 1.4 is released. Thanks again to EE for all his work on this. Erik A. Espinoza wrote: > As I've mentioned before in the list, Fedora fixes are not coming. I'm > spending my time working on the QT 1.4 branch right now. The current > branch will be maintained as is + upstream fixes for now. > > The Fedora + QT users is such a low amount of users, it's really not > worth it especially since FC6 compiles FC7/8 properly in most cases. > If someone wants to step up and rewrite the current spec files (and > send me diffs) then I will go ahead and release them. > > I can't do it all myself. > > EE > > On Sat, Mar 1, 2008 at 6:18 AM, Thomas M. Jaeger <[EMAIL PROTECTED]> wrote: >> Erik; >> >> Below is the correspondence from the qmailtoaster list for a Fedora fix that >> I will test early next week (you probably already have this info but...). >> Erik "Shubes" has said that you would know the status of the packages online >> and if they are upgraded for use on Fedora 7,8 distros. Are they or is >> there a way to prepare them for use with Fedora 7,8? (I am running Fedora 7 >> x86.) >> >> >> >> Thanks; >> >> >> Thomas M. Jaeger >> Computer Technician, A.A.S. >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> >> >> -----Original Message----- >> From: Eric "Shubes" [mailto:[EMAIL PROTECTED] >> Sent: Friday, February 29, 2008 11:48 PM >> To: qmailtoaster-list@qmailtoaster.com >> Subject: Re: FW: FW: [qmailtoaster] qmailtoaster-plus-0.2.14-1.3.17 is out! >> >> Thomas M. Jaeger wrote: >> > # cat /etc/fedora-release shows: >> > >> > Fedora release 7 (Moonshine) >> > >> > The /usr/sbin/qtp-whatami file shows fdr70 (and fdr7064) in the lsiting. >> I >> > also made sure to use /usr/sbin/qtp-whatami to be sure that there are no >> > redundant older copies somewhere that are being accessed. I still get the >> > same "sorry" message. Could it be that the "Check Fedora" section of the >> > script is looking for "Core" instead of just Fedora (as Core was dropped >> > from the distro since the release of 7)? >> >> That's precisely the problem. They dropped "Core" from the name and the >> script doesn't find the release number as a result. >> >> > This was the issue that Natalio was addressing with the alteration of the >> > qtp-whatami script. The changes made in that script where the addition of >> > fdr70 to the distro list at the beginning, the removal of word 2 in the >> > check fedora section and OSVER=$word3 relnum=${word3%.*}: >> >> That's the extent of the fix for FC7/8, but it breaks the script for earlier >> versions. Here's a fixed version of that routine: >> ################################################################### >> ## check fedora >> # >> b23_fedora(){ >> >> BUILD_DIR=/usr/src/redhat >> >> if [ "$word1" == "Fedora" ]; then >> if [ "$word2" == "release" ]; then >> DISTRO="$word1" >> OSVER=$word3 >> relnum=${word3%.*} >> case $relnum in >> 8 | 7 ) >> BUILD_DIST=fdr${relnum}0 >> q1_distro_64 >> esac >> elif [ "$word2" == "Core" ]; then >> DISTRO="$word1 $word2" >> OSVER=$word4 >> relnum=${word4%.*} >> case $relnum in >> 6 | 5 | 4 ) >> BUILD_DIST=fdr${relnum}0 >> q1_distro_64 >> if [ "$relnum" == 5 ]; then >> case $QTARCH in >> i386 | $ARCH64 ) >> tested=y >> ;; >> esac >> fi >> ;; >> 3 | 2 | 1 ) >> BUILD_DIST=fdr${relnum}0 >> ;; >> esac >> fi >> fi >> } >> >> Will you edit your script with this version and give it a try? If it works >> then I'll check it in for the next QTP release. >> >> > I have not tested this alteration yet as I fear that upgrading with the >> > qtp-newmodel might run into issues. >> >> You need to be sure that the packages on the web site have been upgraded for >> versions 7,8 before it'll work for sure. I don't know their status, but Erik >> Espinoza would know for sure (since he's the one who does all that magic). >> >> If the packages haven't been configured for the version you're running, >> they'll be built with the default settings, which probably won't work for >> you. If you want to fake it out, the easiest way is to (temporarily) change >> the /etc/fedora-release file to correspond to the most recent toaster >> version. (don't forget to change it back later!) >> >> > Sory for the rambling, the answer to your question is at the top... >> >> NP >> >> > Thank you, again, >> > >> > >> > Thomas M. Jaeger >> > Computer Technician, A.A.S. >> > [EMAIL PROTECTED] >> > [EMAIL PROTECTED] >> > >> > -----Original Message----- >> > From: Eric "Shubes" [mailto:[EMAIL PROTECTED] >> > Sent: Friday, February 29, 2008 1:45 PM >> > To: qmailtoaster-list@qmailtoaster.com >> > Subject: Re: FW: FW: [qmailtoaster] qmailtoaster-plus-0.2.14-1.3.17 is >> out! >> > >> > That version of qtp-whatami should recognize FC7 (keyword: should). >> > >> > What does >> > # cat /etc/fedora-release >> > tell you? >> > >> > Thomas M. Jaeger wrote: >> >> I was on vacation and away for a while. I did the qmailtoaster-plus >> >> update via yum (.noarch.0.3.0-1.4.0) and still get "Fedora release 7 >> >> (Moonshine) is not supported. Sorry" when using the qtp-newmodel >> >> command. The qtp-menu also does not run and gives the message, "Your >> >> distro is not supported, exiting." Should I uninstall the >> >> qmailtoaster-plus, remove the repository from yum and do a manual >> >> install of QTP? Some of the "qtp-" commands work but (obviously) not >> >> all. Regardless, I understand that Fedora is not the supported OS (or >> >> OS of choice) and I could go about this all manually. Also, I have not >> >> yet had the chance to try Natalio's qtp-whatami changes. I will give >> >> that a try once the storms have passed through New England over the next >> >> two days. (I could try it remotely but fear the possible errors.) >> >> >> >> >> >> >> >> Thanks, again, >> >> >> >> >> >> Thomas M. Jaeger >> >> >> >> Computer Technician, A.A.S. >> >> >> >> [EMAIL PROTECTED] >> >> >> >> [EMAIL PROTECTED] >> >> >> >> >> > >> -- -Eric 'shubes' --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]