Hello. Last days I was trying to write some more complicated debconf scripts. After making some changes I had two way to include them in my package: 1) rebuild it once again which is very long task if package is quite big 2) simply use ar/tar tools to extract, replace and make new deb package I was looking for some tool which could automate second solution, and I didn't find anything... is there any tool for that? I can't believe that noone else had similar problem as mine. So the question is: is there any tool which will allow me to replace some file in binary package? That's how I can imagine it: [ replacing file in binary package ] deb-fix --replace package.config package_2.3-1_i386.deb [ extract particular file from binary package ] deb-fix --extract foo package_2.3-1_i386.deb [ modify some header in control file, so httpd will be removed from dependencies ] deb-fix --remove --header=Depends httpd package_2.3-1_i386.deb [ modify changelog in binary package, this will extract .deb and launch $EDITOR changelog ] deb-fix --edit changelog package_2.3-1_i386.deb deb-fix is of course only an idea for the name. And above situations are examples too, but I think there are more similar situations where such tool would be very useful. In addition deb-fix could modify .dsc and .changes files accordingly. If there is no such tool, then I'll try to write something on my own ;) regards fEnIo -- _ Bartosz Fenski | mailto:fenio@o2.pl | pgp:0x13fefc40 | IRC:fEnIo _|_|_ 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Polska (0 0) phone:+48602383548 | Slackware - the weakest link ooO--(_)--Ooo http://skawina.eu.org | JID:fenio@jabber.org | RLU:172001
Attachment:
signature.asc
Description: Digital signature