Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Antti-Juhani Kaijanaho
On 20050519T153811+1000, Anthony Towns wrote: Adeodato Simó wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. This is an inconsistency that makes it a

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Goswin von Brederlow
Anthony Towns aj@azure.humbug.org.au writes: Adeodato Simó wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. This is an inconsistency that makes it a

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Anthony Towns
Antti-Juhani Kaijanaho wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. Why not add a patch to grep-dctrl instead? What patch would that be? Something equivalent

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Anthony Towns
Goswin von Brederlow wrote: The detection of binary NMUs is currently, among others, using the debian version of a package and guessing from its form. What is a binary NMU and what not is not aparent from the Packages file. It has been suggested to insert Source: entries pointing to the original

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Antti-Juhani Kaijanaho
On 20050519T205101+1000, Anthony Towns wrote: Something equivalent to: cat /var/lib/dpkg/available | awk '/^Package:/ {P=$2;V=} /^Version:/ {if (V==) { V=$2; } } /^Source: .* (.*)/ {V=substr($3,2,length($3)-2)} /^Source:/ {P=$2} /^$/ { print

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Goswin von Brederlow
Anthony Towns aj@azure.humbug.org.au writes: Goswin von Brederlow wrote: The detection of binary NMUs is currently, among others, using the debian version of a package and guessing from its form. What is a binary NMU and what not is not aparent from the Packages file. It has been suggested

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Adeodato =?iso-8859-1?Q?Sim=F3?=
* Anthony Towns [Thu, 19 May 2005 15:38:11 +1000]: Adeodato Simó wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. This is an inconsistency that makes

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Jeroen van Wolffelaar
On Thu, May 19, 2005 at 12:18:55PM +0200, Goswin von Brederlow wrote: The detection of binary NMUs is currently, among others, using the debian version of a package and guessing from its form. What is a binary NMU and what not is not aparent from the Packages file. It has been suggested to

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Goswin von Brederlow
Adeodato Simó [EMAIL PROTECTED] writes: * Anthony Towns [Thu, 19 May 2005 15:38:11 +1000]: Adeodato Simó wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Bill Allombert
On Thu, May 19, 2005 at 07:34:46PM +0200, Jeroen van Wolffelaar wrote: On Thu, May 19, 2005 at 12:18:55PM +0200, Goswin von Brederlow wrote: The detection of binary NMUs is currently, among others, using the debian version of a package and guessing from its form. What is a binary NMU and

Re: Entries in Packages files that lack a Source field

2005-05-19 Thread Goswin von Brederlow
Bill Allombert [EMAIL PROTECTED] writes: On Thu, May 19, 2005 at 07:34:46PM +0200, Jeroen van Wolffelaar wrote: On Thu, May 19, 2005 at 12:18:55PM +0200, Goswin von Brederlow wrote: The detection of binary NMUs is currently, among others, using the debian version of a package and guessing

Entries in Packages files that lack a Source field

2005-05-18 Thread Adeodato Simó
Hello all, As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. This is an inconsistency that makes it a bit harder to massage this data, e.g. with grep-dctrl.

Re: Entries in Packages files that lack a Source field

2005-05-18 Thread Anthony Towns
Adeodato Simó wrote: As you probably know, entries in the Packages file only have a Source field if the name of the source package is different from the name of the binary package being described. This is an inconsistency that makes it a bit harder to massage this data, e.g. with