Bug#526244: Please update reprepro packaging to make use of libdb-dev instead of libdb4.6-dev

2009-05-01 Thread fabrice


Bernhard R. Link escribió:

* Fabrice Coutadeur fabric...@ubuntu.com [090430 06:43]:
As reprepro is compatible with libdb4.7 since january, can you please update the 
packaging of reprepro to make use of libdb-dev instead of libdb4.6-dev,


that would break once libdb4.8 is out (as libdb4.X uses some monstrosity
instead of sonames, so every minor version is a totally different
library from the view of the linker and autotools.)


Fair enough. Then, maybe a libdb4.6-dev | libdb4.7-dev build dependency 
would make the trick?



and also update the rules file to take into account libdb4.7?


Looking into libdb4.7 is on my todo list. I'd love to have the same


Ok. Thanks!


As attachement, here is the patch we apply in Ubuntu

I'm aware of those. The reason this is so short is because I already
added the libdb4.7 linking to configure. Note the big fat

configure: WARNING: reprepro not yet tested with libdb4.7, use on your own risk


Yeah: noticed it before, when building the package (and got scared :-) )


warning this produces in ubuntu build logs. I was bitten by libdb
too often to trust it with anything I've not thouroughly tested.
(Though as ubuntu already uses it, I decided to make this possible in
configure with the above warning).


ok. I'll follow up with the merges, then, until you make a compatible 
version.


Thanks,

Fabrice



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



Bug#526244: Please update reprepro packaging to make use of libdb-dev instead of libdb4.6-dev

2009-04-30 Thread Bernhard R. Link
* Fabrice Coutadeur fabric...@ubuntu.com [090430 06:43]:
 As reprepro is compatible with libdb4.7 since january, can you please update 
 the 
 packaging of reprepro to make use of libdb-dev instead of libdb4.6-dev,

that would break once libdb4.8 is out (as libdb4.X uses some monstrosity
instead of sonames, so every minor version is a totally different
library from the view of the linker and autotools.)

 and also update the rules file to take into account libdb4.7?

Looking into libdb4.7 is on my todo list. I'd love to have the same
library used in stable, testing and unstable to make people switching
between those easier, but I guess that will not be possible.
(Which is a bit ugly, since I miss the possibility to test reprepro with
the newer libdb in an production environment, perhaps I'll have to
create backports of libdb4.7 on my own sometime).

 As attachement, here is the patch we apply in Ubuntu

 *** /tmp/tmpG90gyD
 In Ubuntu, we've applied the attached patch to achieve the following:

   * Merge from Debian unstable (LP: #329830). Remaining Ubuntu changes:
 + debian/control: libdb-dev transition
 + debian/rules: added some magic to accept bdb 4.7

 We thought you might be interested in doing the same.

I'm aware of those. The reason this is so short is because I already
added the libdb4.7 linking to configure. Note the big fat

configure: WARNING: reprepro not yet tested with libdb4.7, use on your own risk

warning this produces in ubuntu build logs. I was bitten by libdb
too often to trust it with anything I've not thouroughly tested.
(Though as ubuntu already uses it, I decided to make this possible in
configure with the above warning).

Hochachtungsvoll,
Bernhard R. Link



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



Bug#526244: Please update reprepro packaging to make use of libdb-dev instead of libdb4.6-dev

2009-04-29 Thread Fabrice Coutadeur
Package: reprepro
Version: 3.8.2-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

As reprepro is compatible with libdb4.7 since january, can you please update 
the 
packaging of reprepro to make use of libdb-dev instead of libdb4.6-dev, and also
update the rules file to take into account libdb4.7?
As attachement, here is the patch we apply in Ubuntu

*** /tmp/tmpG90gyD
In Ubuntu, we've applied the attached patch to achieve the following:

  * Merge from Debian unstable (LP: #329830). Remaining Ubuntu changes:
+ debian/control: libdb-dev transition
+ debian/rules: added some magic to accept bdb 4.7

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u reprepro-3.8.2/debian/control reprepro-3.8.2/debian/control
--- reprepro-3.8.2/debian/control
+++ reprepro-3.8.2/debian/control
@@ -1,8 +1,9 @@
 Source: reprepro
 Section: utils
 Priority: extra
-Maintainer: Bernhard R. Link brl...@debian.org
-Build-Depends: debhelper (= 5), libgpgme11-dev, libdb4.6-dev, libz-dev, libbz2-dev, libarchive-dev
+Maintainer: Ubuntu MOTU Developers ubuntu-m...@lists.ubuntu.com
+XSBC-Original-Maintainer: Bernhard R. Link brl...@debian.org
+Build-Depends: debhelper (= 5), libgpgme11-dev, libdb-dev, libz-dev, libbz2-dev, libarchive-dev
 Standards-Version: 3.8.0
 Vcs-Browser: http://alioth.debian.org/plugins/scmcvs/cvsweb.php/mirrorer/?cvsroot=mirrorer
 Vcs-Cvs: :pserver:anonym...@cvs.alioth.debian.org:/cvsroot/mirrorer reprepro
diff -u reprepro-3.8.2/debian/rules reprepro-3.8.2/debian/rules
--- reprepro-3.8.2/debian/rules
+++ reprepro-3.8.2/debian/rules
@@ -28,7 +28,11 @@
 ifneq (,$(filter reprepro-libdb4.4,$(BUILDOPTS)))
 	DBFLAGS = --with-libdb=4.4
 else
+ifneq (,$(filter reprepro-libdb4.6,$(BUILDOPTS)))
 	DBFLAGS = --with-libdb=4.6
+else
+	DBFLAGS = --with-libdb=4.7
+endif
 endif
 endif
 endif