[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: modify debian packages



BRINER Cedric wrote:

hi,

can we modify a debian source and rebuild it easily.

For really simplistic modifications, check out the "dpkg-repack" command (and package).. from the man page:

dpkg-repack creates a .deb file out of a Debian package that has already been installed on your system. If any changes have been made to the package while it was unpacked (ie, files in /etc modified), the new
      package will inherit the changes.

This utility can make it easy to copy packages from one computer to another, or to recreate packages that are installed on your system, but
      no longer available elsewhere.


have you any pointer on this or recommendation


Cedric Briner
P.-S. if you are interested why I'd like to do this check the following.

I have to take care of 30 debian station, and this will grow up.

I was thinking of using apt-get upgrade to propagate my configuration files to my stations.

eg.
you want to use cupssys.
so you change the:
/etc/cups/cupsd.conf
/etc/cups/printers.conf
/etc/cups/ppd/*.ppd files

apt-get source cupssys
report the cupsd.conf printers.conf and *.ppd on the source

rebuild the package

push it to your local repository

and ask your machine to automatically update from this repository.

no??? any better idea





Reply to: