> 1. Get the source rpm

OK, I copy qmail-1.03-102memphis.src.rpm to /2/

> 2. Install it

I execute "rpm -i /2/qmail-1.03-102memphis.src.rpm"

> 3. Add the patch to the SOURCES directory

I go to /usr/src/redhat/SOURCES and decompress var-qmail-1.03.tar.gz inside
/usr/src/redhat/SOURCES/var-qmail-1.03

Then I go to /usr/src/redhat/SOURCES/var-qmail-1.03/ and execute "patch -p1
< /2/qmail-1.01-maxrcpt.patch", but then it asks for a file to patch.

As you can see I'm giving you all the details if I do something wrong.

Which file does it have to patch, qmail-smtpd.c? because it doesn't exists
(exists qmail-smtpd and qmail-smtpd.8).

> 4. Edit the .spec file (in SPECS directory) to use that patch
> 5. Do rpm -ba spec_file in the SPECS directory
> 6. in the RPMS directory, you have both source and i386 rpm
>
> Read RPM-HOWTO if unsure

NOTE: After that I would like to apply another patch: mfcheck. I suppose I
can apply another patch too, can't I?


Reply via email to