Re: Modifying existing packages

2008-06-18 Thread Chris Lamb
Matthew Palmer wrote:

 A quick Google search has found a couple of things that might be of use to
 you:

 http://www.joachim-breitner.de/blog/archives/282-How-to-fork-privately.html

.. was on Planet earlier this year.


Regards,

-- 
Chris Lamb, UK   [EMAIL PROTECTED]
GPG: 0x634F9A20


signature.asc
Description: PGP signature


Re: Modifying existing packages

2008-06-17 Thread Sam Morris
On Mon, 16 Jun 2008 23:20:40 -0400, Jerry Stuckle wrote:

 For instance, I need to modify
 Exim to include MySQL support.

In this case you might only need to install exim4-daemon-heavy.

If you do need to do a custom build of exim then you should take 
advantage of the package's rather nice support for creating an exim4-
daemon-custom package. I think it's documented in a file in the debian 
directory of the source package.

-- 
Sam Morris
http://robots.org.uk/
 
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Modifying existing packages

2008-06-17 Thread Jerry Stuckle

Sam Morris wrote:

On Mon, 16 Jun 2008 23:20:40 -0400, Jerry Stuckle wrote:


For instance, I need to modify
Exim to include MySQL support.


In this case you might only need to install exim4-daemon-heavy.

If you do need to do a custom build of exim then you should take 
advantage of the package's rather nice support for creating an exim4-
daemon-custom package. I think it's documented in a file in the debian 
directory of the source package.




Thanks for the info.  I'll look into it.  However, that was just an 
example of what I'm looking for; I'm sure as I get into the source 
distributions I'll find others which are similar.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Modifying existing packages

2008-06-16 Thread Jerry Stuckle

Hi, all,

I'm new to this end - and don't know if what I want is possible or not.
But here goes.

I need to modify some of the stock Debian packages for different
options.  For instance, I need to modify
Exim to include MySQL support.  I have several other packages with
similar needs.

What I need is a pointer to instructions on how I can get the the
information for how these packages
were built so I can modify them to meet my needs.  I'd like to change
them as little as necessary to
maintain compatibility with other packages.

I've looked through a lot of documentation and haven't figured out how
to get the original build
information.  But with all the available info out there, I probably
missed it, also.  So if someone can
at least provide a pointer to doc on where I should start, I'd
appreciate it.

TIA.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Modifying existing packages

2008-06-16 Thread Matthew Palmer
On Mon, Jun 16, 2008 at 11:20:40PM -0400, Jerry Stuckle wrote:
 I'm new to this end - and don't know if what I want is possible or not.
 But here goes.

What you want is quite possible, and something a lot of people do a lot.

 I need to modify some of the stock Debian packages for different
 options.  For instance, I need to modify
 Exim to include MySQL support.  I have several other packages with
 similar needs.

 What I need is a pointer to instructions on how I can get the the
 information for how these packages
 were built so I can modify them to meet my needs.  I'd like to change
 them as little as necessary to
 maintain compatibility with other packages.

 I've looked through a lot of documentation and haven't figured out how
 to get the original build
 information.  But with all the available info out there, I probably
 missed it, also.  So if someone can
 at least provide a pointer to doc on where I should start, I'd
 appreciate it.

I'm not aware of any canonical documentation that specifically addresses
your needs, since it's been so long since I learnt this stuff.  In general,
what you want is the source package that corresponds to the binary package
you want to build, and that can usually be obtained by running 'apt-get
source package'.  From there, you patch the package to suit your needs and
then rebuild/compile the binary package (for which there are any number of
methods, and documentation available).

A quick Google search has found a couple of things that might be of use to
you:

http://www.murrayc.com/blog/permalink/2006/04/21/building-modified-debian-packages/
http://www.debian-administration.org/articles/20

- Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]