Created attachment 209835 [details] port upgrade to 2.02 postfwd3 (a.k.a. postfwd 2.02) is a drop-in replacement for postfwd1/postfwd2. Neither the ruleset nor the commandline arguments need any changes. From the orginal announcement: ---- postfwd3 is a drop-in replacement, which means that rulesets and command-line arguments don't need to be changed. The only exception is a small change to the plugin interface. If you use external plugins you should contact the author and ask if the new interface is supported. Plug-in developers will find the changes within the documentation and are encouraged to contact me, if they face any problems. Besides many new feature like multiple actions per rule, dynamic groups, full ipv6 support and lots of fixes and optimisations, postfwd3 combines the personalities of postfwd1 (single process multiplexer) and postfwd2 (multi process prefork). This facilitates the development process as the old versions used different codebases and every feature had to be coded twice in the past. You can switch between the personalities by command-line arguments. More information can be found in the changelog at https://postfwd.org/CHANGELOG and the documentation at https://postfwd.org/doc.html. ----
Could you please fix DEVELOPER=yes and portlint errors: --- /!\ postfix-postfwd-2.02_1: Makefile errors /!\ Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME --- --- WARN: Makefile: [10]: USE_* seen before USES. According to the porters-handbook, USES must appear first. WARN: Makefile: [33]: do not use muted INSTALL_foo commands (i.e., those that start with '@'). These should be printed. FATAL: Makefile: DISTVERSIONPREFIX appears out-of-order. FATAL: Makefile: extra item "USE_GITHUB" placed in the PORTNAME section. FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PROJECTHOST/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES/DIST_SUBDIR/EXTRACT_ONLY. FATAL: Makefile: either PORTVERSION or DISTVERSION must be specified, not both. WARN: Makefile: "USES" has to appear earlier. 4 fatal errors and 3 warnings found. --- Also would you like to take the maintainershup of this port?
Created attachment 210005 [details] port upgrade to 2.02
(In reply to Dmitry Marakasov from comment #1) Thank you for the hints. I've replaced my patch by a new one that does not throw any Makefile errors. portlint -C looks good too. I also would like to take the maintainership of this port.
A commit references this bug: Author: amdmi3 Date: Sat Dec 28 17:38:50 UTC 2019 New revision: 521227 URL: https://svnweb.freebsd.org/changeset/ports/521227 Log: - Update to 2.02 - Pass maintainership to submitter PR: 242550 Submitted by: andreas.jobs+freebsdbugs@ruhr-uni-bochum.de Changes: head/mail/postfix-postfwd/Makefile head/mail/postfix-postfwd/distinfo head/mail/postfix-postfwd/pkg-plist
Note that I've had to fix plist (there were missing manpages and docs, however I've automated handling of the latter by switching to PORTDOCS=* PORTEXAMPLES=*)