From nobody Thu Jan 27 08:56:08 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C038D19748A3 for ; Thu, 27 Jan 2022 08:56:20 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JkvZq2Pt7z4mWX; Thu, 27 Jan 2022 08:56:18 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-48-130-181.area1b.commufa.jp [123.48.130.181]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 20R8u9mu070804; Thu, 27 Jan 2022 17:56:10 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 27 Jan 2022 17:56:08 +0900 From: Tomoaki AOKI To: dev-commits-ports-main@freebsd.org Cc: Matthias Andree Subject: Re: git: c443b6628ed1 - main - mail/bogofilter*: change default database Message-Id: <20220127175608.b0167f3413aed8ca777c6454@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4JkvZq2Pt7z4mWX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [0.65 / 15.00]; FAKE_REPLY(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.11)[0.111]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.87)[-0.866]; MLMMJ_DEST(0.00)[dev-commits-ports-main]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[123.48.130.181:received] X-ThisMailContainsUnwantedMimeParts: N 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 > AuthorDate: 2022-01-27 00:05:16 +0000 > Commit: Matthias Andree > 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