Policyd v2
Policyd v2 (codenamed "cluebringer") is a multi-platform policy
server for popular MTAs. This policy daemon is designed mostly
for large scale mail hosting environments.
===> The following configuration options are available for policyd2-2.0.14_4:
DOCS=on: Build and/or install documentation
MYSQL=on: Add a dependency on DBD::mysql
PGSQL=off: Add a dependency on DBD::Pg
SQLITE=off: Add a dependency on DBD:SQLite
WEBUI=on: Add a dependency on the corresponding PHP pdo driver
===> Use 'make config' to modify these settings
databases/p5-DBD-mysql: Fix for MariaDB users
Add a new variable DBD_MYSQL, use that in *_DEPENDS and add mysql to USES
where required. DBD_MYSQL will automatically set the correct DBD dependency.
In cd16748194e2 databases/p5-DBD-mysql was updated to 5.x, in 5.x the
support for MariaDB was removed and only MySQL >= 8.0 is supported.
In the 4.x releases MariaDB is still supported, according to upstream 4.x
will still be supported for a while [1], so use that for now when we detect
that MYSQL_FLAVOUR is set to mariadb. databases/p5-DBD-mysql4 was added in
d95f49cb3b54.
DBD:MariaDB would be another alternative, but migrating to it might need
more analysis than just staying with the 4.x releases of p5-DBD-mysql. This
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
mail/policyd2: fix $command_interpreter warning
While here, clean up a bit. Use @sample keyword, wrap compound commands
with parentheses, customize WWWDIR, specify PORTDOCS explicitly, and
use MKDIR instead of INSTALL -d.
PR: 194678
Submitted by: reiner (skoef.nl)
mail/policyd2: Fix WebUI, add it as an option
* Add WEBUI to the standard option descriptions
* Use PHP only if WebUI option selected
* Specify proper php database driver depending on database selected
between mysql, pgsql, or sqlite
* Port revision bumped because it fixes bug depending on options selected
Due to bitrot caused by staging work, this patch had to be rewritten
from scratch. I believe the intent has been maintained.
PR: ports/184503
Submitted by: Christopher Davis
Approved by: maintainer (Chifeng)
Rewritten b: marino@
- Update to 2.0.11 [1]
- while here ...
- tighten post-patch
- move do-install from copies to copytree_share
- added BINMODE of 0755 so the instances of INSTALL_SCRIPT install with
this mode instead of installing, and changing modes afterward
- updated post-install to install with mode of 666 instead of changing post
- dropped substitution on pkg-message, as there was nothing to substitute, and
put in post-install echo msg. remove file, as well.
- update interpreter in rc script /usr/bin/perl -> %%LOCALBASE%%/bin/perl
PR: ports/166332
Submitted by: maintainer, chifeng@gmail.com [1]
Feature safe: yes
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
Use command_interpreter instead of procname in
rc script. Bump PORTREVISION because this change
alters the default package.
PR: ports/155779
Submitted by: Frank Wall <fw@moov.de>
Approved by: Chifeng QU <chifeng@gmail.com> (maintainer)
- Rename the RC script to avoid a conflict with mail/postfix-policyd-sf
- No need to repocopy as there is no history to preserve
PR: ports/129704
Submitted by: Chifeng Qu <chifeng@gmail.com>
Policyd v2
Policyd v2 (codenamed "cluebringer") is a multi-platform policy
server for popular MTAs. This policy daemon is designed mostly
for large scale mail hosting environments.
WWW: http://www.policyd.org
PR: ports/129385
Submitted by: Chifeng QU <chifeng at gmail.com>