After the preceding, next, build the source rpm: rpmbuild -bs ~/rpmbuild/SPECS/clamav-toaster.spec And, finally, build the rpm: rpmbuild --rebuild --with cnt5064 ~/rpmbuild/SRPMS/clamav-toaster*.src.rpm
EricB On 10/19/2015 12:30 PM, Eric Broch wrote: > Istvan, > > I assume the build environment exists on your server. > Download the qmail clamav-toaster source rpm into ~/rpmbuild/SRPMS and > install it > Download the new clamav source tar.gz file and put in the > ~/rpmbuild/SOURCES directory > Edit the ~/rpmbuild/SPECS/clamav-toaster.spec file naming the new > sources to be used most likely the Source0: option. > Edit the changelog section to reflect your changes. > > EricB > > > On 10/18/2015 11:18 PM, Istvan Köpe wrote: >> >> Hi Eric, >> >> >> >> I never updated a source rpm. Can you guide me? >> >> >> >> What would you recommend in my senario for long term? >> >> >> >> István >> >> >> >> *From:*Eric Broch [mailto:[email protected]] >> *Sent:* Monday, October 19, 2015 4:18 AM >> *To:* [email protected] >> *Subject:* Re: [qmailtoaster] clamav upgrade on centos 6 x64 >> >> >> >> Istvan, >> >> You've compiled CentOS 5 SRPMS on a CentOS 6 machine. There are no >> upgrades that anyone does for this, that I know of since it is not a >> part of the QMT planning. >> >> You can grab the clamav-toaster source rpm >> <http://mirrors.qmailtoaster.com/current/SRPMS/clamav-toaster-0.98.4-1.4.8.src.rpm> >> and update it with the latest clamav sources >> <http://www.clamav.net/downloads/production/clamav-0.98.7.tar.gz> and >> compile it for your own uses >> >> Eric >> >> >> On 10/18/2015 10:38 AM, Istvan Köpe wrote: >> >> I also tried with yum and qtp-newmodel, but no success. I installed it >> with the cnt5064-install-script.sh. There were some problems, but I figured >> it out somehow and the server is running without problems since about 2 >> years. I think I made and upgrade for clamav since the server installation, >> but I'm not sure. >> >> >> >> >> >> rpm -qa | grep toaster >> >> ucspi-tcp-toaster-0.88-1.3.9.x86_64 >> >> qmail-toaster-1.03-1.3.22.x86_64 >> >> autorespond-toaster-2.0.5-1.4.0.x86_64 >> >> qmailadmin-toaster-1.2.16-1.4.1.x86_64 >> >> isoqlog-toaster-2.1-1.3.7.x86_64 >> >> ripmime-toaster-1.4.0.6-1.3.6.x86_64 >> >> clamav-toaster-0.98.4-1.4.8.x86_64 >> >> qmailtoaster-plus-0.3.2-1.4.19.noarch >> >> daemontools-toaster-0.76-1.3.6.x86_64 >> >> vpopmail-toaster-5.4.33-1.4.0.x86_64 >> >> libsrs2-toaster-1.0.18-1.3.6.x86_64 >> >> qmail-pop3d-toaster-1.03-1.3.22.x86_64 >> >> courier-imap-toaster-4.1.2-1.3.10.x86_64 >> >> control-panel-toaster-0.5-1.4.0.noarch >> >> ezmlm-cgi-toaster-0.53.324-1.3.6.x86_64 >> >> qmailtoaster-plus.repo-0.2-2.noarch >> >> qmailmrtg-toaster-4.2-1.3.7.x86_64 >> >> maildrop-toaster-devel-2.0.3-1.3.8.x86_64 >> >> squirrelmail-toaster-1.4.22-1.4.0.noarch >> >> simscan-toaster-1.4.0-1.4.0.x86_64 >> >> libdomainkeys-toaster-0.68-1.3.6.x86_64 >> >> courier-authlib-toaster-0.59.2-1.3.10.x86_64 >> >> ezmlm-toaster-0.53.324-1.3.6.x86_64 >> >> maildrop-toaster-2.0.3-1.3.8.x86_64 >> >> spamassassin-toaster-3.3.2-1.4.3.x86_64 >> >> vqadmin-toaster-2.3.7-1.4.1.x86_64 >> >> >> >> rpm -qa | grep .qt >> >> dovecot-devel-2.0.11-2.qtp.x86_64 >> >> dovecot-debuginfo-2.0.11-2.qtp.x86_64 >> >> dovecot-2.0.11-2.qtp.x86_64 >> >> dovecot-mysql-2.0.11-2.qtp.x86_64 >> >> dovecot-pigeonhole-2.0.11-2.qtp.x86_64 >> >> whtc-qmt-1-1.qt.el6.noarch >> >> dovecot-pgsql-2.0.11-2.qtp.x86_64 >> >> >> >> István >> >> >> >> >> >> -----Original Message----- >> >> From: Eric Broch [mailto:[email protected]] >> >> Sent: Sunday, October 18, 2015 5:32 PM >> >> To: [email protected] >> <mailto:[email protected]> >> >> Subject: Re: [qmailtoaster] clamav upgrade on centos 6 x64 >> >> >> >> Istvan, >> >> >> >> There should be no RPMS with the QMT "toaster" designation on a CentOS 6 >> machine, they should all have the ".qt" designation. >> >> >> >> How did you go about installing QMT on this CentOS 6 machine? >> >> >> >> Can you run a couple commands at your CLI? >> >> >> >> 1) # rpm -qa | grep toaster >> >> 2) # rpm -qa | grep .qt >> >> >> >> And, post your output. >> >> >> >> Eric >> >> >> >> >> >> On 10/18/2015 3:36 AM, Istvan Köpe wrote: >> >> Hello, >> >> >> >> >> >> >> >> I want to upgrade clamav on a Centos6 x64 but I have this error: >> >> >> >> rpm -Uvh clamav-0.98.7-0.qt.el6.x86_64.rpm >> >> >> >> error: Failed dependencies: >> >> >> >> clamav-toaster is needed by (installed) >> >> simscan-toaster-1.4.0-1.4.0.x86_64 >> >> >> >> >> >> >> >> Can you help me out? >> >> >> >> >> >> >> >> >> >> >> >> István >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]> >> >> >> >> >> >
