Bug 265316 - mail/spamassassin: no warning that an upgrade starts without any rules
Summary: mail/spamassassin: no warning that an upgrade starts without any rules
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-19 15:26 UTC by martin
Modified: 2024-05-15 12:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin 2022-07-19 15:26:58 UTC
spamassassin stopped detecting spam after a pkg upgrade from spamassassin-3.4.5.pkg to spamassassin-3.4.6.pkg.  The problem is that sa-update needs to be run to fetch the rulesset, but this will not happen automatically until the daily periodic jobs overnight.

The "port currently does not have a maintainer" message was printed during the upgrade, but I think it should also mention the need to run sa-update.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-02-07 00:42:44 UTC
A commit in branch main references this bug:

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

commit b6ac42b186c0923b0c68f8cd3ddab1540a4d3a69
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-02-07 00:37:29 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-02-07 00:41:33 +0000

    mail/spamassassin*: Alter pkg-message to remind the user after upgrade

    pkg-message states sa-update and sa-compile should be run after a
    fresh install. It also tells the user to run these commands
    periodically after install, implying that they should also be
    run after update. Make the lanuage clearer so there is no confusion.

    PR:     265316
    MFH:    2024Q1

 mail/spamassassin-devel/Makefile             | 1 +
 mail/spamassassin-devel/files/pkg-message.in | 4 ++--
 mail/spamassassin/Makefile                   | 2 +-
 mail/spamassassin/files/pkg-message.in       | 8 ++++----
 4 files changed, 8 insertions(+), 7 deletions(-)
Comment 2 martin 2024-05-15 10:28:03 UTC
The message is better, but it isn't printed during pkg upgrade.
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2024-05-15 12:42:13 UTC
My local ansible ports tree (using python3.10) is at sysutils/ansible 9.5.1 and sysutils/py-ansible-core 2.16.6. Waiting for python3.10 to become default so I can push 15 pending commits.