Bug#621442: uses libdb4.8

2011-04-18 Thread Ondřej Surý
Package: tcpstat
Severity: normal

Hi,

is there a reason why you link and depend to a specific version of
libdb?  It doesn't seem that tcpstat use anything special from
Berkeley DB (transactions) so there is no reason to depend on
libdbX.Y-dev instead of libdb-dev.

Could you please do that change?

Ondrej



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621442: uses libdb4.8

2011-04-18 Thread Rafael Cunha de Almeida
On Mon, Apr 18, 2011 at 03:52:10PM +0200, Ondřej Surý wrote:
 Package: tcpstat
 Severity: normal
 
 Hi,
 
 is there a reason why you link and depend to a specific version of
 libdb?

There isn't necessarily. I don't know much about libdb myself, but in
previous releases I had problems trying to link with -ldb. It was
probably my own fault, though.

 It doesn't seem that tcpstat use anything special from
 Berkeley DB (transactions) so there is no reason to depend on
 libdbX.Y-dev instead of libdb-dev.
 
 Could you please do that change?

It certainly doesn't use transactions. In fact, the only reason the
package uses libdb is to create an in-memory hash (it doesn't even
create any files). I'll try to make the package depend on libdb-dev
instead. However, I have a question regarding that change. By depending
on a generic libdb-dev, don't I risk the package breaking when future
versions of libdb are released?

[]'s
Rafael



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621442: uses libdb4.8

2011-04-18 Thread Ondřej Surý
On 18.4.2011, at 17:18, Rafael Cunha de Almeida raf...@kontesti.me wrote:

 On Mon, Apr 18, 2011 at 03:52:10PM +0200, Ondřej Surý wrote:
 Package: tcpstat
 Severity: normal
 
 Hi,
 
 is there a reason why you link and depend to a specific version of
 libdb?
 
 There isn't necessarily. I don't know much about libdb myself, but in
 previous releases I had problems trying to link with -ldb. It was
 probably my own fault, though.

Not necessarily... The db packages changed a lot on unstable.

 It doesn't seem that tcpstat use anything special from
 Berkeley DB (transactions) so there is no reason to depend on
 libdbX.Y-dev instead of libdb-dev.
 
 Could you please do that change?
 
 It certainly doesn't use transactions. In fact, the only reason the
 package uses libdb is to create an in-memory hash (it doesn't even
 create any files). I'll try to make the package depend on libdb-dev
 instead.

Cool, it is much appreciated.

 However, I have a question regarding that change. By depending
 on a generic libdb-dev, don't I risk the package breaking when future
 versions of libdb are released?

That would be my fault as Berkeley DB maintainer. If there is such risk I will 
inform you (and all other affected packages).

O.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org