Am Fre, 2003-10-10 um 05.31 schrieb Pigeon: > On Thu, Oct 09, 2003 at 01:47:49PM +0200, Matthias Hentges wrote: > > Hello Ron, > > > > Am Don, 2003-10-09 um 12.24 schrieb Ron Rademaker: > > > Hello, > > > > > > I've installed a backport of exim4 for woody (because I want to use xasm > > > and xasm needs exim 4), however this has caused some trouble. Namely > > > pretty much any package that depends on exim (like mailscanner) thinks > > > something is wrong and wants to completely remove my exim4 installation > > > and reinstall exim. I want to know if it's possible to make apt think > > > that exim4 provides exim so that everything will be back the way I want > > > it. > > > > One way would be to recompile all packages which depend on exim and > > replace the exim depency with exim4 (if the packages don't have problems > > with the newer exim4 when compiling, that is). > > > > It's also trivial to generate a fake .deb of exim. I 've attached one to > > this mail. The whole .deb consists of a Readme in /usr/share/docs. > > OOI what/where is 'mkdeb'? It doesn't seem to be anything to do with > 'equivs'.
Well you are right. When i was in the need to build my first own .deb i read (and re-read!) the New Debian Maintainers Guide and found the use of the original debian tools for generating .deb's way to complicated (or i was to stupid, you decide). So i wrote my own script to do just that. It basically works like this: - Create a new empty folder with the name of the package i.e. /home/mhentges/mkdeb/exim - Copy all files with relative path into that folder i.e. if you want the file foo.sh to be installed into /usr/bin copy it to /home/mhentges/exim/usr/bin. - cd into /home/mhentges/mkdeb/exim - run mkdeb - enter version number, description, depencies etc. The result is a shiny new deb with the name of exim_$VERSION_i386.deb. It doesn't get easier than that i'd say ;) Checkinstall is nice, too, but i learned a lot about .deb's when i wrote my own script ;) -- Matthias Hentges Cologne / Germany [www.hentges.net] -> PGP welcome, HTML tolerated ICQ: 97 26 97 4 -> No files, no URL's My OS: Debian Woody. Geek by Nature, Linux by Choice
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil