Subversion Repositories prayer-err

Compare Revisions

Ignore whitespace Rev 29 → Rev 30

/trunk/debian/patches/repair_ssl_session_db_on_version_mismatch.patch
0,0 → 1,20
--- a/lib/mydb_db3.c
+++ b/lib/mydb_db3.c
@@ -208,7 +208,7 @@ static int init(const char *dbdir, int m
if (!(r = myinit(dbdir, myflags)))
return(0);
- if (r != ENOENT) {
+ if (r != ENOENT && r != DB_VERSION_MISMATCH) {
log_panic("DBERROR: dbenv->open '%s' failed: %s", dbdir, db_strerror(r));
return MYDB_IOERROR;
}
@@ -217,7 +217,7 @@ static int init(const char *dbdir, int m
/* DPC 24/03/2002. DB_CREATE leaks 12 MBytes into dbenv.
* Workaround: close down dbenv, reopen after backing files created */
- r = myinit(dbdir, myflags|MYDB_CREATE);
+ r = myinit(dbdir, myflags|MYDB_CREATE|MYDB_RECOVER);
if (r) {
log_panic("DBERROR: dbenv->open '%s' failed: %s", dbdir, db_strerror(r));
return MYDB_IOERROR;
/trunk/debian/patches/series
1,0 → 0,0
makefile_install_config.patch
repair_ssl_session_db_on_version_mismatch.patch
/trunk/debian/changelog
14,6 → 14,9
* debian/control:
+ Build-depend on latest Berkley DB library (libdb-dev).
+ Add Homepage field.
* repair_ssl_session_db_on_version_mismatch.patch: Recreate session DB
environment when upgrading from a version of Prayer that used an older
BDB library.
* prayer.postinst: Set HOME of prayer user to /var/run/prayer.
* prayer.postrm: Simply remove /var/run/prayer (since accountd doesn't use it)
on remove or disappear and correctly remove statoverrides (Closes: #483176).
22,7 → 25,7
- Reduce makefile_install_config.patch by not changing BROOT into DESTDIR.
- Override CDBS overriding CFLAGS.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 31 May 2008 19:06:11 +0200
-- Magnus Holmgren <holmgren@debian.org> Sat, 31 May 2008 19:13:41 +0200
 
prayer (1.1.0-2) unstable; urgency=low