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

Re: How to install MTA from source without breaking apt-get dependencies



On Tue, Oct 19, 2004 at 03:06:16PM -0500, Adi Linden wrote:
> > I don't think you need to build postfix from source to use cyrus-imap
> > (i suspect you need to look carefully at the sasl authentication), but
> > if you insist, i suggest to use the debian sources and build a debian
> > package. Anyway, to do what you ask, i think you need to look at the
> > "equivs" package...
> 
> I posted a seperate message with the details of my postfix troubles. I
> have a workaround solution of using the cyrus deliver program. I
> understand that all it does is accept piped input and talk to cyrus-imap
> via lmtp.
> 
> I will work through the "equivs" package and go from there. I still 'don't
> get' how Debian packages are built. I will have to look at that some time.

more or less it's like this:

apt-get build-dep packagename (installs the build dependencies)
apt-get source packagename (grabs and unpacks the source deb)

it will unpack the deb in the current directory, just switch to the
source directory, then "debian" and edit the "rules" file (a
makefile). The configure line is in there. edit it to your hearts
content.

back up one directory and run "debian/rules binary"

That's pretty much it ...

-- 
  _   _   _   _   _   _   _   _   _   _   _   _   _  
 / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ 
( t | i | m | @ | i | t | . | k | p | t | . | c | c )
 \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ 
GPG key fingerprint = 1DEE CD9B 4808 F608 FBBF  DC21 2807 D7D3 09CA 85BF



Reply to: