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

Re: How to get .changes-Files for debs



On Mon, Nov 19, 2001 at 10:18:28AM +0100, Michael Hierweck wrote:
> Debarchiver requiere .changes-Files to do the sorting of new uploaded
> packages.
> 
> I can create the files using dpkg-genchanges when compiling a source
> package. But wehre do I get these when uploading binary pakcage onto
> my loacl debian archiv.

You'll have to synthesize one by either creating debian/control,
debian/changelog, and debian/files (or substitutes which you name using
-c, -l, and -f respectively) from the information you have and running
dpkg-genchanges, or writing the file yourself based on how .changes
files normally look.

You can pull the changelog out of the .deb using 'apt-listchanges --all
foo.deb', and similarly the control file using 'ar p foo.deb
control.tar.gz | tar xzOf - ./control'. That should be most of the work.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: