Bug 271767 - mail/exim: error in 150.exim-tidydb script
Summary: mail/exim: error in 150.exim-tidydb script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-01 15:39 UTC by Alexander Sheiko
Modified: 2023-11-08 17:04 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
Patch to fix error (488 bytes, patch)
2023-06-01 15:39 UTC, Alexander Sheiko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sheiko 2023-06-01 15:39:31 UTC
Created attachment 242537 [details]
Patch to fix error

Run original 150.exim-tidydb:

/usr/local/etc/periodic/daily/150.exim-tidydb.orig

Tidying Exim hints databases:



Run fixed 150.exim-tidydb:

/usr/local/etc/periodic/daily/150.exim-tidydb

Tidying Exim hints databases:

Tidying Exim hints database /var/spool/exim/db/callout
Tidying complete

Tidying Exim hints database /var/spool/exim/db/ratelimit
Tidying complete

Tidying Exim hints database /var/spool/exim/db/retry
Tidying complete

Tidying Exim hints database /var/spool/exim/db/wait-remote_smtp
Tidying complete

Patch to fix error attached.
Comment 1 David Siebörger 2023-06-07 10:00:36 UTC
This problem was caused by the change from DBM to NDBM in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265098  We missed this change then.

I've tested Alexander's patch and it works here.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-08 17:03:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d6100d49222ced15d58be97cc6c64d938b1ca48c

commit d6100d49222ced15d58be97cc6c64d938b1ca48c
Author:     Alexander Sheiko <adsh@univ.kiev.ua>
AuthorDate: 2023-11-08 17:01:27 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2023-11-08 17:03:20 +0000

    mail/exim: fix 150.exim-tidydb script for new .db files

    PR:             271767
    Author:         Alexander Sheiko <adsh@univ.kiev.ua>
    Tested-by:      David Siebörger <drs-freebsd@sieborger.nom.za>
    Approved-by:    fluffy (implicit)

 mail/exim/files/150.exim-tidydb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2023-11-08 17:04:00 UTC
Committed, thanks!