I have not created a deb in a while so I cannot guarantee that I have listed all the steps ...

1)download the Debian package source
2)untar it,
3)run ./configure with whatever options you want
4)change the deb version, I can't remember if its in a conf file or an option of dpkg-buildpackage to avoid conflicts
5)recompile
6)install


Hope this works. Checkout the Debian docs on making packages.

Cheers

Paul

Jim Cheetham wrote:
What's the *right* way to rebuild a Debian package with different options?

i.e. they ship with Exim, but it doesn't have MySQL support (there are other answers possible, but this is an example, not a problem)

I'd like to recompile the shipped Exim with different options, and then install properly (i.e. with dependencies if possible). But I suspect I'll be caught out when an upgrade happens, won't I?

Gentoo?

-jim

Reply via email to