Debian Developers - looking for package related tool

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > December 2004 > looking for package related tool





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author looking for package related tool
Bartosz Fenski aka fEnIo

2004-12-27, 5:52 pm

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

Frank Küster

2004-12-27, 5:52 pm

Bartosz Fenski aka fEnIo <fenio@o2.pl> schrieb:

> 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?


You're probably looking for

http://lists.debian.org/debian-deve...5/msg00944.html

Regards, Frank
--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer
Guillem Jover

2004-12-29, 2:48 am

Hi,

On Mon, Dec 27, 2004 at 06:34:02PM +0100, Bartosz Fenski aka fEnIo wrote:
> 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?


Martin F. Krafft has written dpkg-reversion (or probably renamed to
debedit), take a look at:

<http://lists.debian.org/debian-deve...2/msg00842.html>
<http://lists.debian.org/debian-deve...2/msg00904.html>

regards,
guillem


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Bartosz Fenski aka fEnIo

2004-12-29, 7:55 am

On Wed, Dec 29, 2004 at 07:50:02AM +0100, Guillem Jover wrote:
>
> Martin F. Krafft has written dpkg-reversion (or probably renamed to
> debedit), take a look at:
>
> <http://lists.debian.org/debian-deve...2/msg00842.html>
> <http://lists.debian.org/debian-deve...2/msg00904.html>


Thanks a lot for these urls. It seems to be something I was looking for ;)

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com