Patch to use buitlin python Berkeley Database bindings.
Ghe Rivero
--
one bug less to finish the NM process
--
CPD - Universidad Pontificia de Salamanca
Tlf. 923 277 136 - Ext. 7263
.''`. Pienso, Luego Incordio
: :' :
`. `' Proudly running Debian GNU/Linux (Sid 2.6.14)
`- www.debian.org www.upsa.es
GPG Key: 26F020F7
GPG fingerprint: 4986 39DA D152 050B 4699 9A71 66DB 5A36 26F0 20F7
diff -uNr apt-proxy-1.9.33/apt_proxy/apt_proxy.py
apt-proxy-1.9.33.new/apt_proxy/apt_proxy.py
--- apt-proxy-1.9.33/apt_proxy/apt_proxy.py 2006-01-26 13:09:10.000000000
+0100
+++ apt-proxy-1.9.33.new/apt_proxy/apt_proxy.py 2006-03-23 23:02:11.000000000
+0100
@@ -1715,7 +1715,7 @@
def __getattr__ (self, name):
def open_shelve(dbname):
- from bsddb3 import db,dbshelve
+ from bsddb import db,dbshelve
shelve = dbshelve.DBShelf()
db_dir = self.config.cache_dir+'/'+status_dir+'/db'
diff -uNr apt-proxy-1.9.33/debian/control apt-proxy-1.9.33.new/debian/control
--- apt-proxy-1.9.33/debian/control 2006-01-26 13:09:10.000000000 +0100
+++ apt-proxy-1.9.33.new/debian/control 2006-03-23 22:35:25.000000000 +0100
@@ -8,7 +8,7 @@
Package: apt-proxy
Architecture: all
-Depends: debconf (>= 0.5.00) | debconf-2.0, ${python:Depends}, python-twisted
(>= 1.3.0-7) | python2.3 (<< 2.3.5-1), python-twisted (>= 1.0.0),
python-twisted-web | python-twisted (<< 2.1.0) python-apt (>= 0.5.8),
python-bsddb3, bzip2, logrotate, adduser
+Depends: debconf (>= 0.5.00) | debconf-2.0, ${python:Depends}, python-twisted
(>= 1.3.0-7) | python2.3 (<< 2.3.5-1), python-twisted (>= 1.0.0),
python-twisted-web | python-twisted (<< 2.1.0) python-apt (>= 0.5.8), bzip2,
logrotate, adduser
Conflicts: apt-proxy-v2 (<= 1.9.5)
Replaces: apt-proxy-v2 (<= 1.9.5)
Suggests: rsync