Click here to get back home

Creating necessary configuration files on package installation

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Creating necessary configuration files on package installation David G. Hong 04-20-2008
Posted by David G. Hong on April 20, 2008, 8:39 pm
Please log in for more thread options
Hi,

I am writing a fairly customised piece of software. And some parts of
the software are configurable - meaning that there exists some sort of
configuration file like httpd.conf (for Apache 2). Now, I want to be
able to set this up upon package installation.

Is there a procedure I can use to do this?

Posted by David G. Hong on April 20, 2008, 9:12 pm
Please log in for more thread options
> Hi,
>
> I am writing a fairly customised piece of software. And some parts of
> the software are configurable - meaning that there exists some sort of
> configuration file like httpd.conf (for Apache 2). Now, I want to be
> able to set this up upon package installation.
>
> Is there a procedure I can use to do this?

May be I should clarify a little more.

Ultimately, I want to setup somethings like:

$PREFIX/conf/prog.conf

And have prog.conf contain some generic default configuration
settings. And this should be created upon:

perl Makefile.pl
make
make test
make install


Thanks,
David

Posted by David G. Hong on April 20, 2008, 9:12 pm
Please log in for more thread options
> Hi,
>
> I am writing a fairly customised piece of software. And some parts of
> the software are configurable - meaning that there exists some sort of
> configuration file like httpd.conf (for Apache 2). Now, I want to be
> able to set this up upon package installation.
>
> Is there a procedure I can use to do this?

May be I should clarify a little more.

Ultimately, I want to setup somethings like:

$PREFIX/conf/prog.conf

And have prog.conf contain some generic default configuration
settings. And this should be created upon:

perl Makefile.pl
make
make test
make install


Thanks,
David

Similar ThreadsPosted
Active Perl Package Installation June 7, 2006, 1:53 pm
commenting configuration files July 18, 2006, 12:46 pm
Configuration files: most widely used modules? January 3, 2006, 6:19 am
Trouble with permissions when creating files September 6, 2004, 8:12 pm
Creating 1 file w/ the contents of 7 other files mixed randomly. April 18, 2006, 3:47 pm
Another procmail configuration January 24, 2007, 5:11 pm
Apache Configuration using PERL July 17, 2007, 11:27 am
Apache Configuration with PERL July 18, 2007, 4:24 am
Apache Configuration with PERL July 18, 2007, 4:27 am
How to change configuration on installed Perl ? January 11, 2005, 9:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap