FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

LinkBack Thread Tools
Old 11-22-2007, 08:20 PM
Alex Samad
Default Help With Custom Deb Package


I am in the process of rebuilding one of my servers and I thought hey why not
build a package, that links all the other packages I need, and the
corresponding configuration files.

I am guessing this has been thought of before but haven't seen anything for it,
so I thought I would come to the list (tried debian-user first but realised
that might have been the wrong place to ask the question)

I am having a look at debhelper, debian policy and maint-guide.
for example for server test.acme.com

I was going to create a package test.acme.com and making it dependant on the
required packages (I can specific a base minimum).

Any one else done this, what hurdles might I face ? How am i going to handle 2
packages owning a file, for example for bind and my custom package and the file
/etc/bind/named.conf ???

I have come across the replaces option for file handling I think, although now
I am thinking that i should really just replace the files in the postinst
scripts, after backing up the files into /var/backup

My other thought aswell is that i need to use pre-depends on all the packages
that I want, so that they are in place and configured before my packages tried
to do any thing ?

Comments/ thoughts ?


Thread Tools

All times are GMT. The time now is 06:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org