Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Configuring server with a virtual package

From: Alex Samad <alex(at)samad.com.au>
Date: Thu Nov 22 2007 - 17:16:39 EST


On Thu, Nov 22, 2007 at 09:39:52PM +0000, Steve Kemp wrote:
> On Fri Nov 23, 2007 at 08:32:03 +1100, Alex Samad wrote:
>
> > > <nitpick>
> > > This sounds more like a meta-package.
> > > </nitpick>
>
> > sounds interesting, did a quick google and found debian-med ? is this the
> > stuff you are talking about ?
>
> debian-med is an example of a meta-package.
>
> A meta-package is a package which exists soley to pull in
> dependencies. For example I use several packages upon
> my desktop to customise my environment:
>
> steve-desktop
> - This package installs no files, but it depends upon
> things like 'iceweasel', 'emacs21', etc. This means
> a simple 'apt-get install steve-desktop' will get me
> most of the programs I care about in one go.
>
> steve-completion
> - Installs a bunch of files into /etc/bash_completion.d/ to
> give additional bash completion.
>
> Creation meta-packages can be done easily via the 'equivs'
> package. (See 'apt-cache show equivs' for a brief intro)

sounds exactly like what I am trying to do, downloading equivs now

>
> Meta-packages, and packages for configuration files, are a little
> advanced for typical users, but they are remarkably useful.

I have had a go a building some packages before, but it has been a while, all i do know is make changes to the code and run make mk-debs, forgotton the magic behind there.

How do you get around the config file problem, for instance I want have a package to setup my ldap server, I would like to just go apt-get install <servername>.ldap and have it bring in the depend packages like slapd, but at the end of the slapd install to actually over write the slapd.conf and other files. Do I mark this up as a Replaces action or do i do it via the install scripts ? The later seems easier and I get a chance to make backup of the files

>
> Steve
> --
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Nov 22 17:17:04 2007

This archive was generated by hypermail 2.1.8 : Mon Feb 25 2008 - 23:14:17 EST

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library