Bug 274676 - [NEW PORT] mail/notimail: Server-side email notification manager with push support
Summary: [NEW PORT] mail/notimail: Server-side email notification manager with push su...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 15:16 UTC by Stefano Marinelli
Modified: 2025-03-19 19:54 UTC (History)
3 users (show)

See Also:


Attachments
NotiMail port (5.63 KB, patch)
2023-10-23 15:16 UTC, Stefano Marinelli
no flags Details | Diff
Patch for NotiMail 2.0.1 - trying to follow the requests (5.37 KB, patch)
2025-02-22 17:39 UTC, Stefano Marinelli
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefano Marinelli 2023-10-23 15:16:09 UTC
Created attachment 245831 [details]
NotiMail port

Server-side email notification manager with push support
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-11-20 07:36:20 UTC
Thank you for your submission.  I apologise for the delay in getting this one processed.

Please check the following issues:

 - we don't want leading v in PORTVERSION.  Please instead set

    DISTVERSIONPREFIX= v
    DISTVERSION= 0.11.2

 - GH_TAGNAME defaults to ${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
   which is correct in your case.  Please discard the line that sets it.
 - PREFIX is predefined in SUB_LIST, no need to set it yourself
 - please remove the leading and trailing === from pkg-message
 - this needs USE_RC_SUBR
 - python versions before 3.6 are not supported, so please remove 3.6+
 - no files or directories should be owned by nobody.  You could avoid this by
   using the account daemon instead.
 - check if it is appropriate to use the @sample mechanism for your config.ini
 - your pkg-plist already sets up correct permissions for /var/cache/notimail
   and /var/log/notimal, so no need to instruct the user to change permissions
 - are you sure /var/cache is the right directory for a database file?  Daemons
   must be able to cope with /var/cache being cleared at any point in time.  If
   thee database needs to be preserved, put it into /var/db.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2025-02-22 08:33:00 UTC
Friendly ping
Comment 3 Stefano Marinelli 2025-02-22 17:39:45 UTC
Created attachment 257742 [details]
Patch for NotiMail 2.0.1 - trying to follow the requests

Sorry for the delay, I intended to generate the port directly for the new version but didn't create it due to lack of time. I’ve fixed the requests and prepared the patch for the new release – let me know if there’s anything to fix or correct. Thank you!
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2025-02-26 16:51:37 UTC
(In reply to Stefano Marinelli from comment #3)

Looking good!  Will commit with my next batch.

That said, I'll copy-edit your pkg-message to remove step 1 as the @sample
mechanism ensures the sample configuration file is copied to the non-sample file on installation.

One minor issue that I can fix on commit: the letter case between package name and upstream name differs.  We generally prefer to use the same letter case as upstream.  Is it okay if I change the port to use the same letter case as upstream?  If yes, shall I also change the name of the installed binary to use mixed case?
Comment 5 Stefano Marinelli 2025-02-27 08:10:32 UTC
(In reply to Robert Clausecker from comment #4)

Perfect, thank you! Of course, go ahead with the changes you think are necessary to make it better integrated in the ports and more consistent with the general rules. It's fine for me to use mixed case even for binary - after all, the final goal is for the user to use it via the rc script, so I don't think it will be a problem if it's not all in lowercase.
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-03-16 10:21:25 UTC
A commit in branch main references this bug:

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

commit 27ecd7d58ffddc87a191128ad8cb9921539f53fa
Author:     Stefano Marinelli <stefano@dragas.it>
AuthorDate: 2025-02-22 17:33:01 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-03-16 10:19:26 +0000

    mail/notimail: Server-side email notification manager with push support

    NotiMail is a server-side email notification manager that utilizes
    various push providers for real-time alerts, conserving mobile battery
    life without compromising on notification immediacy.

    WWW: https://github.com/draga79/NotiMail

    PR:             274676

 mail/notimail/Makefile (new)             | 36 +++++++++++++++++++++++
 mail/notimail/distinfo (new)             |  3 ++
 mail/notimail/files/notimail.in (new)    | 49 ++++++++++++++++++++++++++++++++
 mail/notimail/files/pkg-message.in (new) |  9 ++++++
 mail/notimail/pkg-descr (new)            |  3 ++
 mail/notimail/pkg-plist (new)            |  5 ++++
 6 files changed, 105 insertions(+)
Comment 7 Robert Clausecker freebsd_committer freebsd_triage 2025-03-16 10:23:34 UTC
Thank you for your contribution.
Sorry for the slow commit.
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-03-19 19:54:21 UTC
A commit in branch main references this bug:

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

commit c4d49261bebee27d93a717222128eaa3520c0086
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-03-19 19:51:13 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-03-19 19:52:37 +0000

    mail/notimail: Hook to the build

    PR:             274676
    Reported by:    antoine

 mail/Makefile | 1 +
 1 file changed, 1 insertion(+)