Hi folks, I would like to build my own exim4 .debs b/ I would like to setup some patches for exim4. Specifically I''m using v4.63 from backports on sarge and want to add some patches. I''m very comfortable installing the binary packages but am pretty new when it comes to building my own debs from the debian source package. Can anyone point me to some howto type pages just to get me going on this? I''ve looked at the wiki and the faq but I was unable to find what I''m looking for. I''ve been a member of this list for a while and don''t remember seeing this come up before, but if I''m mistaken, pointing me to the correct thread in the archives is appreciated. thanks, mikeS -- Michael Sprague | mfs@saneinc.net | use STD::disclaimer; System and Network Engineering (SaNE), Inc | http://www.saneinc.net Provider of SpamOnion anti-spam service -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006
On Fri, Oct 27, 2006 at 10:59:16PM -0400, Michael Sprague wrote:> I would like to build my own exim4 .debs b/ I would like to setup some > patches for exim4. Specifically I''m using v4.63 from backports on sarge > and want to add some patches.What kind of patches do you want to include?> I''m very comfortable installing the binary packages but am pretty > new when it comes to building my own debs from the debian source > package.Unpack source package install build-dependencies, build-essential and devscripts debuild that should build the unpatched package. It is probably a good idea to use dpatch, see man dpatch-edit-patch and the files that are already in debian/patches. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Marc Haber wrote:> On Fri, Oct 27, 2006 at 10:59:16PM -0400, Michael Sprague wrote: >> I would like to build my own exim4 .debs b/ I would like to setup some >> patches for exim4. Specifically I''m using v4.63 from backports on sarge >> and want to add some patches. > > What kind of patches do you want to include?The spamd patch that allows an MX like setting for several spamd servers.>> I''m very comfortable installing the binary packages but am pretty >> new when it comes to building my own debs from the debian source >> package. > > Unpack source packageGot that.> install build-dependencies, build-essential and devscripts > debuildAre the above a list of debian packages that are needed? I don''t see build-dependencies or debuild on the master package list at debian.org.> that should build the unpatched package. > > It is probably a good idea to use dpatch, see man dpatch-edit-patch > and the files that are already in debian/patches.Thanks, I''ll take a look at it. thanks, mikeS -- Michael F. Sprague | mfs@saneinc.net http://www.saneinc.net | Provider of SpamOnion anti-spam service System and Network Engineering (SaNE), Inc
On Sat, Oct 28, 2006 at 12:28:47PM -0400, Michael Sprague wrote:> Marc Haber wrote: > >On Fri, Oct 27, 2006 at 10:59:16PM -0400, Michael Sprague wrote: > >>I would like to build my own exim4 .debs b/ I would like to setup some > >>patches for exim4. Specifically I''m using v4.63 from backports on sarge > >>and want to add some patches. > > > >What kind of patches do you want to include? > > The spamd patch that allows an MX like setting for several spamd servers.Sounds neat. Has this one already been submitted upstream?> >> I''m very comfortable installing the binary packages but am pretty > >> new when it comes to building my own debs from the debian source > >> package. > > > >Unpack source package > > Got that. > > >install build-dependencies, build-essential and devscripts > >debuild > > Are the above a list of debian packages that are needed? I don''t see > build-dependencies or debuild on the master package list at debian.org.You indeed don''t know much about Debian, right? *grins* The build dependencies are a list of packages that a given package needs to build. You find that list in debian/control, Line "Build-Depends". debuild is a command you should type after installing them. It does the actual build. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Marc Haber wrote:> On Sat, Oct 28, 2006 at 12:28:47PM -0400, Michael Sprague wrote: >> Marc Haber wrote: >>> On Fri, Oct 27, 2006 at 10:59:16PM -0400, Michael Sprague wrote: >>>> I would like to build my own exim4 .debs b/ I would like to setup some >>>> patches for exim4. Specifically I''m using v4.63 from backports on sarge >>>> and want to add some patches. >>> What kind of patches do you want to include? >> The spamd patch that allows an MX like setting for several spamd servers. > > Sounds neat. Has this one already been submitted upstream?The patch was provided by Alex Bramley on the exim-users mailing list: http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20060821/msg00050.html It doesn''t look like it''s in the Exim Bugzilla.>>>> I''m very comfortable installing the binary packages but am pretty >>>> new when it comes to building my own debs from the debian source >>>> package. >>> Unpack source package >> Got that. >> >>> install build-dependencies, build-essential and devscripts >>> debuild >> Are the above a list of debian packages that are needed? I don''t see >> build-dependencies or debuild on the master package list at debian.org. > > You indeed don''t know much about Debian, right? *grins*:p Well, I''ve been using it for a while but don''t always get the debian terminology down right. I started out on Solaris (SunOS actually) and have only been playing with Linux for a few years. :) Installing any dependencies was an assumption. The way it''s worded above, it looked like you were listing packages.> The build dependencies are a list of packages that a given package > needs to build. You find that list in debian/control, Line > "Build-Depends". > > debuild is a command you should type after installing them. It does > the actual build.Thank you for the pointers. I think I have enough info to give this a whirl. :) Thanks, mikeS -- Michael F. Sprague | mfs@saneinc.net http://www.saneinc.net | Provider of SpamOnion anti-spam service System and Network Engineering (SaNE), Inc
On Sun, Oct 29, 2006 at 10:16:19AM -0500, Michael Sprague wrote:> >On Sat, Oct 28, 2006 at 12:28:47PM -0400, Michael Sprague wrote: > >>Marc Haber wrote: > >>>On Fri, Oct 27, 2006 at 10:59:16PM -0400, Michael Sprague wrote: > >>>>I would like to build my own exim4 .debs b/ I would like to setup some > >>>>patches for exim4. Specifically I''m using v4.63 from backports on > >>>>sarge and want to add some patches. > >>>What kind of patches do you want to include? > >>The spamd patch that allows an MX like setting for several spamd servers. > > > >Sounds neat. Has this one already been submitted upstream? > > The patch was provided by Alex Bramley on the exim-users mailing list: > > http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20060821/msg00050.html > > It doesn''t look like it''s in the Exim Bugzilla.I have forwarded it to the upstream dev list.> Thank you for the pointers. I think I have enough info to give this a > whirl. :)You''re welcome. If you have any more questions, just ask. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835