Bug 251245 - mail/nullmailer: modernize pkg-plist
Summary: mail/nullmailer: modernize pkg-plist
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords: buildisok
Depends on:
Blocks:
 
Reported: 2020-11-18 23:14 UTC by Uffe Jakobsen
Modified: 2021-03-14 19:24 UTC (History)
2 users (show)

See Also:


Attachments
nunllmailer-pkg-plist-patch (1.27 KB, patch)
2020-11-18 23:14 UTC, Uffe Jakobsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2020-11-18 23:14:37 UTC
Created attachment 219801 [details]
nunllmailer-pkg-plist-patch

Attached is a modernized pkg-plist file for mail/nullmailer

 - use @postexec not @preexec commands
 - use @rmtry instead of @postunexec rm -f
Comment 1 Automation User 2021-01-20 00:39:13 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/244064573
Comment 2 Li-Wen Hsu freebsd_committer 2021-03-13 19:57:17 UTC
Uffe: Thanks for the patch. As this port currently doesn't have a maintainer, do you want to maintain this port?
Comment 3 Uffe Jakobsen 2021-03-14 12:10:26 UTC
Hello,

Actually I was the maintainer of nullmailer for a number of years.

But as stated in a response to a similar question in PR 251074 - the amount of validation requirements for ports have risen to a pile that big - that I'm not really in the mood for being a maintainer anymore... :-/
Comment 4 Li-Wen Hsu freebsd_committer 2021-03-14 19:24:57 UTC
(In reply to Uffe Jakobsen from comment #3)
Yeah, there are many tools for validating the ports now to help developers and contributors.  Indeed, the drawback is this sometimes confusing people who are not familiar or don't have enough resource on hand.

I believe this is necessary for raising the ports quality, but we also need to have modern tools to help us to complete the work.  After all, good tools should help people, not demotivate people.

I took sometime today to fix a project I started a while ago - using Cirrus CI to test FreeBSD ports.  I made an example for mail/nullmailer and test this patch:
https://github.com/lwhsu/freebsd-ports-nullmailer/pull/1

Please feel free to use this (I can even transfer this repository to you), help this can help you regain some motivation to maintain a port you care.

Also feel free to ask me any question about this, this is still a WIP, but it is good enough for testing ports like libreoffice: https://github.com/freebsd/freebsd-ports-libreoffice .  We will definitely provide more tools and services to help port maintainers.