Making a deb package

Christopher Browne cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Feb 16 17:29:45 UTC 2012


On Thu, Feb 16, 2012 at 11:25 AM, William Muriithi
<william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> I have been able to package software into rpm in the past but have not
> had the opportunity to package source code into deb package format
> till this morning. I am wondering if anybody here has forward a
> reliable documentation to assist
>
> My hope is to get apache version 2.2.22 that I can use to update the
> distribution provided apache, which is a little behind.  I couple of
> things I have noticed.

Lennart has described a very particular result suitable for that
particular version of Apache; what he describes seems pretty ideal, in
view that the packaging work has already been done by others.

> On RedHat, I usually download a source RPM and then uses the source
> spec file as a starting point.  I am having problem finding an
> equivalent file do the deb package.  I believe its called control file
> on Debian based system.
>
> Anyone done this before and would know where I could locate it?

Under the circumstances, Lennart has described a good "short-circuit"
to let you get your result without much effort.

I'll point out the documentation for building new Debian packages.
   http://www.debian.org/doc/manuals/maint-guide/

The structure is a bit more complicated than just having a "control" file.
   http://www.debian.org/doc/manuals/maint-guide/dreq.en.html

There can be considerably more complications, if need be:
   http://www.debian.org/doc/manuals/maint-guide/dother.en.html

More complications are needful because it's not merely about "building
a package," it's about integrating a package into a distribution.
-- 
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list