Re: applying a patch to nullmailer
On Mon, Jul 09, 2001 at 08:06:28PM +0100, john gennard wrote:
> 1. Early in June, Noah Meyerhans gave me advice on how to make a .deb
> using 'apt-get source -b xxxx' in conjunction with 'deb-src http://
> debian.xxxx ' in /etc/apt/sources.list.
>
> 2. I needed to do things that way since the only .deb available to me
> required glibc2.2 which I did not have and to compile from
> the original source (not available from debian.org) left me with a
> program not 'seen' by dpkg.
>
> 3. Unfortunately, the original source has a bug which means my smtp
> server will not accept mail sent from the program. I've been very
> fortunate to have been given assistance by someone who after
> tracking down the problem has produced a patch which will correct
> things.
>
> Now, I have the patch and the .deb created by 1. above and do not
> understand how apply the patch. Can anyone help please?
You need to apply the patch before building the deb, obviously.
Don't use the '-b' option to apt-get.
cd /foodir
apt-get source xxxx
cd xxxx-*
>> apply patch <<
fakeroot debian/rules binary
su -
dpkg -i /foodir/xxxx*.deb
Cheers,
Joost
Reply to: