Re: git: c443b6628ed1 - main - mail/bogofilter*: change default database
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jan 2022 08:56:08 UTC
Hi. Can you explain more detailed example on UPDATING? Running `bogoutil` without no parameters just shows usage. Maybe `bogoutil -d ./bogofilter/wordlist.db > some/backup/file` or something BEFORE upgrading mail/bogofilter, and something else AFTER upgrading to restore. *I'm not sure `bogoutil -R some/backup/file` is OK for restoring. Am I missing something? Fortunately, I've not yet bitten as no bumps are done. But maybe bitten on next upgrade... Regards. > The branch main has been updated by mandree: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=c443b6628ed1c2b7e5cd65ee4f8cc12340fad8e3 > > commit c443b6628ed1c2b7e5cd65ee4f8cc12340fad8e3 > Author: Matthias Andree <mandree_at_FreeBSD.org> > AuthorDate: 2022-01-27 00:05:16 +0000 > Commit: Matthias Andree <mandree_at_FreeBSD.org> > CommitDate: 2022-01-27 00:08:31 +0000 > > mail/bogofilter*: change default database > > * The default version of mail/bogofilter now uses LMDB instead > of Berkeley DB. It is not compatible and cannot read databases. > > * bogofilter was renamed to bogofilter-bdb > * bogofilter-lmdb was renamed to bogofilter > > * MOVED/UPDATING entries included. > --- > MOVED | 2 + > UPDATING | 15 +++ > mail/Makefile | 2 +- > mail/bogofilter-bdb/Makefile | 98 ++++++++++++++ > ++++++ mail/{bogofilter => bogofilter-bdb}/distinfo | 0 > .../files/patch-configure | 0 > .../files/patch-contrib__trainbogo.sh | 0 > mail/{bogofilter => bogofilter-bdb}/pkg-descr | 0 > mail/{bogofilter => bogofilter-bdb}/pkg-install | 0 > mail/{bogofilter => bogofilter-bdb}/pkg-plist | 0 > mail/bogofilter-kc/Makefile | 2 +- > mail/bogofilter-lmdb/Makefile | 19 ---- > mail/bogofilter-sqlite/Makefile | 2 +- > mail/bogofilter/Makefile | 102 ++ > +------------------ 14 files changed, 130 insertions(+), 112 deletions(-) > (snip) > diff --git a/UPDATING b/UPDATING > index 2ea507392648..9a0acdfe78ba 100644 > --- a/UPDATING > +++ b/UPDATING > _at__at_ -5,6 +5,21 _at__at_ they are unavoidable. > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > +20220126: > + AFFECTS: users of mail/bogofilter, mail/bogofilter-lmdb > + AUTHOR: mandree_at_FreeBSD.org > + > + The default version of mail/bogofilter now uses LMDB instead > + of Berkeley DB. It is not compatible and cannot read databases. > + > + Your options are: > + 1. use bogoutil on each wordlist for each of your users first, > + ONLY THEN reinstall bogofilter, THEN reload the databases with bogoutil, > + OR > + 2. install the matching bogofilter version and > + If you had been using bogofilter-lmdb so far, install bogofilter. > + If you had been using bogofilter so far, install bogofilter-bdb. > + > 20220125: > AFFECTS: users of lang/php74 > AUTHOR: tz_at_FreeBSD.org (snip) -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>