[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building Debian's source for Sendmail



> Hi,
> 
> I am trying to build the Debian source for the sendmail package
> but when applying the Debian specific patches to the original
> distribution I get errors. I looks like the .diff file was generated
> against another version of the original distribution.
> 
> I am doing this:
> 
> cd /usr/src
> tar xzf sendmail_8.8.5-1.tar.gz
> patch -p0 < sendmail_8.8.5-1.diff
> 
> but patch reaches a point where it can not determine the name of the
> file to patch, so it asks for it.

Are you sure the file is called "sendmail_8.8.5-1.tar.gz" instead
of "sendmail_8.8.5.orig.tar.gz"? The latter is the name in the "new
source format", that has been in use for about a year now. I'd be
rather surprised to learn sendmail is still "old source format".

Anyway, the "Debian" way to do it is to get the .orig.gz, the .diff.gz
and the .dsc, and then type

  dpkg-source -x sendmail_8.8.5-1.dsc

and let dpkg-source do the unpacking and patching.

Note that due to serious shortcommings in dpkg-source, this may fail
(usually it does work, though)

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: