perl-Config-Patch-0.09-alt1.noarch.rpm


Advertisement

Description

perl-Config-Patch - Patch configuration files and unpatch them later

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Config-Patch-0.09-alt1.noarch.rpm
Package name perl-Config-Patch
Package version 0.09
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 48.17 KB
Installed size 48.17 KB
Config::Patch provides an interface to modify configuration files
in a way so that the changes can be rolled back later on.
For example, let's say that an application wants to append the line
joeschmoe ALL= NOPASSWD:/etc/rc.d/init.d/myapp
at the end of the /etc/sudoers file to allow user joeschmoe to start and
stop the myapp application as root without having to type a password.
Normally, you'd have to do this by hand or via an installation script.
And later on, when myapp gets ejected from the system,
you'd have to remember to delete the line from /etc/sudoers as well.
Config::Patch provides an automated way to apply this 'patch' to the
configuration file and to detect and eject it later on. It does this
by placing special markers around the insertion, without having to refer
to any external meta data.
Note that a 'patch'
in this context is just a snippet of text that's to be applied somewhere
within the file (not to be confused with the diff-formatted text used
by the `patch' Unix utility).
Patches are line-based, `Config::Patch' always adds/removes entire lines.

Alternatives

Package Version Architecture Repository
perl-Config-Patch - - -

Requires

Name Value
/usr/share/perl5 -
perl(Fcntl.pm) -
perl(Log/Log4perl.pm) -
perl(MIME/Base64.pm) -
perl(Set/IntSpan.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Config/Patch.pm) = 0.090
perl-Config-Patch = 0.09-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Config-Patch-0.09-alt1.noarch.rpm
Source Package perl-Config-Patch-0.09-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Config-Patch rpm package:
    # sudo apt-get install perl-Config-Patch

Files

Path
/usr/share/doc/perl-Config-Patch-0.09/Changes
/usr/share/doc/perl-Config-Patch-0.09/README
/usr/share/perl5/Config/Patch.pm

See Also

Package Description
perl-Config-Patch-scripts-0.09-alt1.noarch.rpm Config-Patch scripts
perl-Config-Path-0.13-alt2_7.noarch.rpm Path-like config API with multiple file support, directory
perl-Config-Perl-0.06-alt1.noarch.rpm Perl extension to parse configuration files written in a subset of Perl and (limited) undumping of
perl-Config-Pg-ServiceFile-0.02-alt1.noarch.rpm PostgreSQL connection service file parser
perl-Config-Pit-0.04-alt1.noarch.rpm Manage settings
perl-Config-Pit-scripts-0.04-alt1.noarch.rpm Config-Pit scripts
perl-Config-Plugin-Tiny-1.01-alt1.noarch.rpm A plugin which uses Config::Tiny
perl-Config-Plugin-TinyManifold-1.01-alt1.noarch.rpm A plugin which uses Config::Tiny with 1 of N sections
perl-Config-Pod-0.01-alt1.noarch.rpm perl module Config-Pod
perl-Config-Processor-0.28-alt1.noarch.rpm Cascading configuration files processor with additional features
perl-Config-Properties-1.80-alt1_10.noarch.rpm Read and write property files
perl-Config-Properties-Commons-1.0.1-alt1.noarch.rpm Read and write Apache Commons Configuration style Properties
perl-Config-Properties-Simple-0.14-alt1.noarch.rpm Perl extension to manage configuration files
perl-Config-ReadAndCheck-0.04-alt1.noarch.rpm Perl module for parsing generic config files
perl-Config-Record-1.1.2-alt1_28.noarch.rpm Perl module for Configuration file access
Advertisement
Advertisement