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

Re: Building my own packages



tomas@tuxteam.de wrote:
> > 
> > As a person with the FreeBSD background, I'm used to building my own
> > packages with the exact build options I need (those include exim, nginx,
> > samba, clamav and many others). FreeBSD has a good infrastructure for
> > this (ports tree, poudriere et al.)
> > 
> > Where can I learn to do a similar thing for Debian? I'd like to have my
> > own package repository which:
> 
> If you're the kind of person who needs to get dirty fingers
> while learning, pick a Debian package you care about (not a
> very complex one) and download the source. Make a work
> directory, cd there and download a source package (I'm using
> hello, because it's small)

[dd]

Thank you, it was very instructive!

The result of the described magic would be a .deb package, correct?

> 
> There are several directions you can branch out from there.
> Having the manual (pointed at by other nice folks in this
> thread) handy is highly recommended. One very interesting
> is how to decouple your build environment from your machine
> environment (including building for other Debian versions,
> cross building for other architectures, etc -> pbuilder,
> sbuild, and my favourite, schroot). Or packaging something
> new -> Debian New Maintainer's Guide) etc.

Next I would like to publish those tweaked and local packages in a local
repository in a corporate intranet, so that I could add this repository to
sources.list and its packages should override the standard Debian ones.

Maybe however, it is not such a good idea to publish for other systems a
package built outside a clean reference environment.

Actually I would like to get the better of the two worlds: the general good
quality and stability of Debian packages and - for selected packages only -
the flexibility of *BSD ports, or probably Gentoo(?).


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Attachment: signature.asc
Description: PGP signature


Reply to: