Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
- use strl*() functions in libc, instead of sm_strl*()
- add an option to link against libunbound
PR: ports/131884
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
- Update to 2.8.1
- Defer use of !=
- Update RC script to be more modern
PR: ports/130636
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
There are some executables installed with dkim-filter, the
milter program; dkim-genkey, dkim-stats, dkim-testkey and
dkim-testssp.
These are installed into the same directory with dkim-filter
(i.e. ${PREFIX}/libexec/), but should be placed to
${PREFIX}/bin/ instead, since they're not daemon.
PR: 118752
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
- Actual use all available configuration options in rc script
PR: ports/110526
Submitted by: Ludger Bolmerg <lbolmerg@web.de>
Approved by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
1) change COMMENT resembling to mail/dk-milter
2) rename gentxt as mail/dk-milter installs it in the same location
3) do not install libar
4) new option to make it run as a DomainKeys verifier as well.
# 1, 2, and 3 were pointed by ache.
PR: 105185
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
- Fix starting up multiple instance.
- Fix RUN_DEPENDS does not work correctly by mistake.
- Support mail/postfix-current like security/amavisd-milter port does.
PR: ports/103802
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
- Update to 0.5.2
- Add an option for Postfix milter
- Run under unpriviledged user
PR: ports/103404, ports/103417
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
In some cases, several instances of a milter with different
configuration run simultaneously; e.g. different key with
different selector, or domain for dkim-milter.
This update enables multiple instantiation.
PR: ports/91894
Submitted by: Hirohisa Yamaguchi (maintainer)