Bug#335771: Please use gnutls13 instead of gnutls11

2006-06-24 Thread Andreas Metzler
On 2006-06-24 John Belmonte <[EMAIL PROTECTED]> wrote:
> Andreas Metzler wrote:
>> However for gnutls libgnutls-dev is no virtual package but a real one,
>> there is no libgnutls13-dev. So it would not be xmlsec1 not implementing
>> DLP but gnutls.

> I see.  So why has gnutls removed the sonumber from the -dev package?

That happened before we took over the package, but afaiui gnutls
simply is supposed to have a reached a state where the API should not
break.

> It may make your transitions appear easier in that you don't have to
> rely on dependent packages to change their BD, but will create other
> problems.  If there is a major API change in the future that takes
> upstream packages a few years to migrate to, Debian will be stuck
> because we can't support build depends for two versions in the same
> archive.

I cannot see unsurmountable problems actually. If gnutls15 breaks the
api in an incompatible way, we can still switch:
Package: libgnutls15-dev
Conflicts: libgnutls-dev

and the old libgnutls-dev would simply need to have a Conflict with
libgnutls15-dev added.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.(c) Jasper Ffforde


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#335771: Please use gnutls13 instead of gnutls11

2006-06-24 Thread John Belmonte
Andreas Metzler wrote:
> However for gnutls libgnutls-dev is no virtual package but a real one,
> there is no libgnutls13-dev. So it would not be xmlsec1 not implementing
> DLP but gnutls.

I see.  So why has gnutls removed the sonumber from the -dev package?
It may make your transitions appear easier in that you don't have to
rely on dependent packages to change their BD, but will create other
problems.  If there is a major API change in the future that takes
upstream packages a few years to migrate to, Debian will be stuck
because we can't support build depends for two versions in the same archive.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#335771: Please use gnutls13 instead of gnutls11

2006-06-24 Thread Andreas Metzler
On 2006-06-23 John Belmonte <[EMAIL PROTECTED]> wrote:
> James Westby wrote:
[...]
> > -Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, 
> > libxml2-dev, libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls11-dev, 
> > libnss3-dev
> > +Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, 
> > libxml2-dev, libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls-dev, libnss3-dev

> This violates best practice given by the Debian Library Packaging Guide:

> 
> 

Yes, and no. The DLP describes the B-D of a package depending on
something like this
Package: libfoo42-dev
Provides: libfoo-dev

However for gnutls libgnutls-dev is no virtual package but a real one,
there is no libgnutls13-dev. So it would not be xmlsec1 not implementing
DLP but gnutls.

> In any case, I will fix this bug once proper runtime testing has been
> done against the new gnutls version.

Thank you.
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.(c) Jasper Ffforde


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#335771: Please use gnutls13 instead of gnutls11

2006-06-23 Thread John Belmonte
James Westby wrote:
> tags 335771 patch
> thanks
> 
> Hi,
> 
> I rebuilt xmlsec1 with the attatched (trivial) patch and it seemed to
> build fine. I didn't test the resulting package however.
> 
> James
> 
...
> -Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, libxml2-dev, 
> libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls11-dev, libnss3-dev
> +Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, libxml2-dev, 
> libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls-dev, libnss3-dev

This violates best practice given by the Debian Library Packaging Guide:




In any case, I will fix this bug once proper runtime testing has been
done against the new gnutls version.

--John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#335771: Please use gnutls13 instead of gnutls11

2006-06-22 Thread James Westby
tags 335771 patch
thanks

Hi,

I rebuilt xmlsec1 with the attatched (trivial) patch and it seemed to
build fine. I didn't test the resulting package however.

James


-- 
  James Westby
  [EMAIL PROTECTED]
  http://jameswestby.net/
diff -u xmlsec1-1.2.9/debian/control xmlsec1-1.2.9/debian/control
--- xmlsec1-1.2.9/debian/control
+++ xmlsec1-1.2.9/debian/control
@@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: John V. Belmonte <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, libxml2-dev, 
libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls11-dev, libnss3-dev
+Build-Depends: debhelper (>> 4.0.0), autotools-dev, pkg-config, libxml2-dev, 
libxslt1-dev, libssl-dev (>= 0.9.7), libgnutls-dev, libnss3-dev
 Standards-Version: 3.7.2
 
 Package: libxmlsec1-dev
diff -u xmlsec1-1.2.9/debian/changelog xmlsec1-1.2.9/debian/changelog
--- xmlsec1-1.2.9/debian/changelog
+++ xmlsec1-1.2.9/debian/changelog
@@ -1,3 +1,11 @@
+xmlsec1 (1.2.9-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-Depends on libgnutls-dev rather than libgnutls11-dev so the latter
+can be removed. (Closes: #335771)
+
+ -- James Westby <[EMAIL PROTECTED]>  Fri, 23 Jun 2006 04:58:28 +0100
+
 xmlsec1 (1.2.9-2) unstable; urgency=low
 
   * Add engine libraries to depends of dev package